Home
last modified time | relevance | path

Searched refs:kRuntimeISA (Results 1 – 25 of 84) sorted by relevance

1234

/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints_test.cc75 kRuntimeISA, in TEST_F()
79 kRuntimeISA, in TEST_F()
83 kRuntimeISA, in TEST_F()
87 kRuntimeISA, in TEST_F()
91 kRuntimeISA, in TEST_F()
95 kRuntimeISA, in TEST_F()
/art/runtime/
Doat_quick_method_header.h48 DCHECK(IsAlignedParam(code, GetInstructionSetAlignment(kRuntimeISA)) || in FromCodePointer()
49 IsAlignedParam(header, GetInstructionSetAlignment(kRuntimeISA))) in FromCodePointer()
59 return RoundUp(sizeof(OatQuickMethodHeader), GetInstructionSetAlignment(kRuntimeISA)); in InstructionAlignedSize()
119 static_assert(kRuntimeISA != InstructionSet::kThumb2, "kThumb2 cannot be a runtime ISA"); in Contains()
120 if (kRuntimeISA == InstructionSet::kArm) { in Contains()
132 static_assert(kRuntimeISA != InstructionSet::kThumb2, "kThumb2 cannot be a runtime ISA"); in GetEntryPoint()
133 return (kRuntimeISA == InstructionSet::kArm) in GetEntryPoint()
Doat_file_assistant_test.cc53 file, kRuntimeISA, &compilation_filter, &compilation_reason); in VerifyOptimizationStatus()
158 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, true); in TEST_F()
175 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F()
180 ASSERT_TRUE(context->OpenDexFiles(kRuntimeISA, "")); in TEST_F()
202 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F()
207 ASSERT_TRUE(context->OpenDexFiles(kRuntimeISA, "")); in TEST_F()
231 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F()
255 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, true); in TEST_F()
276 dex_location.c_str(), kRuntimeISA, /*load_executable=*/ false); in TEST_F()
308 dex_location.c_str(), kRuntimeISA, /*load_executable=*/ false); in TEST_F()
[all …]
Doat_file_test.cc42 dex_location, kRuntimeISA, &oat_location, &error_msg)) << error_msg; in TEST_F()
65 dex_location, kRuntimeISA, &oat_location, &error_msg)) << error_msg; in TEST_F()
Doat_quick_method_header.cc82 stack_map.GetNativePcOffset(kRuntimeISA); in ToNativeQuickPc()
97 uintptr_t nterp_code_pointer = (kRuntimeISA == InstructionSet::kArm) in GetNterpMethodHeader()
Dcommon_runtime_test.h266 if (kRuntimeISA == InstructionSet::kArm || kRuntimeISA == InstructionSet::kThumb2) { \
272 if (kRuntimeISA == InstructionSet::kArm64) { \
278 if (kRuntimeISA == InstructionSet::kX86) { \
284 if (kRuntimeISA == InstructionSet::kX86_64) { \
Ddexopt_test.cc76 std::string image_dir = scratch_dir + GetInstructionSetString(kRuntimeISA); in GenerateAlternateImage()
158 kRuntimeISA, in GenerateOatForTest()
184 dex_location, kRuntimeISA, &oat_location, &error_msg)) << error_msg; in GenerateOatForTest()
/art/runtime/arch/
Dinstruction_set_features.cc83 switch (kRuntimeISA) { in FromCppDefines()
97 UNIMPLEMENTED(FATAL) << kRuntimeISA; in FromCppDefines()
102 switch (kRuntimeISA) { in FromRuntimeDetection()
113 switch (kRuntimeISA) { in FromCpuInfo()
127 UNIMPLEMENTED(FATAL) << kRuntimeISA; in FromCpuInfo()
132 switch (kRuntimeISA) { in FromHwcap()
146 UNIMPLEMENTED(FATAL) << kRuntimeISA; in FromHwcap()
151 switch (kRuntimeISA) { in FromAssembly()
165 UNIMPLEMENTED(FATAL) << kRuntimeISA; in FromAssembly()
253 UNIMPLEMENTED(FATAL) << kRuntimeISA; in AddRuntimeDetectedFeatures()
Dinstruction_set_features_test.cc54 std::string key = StringPrintf("dalvik.vm.isa.%s.variant", GetInstructionSetString(kRuntimeISA));
61 InstructionSetFeatures::FromVariant(kRuntimeISA, dex2oat_isa_variant, &error_msg));
88 GetInstructionSetString(kRuntimeISA));
93 GetInstructionSetString(kRuntimeISA));
100 InstructionSetFeatures::FromVariant(kRuntimeISA, dex2oat_isa_variant, &error_msg));
137 InstructionSetFeatures::FromVariant(kRuntimeISA, "default", &error_msg));
Dstub_test.cc48 runtime_->SetInstructionSet(kRuntimeISA); in SetUp()
447 LOG(INFO) << "Skipping memcpy as I don't know how to do that on " << kRuntimeISA; in TEST_F()
449 std::cout << "Skipping memcpy as I don't know how to do that on " << kRuntimeISA << std::endl; in TEST_F()
506 LOG(INFO) << "Skipping lock_object as I don't know how to do that on " << kRuntimeISA; in TEST_F()
508 …std::cout << "Skipping lock_object as I don't know how to do that on " << kRuntimeISA << std::endl; in TEST_F()
666 LOG(INFO) << "Skipping unlock_object as I don't know how to do that on " << kRuntimeISA; in TestUnlockObject()
668 …std::cout << "Skipping unlock_object as I don't know how to do that on " << kRuntimeISA << std::en… in TestUnlockObject()
777 LOG(INFO) << "Skipping check_cast as I don't know how to do that on " << kRuntimeISA; in TEST_F()
779 std::cout << "Skipping check_cast as I don't know how to do that on " << kRuntimeISA << std::endl; in TEST_F()
894 LOG(INFO) << "Skipping alloc_object as I don't know how to do that on " << kRuntimeISA; in TEST_F()
[all …]
/art/libartbase/arch/
Dinstruction_set_test.cc55 EXPECT_EQ(kRuntimeISA, GetInstructionSetFromString(GetInstructionSetString(kRuntimeISA))); in TEST()
59 EXPECT_EQ(kRuntimePointerSize, GetInstructionSetPointerSize(kRuntimeISA)); in TEST()
Dinstruction_set.h40 static constexpr InstructionSet kRuntimeISA = InstructionSet::kArm; variable
42 static constexpr InstructionSet kRuntimeISA = InstructionSet::kArm64; variable
44 static constexpr InstructionSet kRuntimeISA = InstructionSet::kX86; variable
46 static constexpr InstructionSet kRuntimeISA = InstructionSet::kX86_64; variable
48 static constexpr InstructionSet kRuntimeISA = InstructionSet::kNone; variable
/art/runtime/base/
Dquasi_atomic.h61 if (!NeedSwapMutexes(kRuntimeISA)) { in Read64()
97 if (!NeedSwapMutexes(kRuntimeISA)) { in Write64()
143 if (!NeedSwapMutexes(kRuntimeISA)) { in Cas64()
Dquasi_atomic.cc32 if (NeedSwapMutexes(kRuntimeISA)) { in Startup()
41 if (NeedSwapMutexes(kRuntimeISA)) { in Shutdown()
/art/compiler/optimizing/
Dstack_map_test.cc48 constexpr static uint32_t kPcAlign = GetInstructionSetInstructionAlignment(kRuntimeISA);
54 StackMapStream stream(&allocator, kRuntimeISA); in TEST()
77 ASSERT_EQ(64u * kPcAlign, stack_map.GetNativePcOffset(kRuntimeISA)); in TEST()
108 StackMapStream stream(&allocator, kRuntimeISA); in TEST()
165 ASSERT_EQ(64u * kPcAlign, stack_map.GetNativePcOffset(kRuntimeISA)); in TEST()
204 ASSERT_EQ(128u * kPcAlign, stack_map.GetNativePcOffset(kRuntimeISA)); in TEST()
237 ASSERT_EQ(192u * kPcAlign, stack_map.GetNativePcOffset(kRuntimeISA)); in TEST()
270 ASSERT_EQ(256u * kPcAlign, stack_map.GetNativePcOffset(kRuntimeISA)); in TEST()
302 StackMapStream stream(&allocator, kRuntimeISA); in TEST()
335 ASSERT_EQ(64u * kPcAlign, stack_map.GetNativePcOffset(kRuntimeISA)); in TEST()
[all …]
/art/runtime/entrypoints/jni/
Djni_entrypoints.cc137 switch (kRuntimeISA) { in artCriticalNativeFrameSize()
148 UNIMPLEMENTED(FATAL) << kRuntimeISA; in artCriticalNativeFrameSize()
173 switch (kRuntimeISA) { in artCriticalNativeFrameSize()
184 UNIMPLEMENTED(FATAL) << kRuntimeISA; in artCriticalNativeFrameSize()
/art/runtime/native/
Djava_util_concurrent_atomic_AtomicLong.cc30 return QuasiAtomic::LongAtomicsUseMutexes(kRuntimeISA) ? JNI_FALSE : JNI_TRUE; in AtomicLong_VMSupportsCS8()
/art/compiler/
Dexception_test.cc74 CHECK_ALIGNED_PARAM(native_pc_offset, GetInstructionSetInstructionAlignment(kRuntimeISA)); in SetUp()
79 StackMapStream stack_maps(&allocator, kRuntimeISA); in SetUp()
88 const size_t code_alignment = GetInstructionSetAlignment(kRuntimeISA); in SetUp()
101 if (kRuntimeISA == InstructionSet::kArm) { in SetUp()
174 r->SetInstructionSet(kRuntimeISA); in TEST_F()
Dcommon_compiler_test.h90 (kRuntimeISA == InstructionSet::kArm) ? InstructionSet::kThumb2 : kRuntimeISA;
/art/oatdump/
Doatdump_test.h46 core_oat_location_ = GetSystemImageFilename(GetCoreOatLocation().c_str(), kRuntimeISA); in SetUp()
83 path += Is64BitInstructionSet(kRuntimeISA) ? "64" : "32"; in GetExecutableFilePath()
145 "--instruction-set=" + std::string(GetInstructionSetString(kRuntimeISA)), in GenerateAppOdexFile()
204 GetInstructionSetString(kRuntimeISA)));
216 GetInstructionSetString(kRuntimeISA)));
226 GetInstructionSetString(kRuntimeISA)));
/art/dexlayout/
Ddexdiag_test.cc45 if (OS::FileExists(path32.c_str()) && !Is64BitInstructionSet(kRuntimeISA)) { in GetDexDiagFilePath()
62 std::string oat_location = GetSystemImageFilename(default_location.c_str(), kRuntimeISA); in OpenOatAndVdexFiles()
/art/runtime/arch/x86_64/
Dinstruction_set_features_x86_64_test.cc24 const bool is_runtime_isa = kRuntimeISA == InstructionSet::kX86_64; in TEST()
/art/simulator/
Dcode_simulator_arm64.h52 static constexpr bool kCanSimulate = (kRuntimeISA == InstructionSet::kX86_64);
/art/compiler/driver/
Dcompiler_options.cc47 instruction_set_(kRuntimeISA == InstructionSet::kArm ? InstructionSet::kThumb2 : kRuntimeISA), in CompilerOptions()
/art/dex2oat/linker/
Delf_writer_test.cc58 std::string elf_filename = GetSystemImageFilename(elf_location.c_str(), kRuntimeISA); in TEST_F()
125 std::string elf_filename = GetSystemImageFilename(elf_location.c_str(), kRuntimeISA); in TEST_F()

1234