/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints_test.cc | 137 CheckPCOffset(kRuntimeISA, CalleeSaveType::kSaveRefsAndArgs, in TEST_F() 138 GetCalleeSaveReturnPcOffset(kRuntimeISA, CalleeSaveType::kSaveRefsAndArgs)); in TEST_F() 139 CheckPCOffset(kRuntimeISA, CalleeSaveType::kSaveRefsOnly, in TEST_F() 140 GetCalleeSaveReturnPcOffset(kRuntimeISA, CalleeSaveType::kSaveRefsOnly)); in TEST_F() 141 CheckPCOffset(kRuntimeISA, CalleeSaveType::kSaveAllCalleeSaves, in TEST_F() 142 GetCalleeSaveReturnPcOffset(kRuntimeISA, CalleeSaveType::kSaveAllCalleeSaves)); in TEST_F() 143 CheckPCOffset(kRuntimeISA, CalleeSaveType::kSaveEverything, in TEST_F() 144 GetCalleeSaveReturnPcOffset(kRuntimeISA, CalleeSaveType::kSaveEverything)); in TEST_F() 145 CheckPCOffset(kRuntimeISA, CalleeSaveType::kSaveEverythingForClinit, in TEST_F() 146 GetCalleeSaveReturnPcOffset(kRuntimeISA, CalleeSaveType::kSaveEverythingForClinit)); in TEST_F() [all …]
|
D | quick_trampoline_entrypoints.cc | 62 GetCalleeSaveFrameSize(kRuntimeISA, CalleeSaveType::kSaveRefsAndArgs); 97 return gpr_index * GetBytesPerGprSpillLocation(kRuntimeISA); in GprIndexToGprOffset() 138 return gpr_index * GetBytesPerGprSpillLocation(kRuntimeISA); in GprIndexToGprOffset() 184 return gpr_index * GetBytesPerGprSpillLocation(kRuntimeISA); in GprIndexToGprOffset() 228 return gpr_index * GetBytesPerGprSpillLocation(kRuntimeISA); in GprIndexToGprOffset() 261 return gpr_index * GetBytesPerGprSpillLocation(kRuntimeISA); in GprIndexToGprOffset() 304 case 0: return (4 * GetBytesPerGprSpillLocation(kRuntimeISA)); in GprIndexToGprOffset() 305 case 1: return (1 * GetBytesPerGprSpillLocation(kRuntimeISA)); in GprIndexToGprOffset() 306 case 2: return (0 * GetBytesPerGprSpillLocation(kRuntimeISA)); in GprIndexToGprOffset() 307 case 3: return (5 * GetBytesPerGprSpillLocation(kRuntimeISA)); in GprIndexToGprOffset() [all …]
|
/art/runtime/arch/ |
D | instruction_set_features_test.cc | 44 std::string key = StringPrintf("dalvik.vm.isa.%s.variant", GetInstructionSetString(kRuntimeISA)); 51 InstructionSetFeatures::FromVariant(kRuntimeISA, dex2oat_isa_variant, &error_msg)); 72 GetInstructionSetString(kRuntimeISA)); 77 GetInstructionSetString(kRuntimeISA)); 84 InstructionSetFeatures::FromVariant(kRuntimeISA, dex2oat_isa_variant, &error_msg)); 121 InstructionSetFeatures::FromVariant(kRuntimeISA, "default", &error_msg));
|
D | instruction_set_features.cc | 91 switch (kRuntimeISA) { in FromCppDefines() 109 UNIMPLEMENTED(FATAL) << kRuntimeISA; in FromCppDefines() 115 switch (kRuntimeISA) { in FromCpuInfo() 133 UNIMPLEMENTED(FATAL) << kRuntimeISA; in FromCpuInfo() 138 switch (kRuntimeISA) { in FromHwcap() 156 UNIMPLEMENTED(FATAL) << kRuntimeISA; in FromHwcap() 161 switch (kRuntimeISA) { in FromAssembly() 179 UNIMPLEMENTED(FATAL) << kRuntimeISA; in FromAssembly()
|
D | instruction_set.h | 42 static constexpr InstructionSet kRuntimeISA = InstructionSet::kArm; variable 44 static constexpr InstructionSet kRuntimeISA = InstructionSet::kArm64; variable 46 static constexpr InstructionSet kRuntimeISA = InstructionSet::kMips; variable 48 static constexpr InstructionSet kRuntimeISA = InstructionSet::kMips64; variable 50 static constexpr InstructionSet kRuntimeISA = InstructionSet::kX86; variable 52 static constexpr InstructionSet kRuntimeISA = InstructionSet::kX86_64; variable 54 static constexpr InstructionSet kRuntimeISA = InstructionSet::kNone; variable
|
D | instruction_set_test.cc | 63 EXPECT_EQ(kRuntimeISA, GetInstructionSetFromString(GetInstructionSetString(kRuntimeISA))); in TEST() 67 EXPECT_EQ(kRuntimePointerSize, GetInstructionSetPointerSize(kRuntimeISA)); in TEST()
|
D | stub_test.cc | 46 runtime_->SetInstructionSet(kRuntimeISA); in SetUp() 576 LOG(INFO) << "Skipping memcpy as I don't know how to do that on " << kRuntimeISA; in TEST_F() 578 std::cout << "Skipping memcpy as I don't know how to do that on " << kRuntimeISA << std::endl; in TEST_F() 635 LOG(INFO) << "Skipping lock_object as I don't know how to do that on " << kRuntimeISA; in TEST_F() 637 …std::cout << "Skipping lock_object as I don't know how to do that on " << kRuntimeISA << std::endl; in TEST_F() 795 LOG(INFO) << "Skipping unlock_object as I don't know how to do that on " << kRuntimeISA; in TestUnlockObject() 797 …std::cout << "Skipping unlock_object as I don't know how to do that on " << kRuntimeISA << std::en… in TestUnlockObject() 906 LOG(INFO) << "Skipping check_cast as I don't know how to do that on " << kRuntimeISA; in TEST_F() 908 std::cout << "Skipping check_cast as I don't know how to do that on " << kRuntimeISA << std::endl; in TEST_F() 1023 LOG(INFO) << "Skipping alloc_object as I don't know how to do that on " << kRuntimeISA; in TEST_F() [all …]
|
D | code_offset.h | 34 ALWAYS_INLINE static CodeOffset FromOffset(uint32_t offset, InstructionSet isa = kRuntimeISA) { 42 ALWAYS_INLINE uint32_t Uint32Value(InstructionSet isa = kRuntimeISA) const {
|
/art/runtime/ |
D | oat_quick_method_header.h | 47 DCHECK(IsAlignedParam(code, GetInstructionSetAlignment(kRuntimeISA)) || in FromCodePointer() 48 IsAlignedParam(header, GetInstructionSetAlignment(kRuntimeISA))) in FromCodePointer() 139 static_assert(kRuntimeISA != InstructionSet::kThumb2, "kThumb2 cannot be a runtime ISA"); in Contains() 140 if (kRuntimeISA == InstructionSet::kArm) { in Contains() 152 static_assert(kRuntimeISA != InstructionSet::kThumb2, "kThumb2 cannot be a runtime ISA"); in GetEntryPoint() 153 return (kRuntimeISA == InstructionSet::kArm) in GetEntryPoint()
|
D | oat_file_assistant_test.cc | 57 file, kRuntimeISA, &compilation_filter, &compilation_reason); in VerifyOptimizationStatus() 118 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F() 142 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, true); in TEST_F() 167 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F() 202 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F() 236 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false); in TEST_F() 276 kRuntimeISA, in TEST_F() 316 kRuntimeISA, in TEST_F() 351 kRuntimeISA, in TEST_F() 375 kRuntimeISA, in TEST_F() [all …]
|
D | dexopt_test.cc | 55 std::string dalvik_cache = GetDalvikCache(GetInstructionSetString(kRuntimeISA)); in GenerateOatForTest() 123 kRuntimeISA, in GenerateOatForTest() 184 dex_location, kRuntimeISA, &oat_location, &error_msg)) << error_msg; in GenerateOatForTest() 206 GetDalvikCache(GetInstructionSetString(kRuntimeISA), in PreRelocateImage() 224 argv.push_back("--instruction-set=" + std::string(GetInstructionSetString(kRuntimeISA))); in PreRelocateImage()
|
D | oat_file_test.cc | 76 dex_location, kRuntimeISA, &oat_location, &error_msg)) << error_msg; in TEST_F() 101 dex_location, kRuntimeISA, &oat_location, &error_msg)) << error_msg; in TEST_F()
|
D | dex2oat_environment_test.h | 66 odex_dir_ = odex_oat_dir_ + "/" + std::string(GetInstructionSetString(kRuntimeISA)); in SetUp() 159 return GetImageDirectory() + "/" + GetInstructionSetString(kRuntimeISA) in GetSystemImageFile()
|
D | oat_quick_method_header.cc | 85 stack_map.GetNativePcOffset(encoding.stack_map.encoding, kRuntimeISA); in ToNativeQuickPc()
|
/art/runtime/base/ |
D | quasi_atomic.h | 61 if (!NeedSwapMutexes(kRuntimeISA)) { in Read64() 97 if (!NeedSwapMutexes(kRuntimeISA)) { in Write64() 143 if (!NeedSwapMutexes(kRuntimeISA)) { in Cas64()
|
D | quasi_atomic.cc | 32 if (NeedSwapMutexes(kRuntimeISA)) { in Startup() 41 if (NeedSwapMutexes(kRuntimeISA)) { in Shutdown()
|
/art/runtime/native/ |
D | java_util_concurrent_atomic_AtomicLong.cc | 30 return QuasiAtomic::LongAtomicsUseMutexes(kRuntimeISA) ? JNI_FALSE : JNI_TRUE; in AtomicLong_VMSupportsCS8()
|
/art/compiler/optimizing/ |
D | stack_map_test.cc | 52 StackMapStream stream(&allocator, kRuntimeISA); in TEST() 83 ASSERT_EQ(64u, stack_map.GetNativePcOffset(encoding.stack_map.encoding, kRuntimeISA)); in TEST() 134 StackMapStream stream(&allocator, kRuntimeISA); in TEST() 199 ASSERT_EQ(64u, stack_map.GetNativePcOffset(encoding.stack_map.encoding, kRuntimeISA)); in TEST() 258 ASSERT_EQ(128u, stack_map.GetNativePcOffset(encoding.stack_map.encoding, kRuntimeISA)); in TEST() 312 ASSERT_EQ(192u, stack_map.GetNativePcOffset(encoding.stack_map.encoding, kRuntimeISA)); in TEST() 366 ASSERT_EQ(256u, stack_map.GetNativePcOffset(encoding.stack_map.encoding, kRuntimeISA)); in TEST() 419 StackMapStream stream(&allocator, kRuntimeISA); in TEST() 460 ASSERT_EQ(64u, stack_map.GetNativePcOffset(encoding.stack_map.encoding, kRuntimeISA)); in TEST() 514 StackMapStream stream(&allocator, kRuntimeISA); in TEST() [all …]
|
/art/dexlayout/ |
D | dexdiag_test.cc | 50 if (OS::FileExists(root32.c_str()) && !Is64BitInstructionSet(kRuntimeISA)) { in GetDexDiagFilePath() 67 std::string oat_location = GetSystemImageFilename(default_location.c_str(), kRuntimeISA); in OpenOatAndVdexFiles()
|
/art/compiler/ |
D | exception_test.cc | 73 StackMapStream stack_maps(&allocator, kRuntimeISA); in SetUp() 94 const size_t alignment = GetInstructionSetAlignment(kRuntimeISA); in SetUp() 108 if (kRuntimeISA == InstructionSet::kArm) { in SetUp() 181 r->SetInstructionSet(kRuntimeISA); in TEST_F()
|
/art/oatdump/ |
D | oatdump_test.h | 46 core_oat_location_ = GetSystemImageFilename(GetCoreOatLocation().c_str(), kRuntimeISA); in SetUp() 127 "--instruction-set=" + std::string(GetInstructionSetString(kRuntimeISA)), in GenerateAppOdexFile() 171 GetInstructionSetString(kRuntimeISA))); in Exec() 178 GetInstructionSetString(kRuntimeISA))); in Exec()
|
/art/simulator/ |
D | code_simulator_arm64.h | 52 static constexpr bool kCanSimulate = (kRuntimeISA == InstructionSet::kX86_64);
|
/art/dex2oat/linker/ |
D | elf_writer_test.cc | 55 std::string elf_filename = GetSystemImageFilename(elf_location.c_str(), kRuntimeISA); in TEST_F() 111 std::string elf_filename = GetSystemImageFilename(elf_location.c_str(), kRuntimeISA); in TEST_F()
|
/art/compiler/jit/ |
D | jit_compiler.cc | 78 kRuntimeISA, jit_compiler->GetCompilerDriver()->GetInstructionSetFeatures(), types_array); in jit_types_loaded() 106 const InstructionSet instruction_set = kRuntimeISA; in JitCompiler()
|
/art/cmdline/ |
D | cmdline.h | 211 GetInstructionSetString(kRuntimeISA)); in GetUsage() 237 LOG(WARNING) << "No instruction set given, assuming " << GetInstructionSetString(kRuntimeISA); in ParseCheckBootImage() 238 instruction_set_ = kRuntimeISA; in ParseCheckBootImage()
|