Home
last modified time | relevance | path

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

123

/art/runtime/
Doat_quick_method_header.h44 DCHECK(IsAlignedParam(code, GetInstructionSetAlignment(kRuntimeISA)) || in FromCodePointer()
45 IsAlignedParam(header, GetInstructionSetAlignment(kRuntimeISA))) in FromCodePointer()
89 static_assert(kRuntimeISA != kThumb2, "kThumb2 cannot be a runtime ISA"); in Contains()
90 if (kRuntimeISA == kArm) { in Contains()
102 static_assert(kRuntimeISA != kThumb2, "kThumb2 cannot be a runtime ISA"); in GetEntryPoint()
103 return (kRuntimeISA == kArm) in GetEntryPoint()
Doat_file_assistant_test.cc56 odex_dir_ = odex_oat_dir_ + "/" + std::string(GetInstructionSetString(kRuntimeISA)); in SetUp()
148 return GetImageDirectory() + "/" + GetInstructionSetString(kRuntimeISA) in GetImageFile()
214 argv.push_back("--instruction-set=" + std::string(GetInstructionSetString(kRuntimeISA))); in GenerateOdexForTest()
386 OatFileAssistant ofa(dex_location, kRuntimeISA, false, false); in GenerateOatForTest()
418 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false, false); in TEST_F()
448 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false, true); in TEST_F()
471 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false, false); in TEST_F()
501 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false, false); in TEST_F()
527 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, true, false); in TEST_F()
553 OatFileAssistant oat_file_assistant(dex_location.c_str(), kRuntimeISA, false, true); in TEST_F()
[all …]
Datomic.cc31 if (NeedSwapMutexes(kRuntimeISA)) { in Startup()
40 if (NeedSwapMutexes(kRuntimeISA)) { in Shutdown()
Datomic.h60 if (!NeedSwapMutexes(kRuntimeISA)) { in Read64()
96 if (!NeedSwapMutexes(kRuntimeISA)) { in Write64()
142 if (!NeedSwapMutexes(kRuntimeISA)) { in Cas64()
Dnative_bridge_art_interface.cc104 android::PreInitializeNativeBridge(dir.c_str(), GetInstructionSetString(kRuntimeISA)); in PreInitializeNativeBridge()
Dcommon_runtime_test.h203 if (kRuntimeISA == kMips) { \
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints_test.cc111 CheckPCOffset(kRuntimeISA, Runtime::kRefsAndArgs, in TEST_F()
112 GetCalleeSaveReturnPcOffset(kRuntimeISA, Runtime::kRefsAndArgs)); in TEST_F()
113 CheckPCOffset(kRuntimeISA, Runtime::kRefsOnly, in TEST_F()
114 GetCalleeSaveReturnPcOffset(kRuntimeISA, Runtime::kRefsOnly)); in TEST_F()
115 CheckPCOffset(kRuntimeISA, Runtime::kSaveAll, in TEST_F()
116 GetCalleeSaveReturnPcOffset(kRuntimeISA, Runtime::kSaveAll)); in TEST_F()
Dquick_trampoline_entrypoints.cc48 GetCalleeSaveFrameSize(kRuntimeISA, Runtime::kRefsAndArgs);
83 return gpr_index * GetBytesPerGprSpillLocation(kRuntimeISA); in GprIndexToGprOffset()
121 return gpr_index * GetBytesPerGprSpillLocation(kRuntimeISA); in GprIndexToGprOffset()
157 return gpr_index * GetBytesPerGprSpillLocation(kRuntimeISA); in GprIndexToGprOffset()
201 return gpr_index * GetBytesPerGprSpillLocation(kRuntimeISA); in GprIndexToGprOffset()
234 return gpr_index * GetBytesPerGprSpillLocation(kRuntimeISA); in GprIndexToGprOffset()
277 case 0: return (4 * GetBytesPerGprSpillLocation(kRuntimeISA)); in GprIndexToGprOffset()
278 case 1: return (1 * GetBytesPerGprSpillLocation(kRuntimeISA)); in GprIndexToGprOffset()
279 case 2: return (0 * GetBytesPerGprSpillLocation(kRuntimeISA)); in GprIndexToGprOffset()
280 case 3: return (5 * GetBytesPerGprSpillLocation(kRuntimeISA)); in GprIndexToGprOffset()
[all …]
Dquick_instrumentation_entrypoints.cc58 size_t return_pc_offset = GetCalleeSaveReturnPcOffset(kRuntimeISA, Runtime::kRefsOnly); in artInstrumentationMethodExitFromCode()
/art/runtime/arch/
Dinstruction_set.h40 static constexpr InstructionSet kRuntimeISA = kArm; variable
42 static constexpr InstructionSet kRuntimeISA = kArm64; variable
44 static constexpr InstructionSet kRuntimeISA = kMips; variable
46 static constexpr InstructionSet kRuntimeISA = kMips64; variable
48 static constexpr InstructionSet kRuntimeISA = kX86; variable
50 static constexpr InstructionSet kRuntimeISA = kX86_64; variable
52 static constexpr InstructionSet kRuntimeISA = kNone; variable
Dinstruction_set_features_test.cc41 std::string key = StringPrintf("dalvik.vm.isa.%s.variant", GetInstructionSetString(kRuntimeISA));
48 InstructionSetFeatures::FromVariant(kRuntimeISA, dex2oat_isa_variant, &error_msg));
69 GetInstructionSetString(kRuntimeISA));
74 GetInstructionSetString(kRuntimeISA));
81 InstructionSetFeatures::FromVariant(kRuntimeISA, dex2oat_isa_variant, &error_msg));
118 InstructionSetFeatures::FromVariant(kRuntimeISA, "default", &error_msg));
Dinstruction_set_test.cc48 EXPECT_EQ(kRuntimeISA, GetInstructionSetFromString(GetInstructionSetString(kRuntimeISA))); in TEST()
52 EXPECT_EQ(sizeof(void*), GetInstructionSetPointerSize(kRuntimeISA)); in TEST()
Dinstruction_set_features.cc97 switch (kRuntimeISA) { in FromCppDefines()
118 UNIMPLEMENTED(FATAL) << kRuntimeISA; in FromCppDefines()
127 switch (kRuntimeISA) { in FromCpuInfo()
148 UNIMPLEMENTED(FATAL) << kRuntimeISA; in FromCpuInfo()
156 switch (kRuntimeISA) { in FromHwcap()
177 UNIMPLEMENTED(FATAL) << kRuntimeISA; in FromHwcap()
185 switch (kRuntimeISA) { in FromAssembly()
206 UNIMPLEMENTED(FATAL) << kRuntimeISA; in FromAssembly()
Dstub_test.cc42 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()
856 LOG(INFO) << "Skipping check_cast as I don't know how to do that on " << kRuntimeISA; in TEST_F()
858 std::cout << "Skipping check_cast as I don't know how to do that on " << kRuntimeISA << std::endl; in TEST_F()
989 LOG(INFO) << "Skipping aput_obj as I don't know how to do that on " << kRuntimeISA; in TEST_F()
[all …]
/art/runtime/native/
Djava_util_concurrent_atomic_AtomicLong.cc26 return QuasiAtomic::LongAtomicsUseMutexes(kRuntimeISA) ? JNI_FALSE : JNI_TRUE; in AtomicLong_VMSupportsCS8()
/art/oatdump/
Doatdump_test.cc41 core_oat_location_ = GetSystemImageFilename(GetCoreOatLocation().c_str(), kRuntimeISA); in SetUp()
72 exec_argv.push_back("--instruction-set=" + std::string(GetInstructionSetString(kRuntimeISA))); in Exec()
/art/runtime/simulator/
Dcode_simulator_arm64.h49 static constexpr bool kCanSimulate = (kRuntimeISA == kX86_64);
/art/compiler/
Dexception_test.cc84 const size_t alignment = GetInstructionSetAlignment(kRuntimeISA); in SetUp()
98 if (kRuntimeISA == kArm) { in SetUp()
170 r->SetInstructionSet(kRuntimeISA); in TEST_F()
Delf_writer_test.cc55 std::string elf_filename = GetSystemImageFilename(elf_location.c_str(), kRuntimeISA); in TEST_F()
/art/compiler/jit/
Djit_compiler.cc73 kRuntimeISA, jit_compiler->GetCompilerDriver()->GetInstructionSetFeatures(), types_array); in jit_types_loaded()
117 const InstructionSet instruction_set = kRuntimeISA; in JitCompiler()
/art/cmdline/
Dcmdline.h206 GetInstructionSetString(kRuntimeISA)); in GetUsage()
218 InstructionSet instruction_set_ = kRuntimeISA;
/art/imgdiag/
Dimgdiag_test.cc77 if (OS::FileExists(root32.c_str()) && !Is64BitInstructionSet(kRuntimeISA)) { in GetImgDiagFilePath()
/art/compiler/optimizing/
Doptimizing_unit_test.h80 kRuntimeISA); in CreateGraph()
/art/runtime/entrypoints/
Dentrypoint_utils.cc264 const size_t callee_frame_size = GetCalleeSaveFrameSize(kRuntimeISA, type); in GetCalleeSaveMethodCaller()
267 const size_t callee_return_pc_offset = GetCalleeSaveReturnPcOffset(kRuntimeISA, type); in GetCalleeSaveMethodCaller()
/art/runtime/jit/
Djit_code_cache.cc240 size_t alignment = GetInstructionSetAlignment(kRuntimeISA); in FromCodeToAllocation()
316 size_t alignment = GetInstructionSetAlignment(kRuntimeISA); in CommitCodeInternal()
780 static_assert(kRuntimeISA != kThumb2, "kThumb2 cannot be a runtime ISA"); in LookupMethodHeader()
781 if (kRuntimeISA == kArm) { in LookupMethodHeader()
996 size_t alignment = GetInstructionSetAlignment(kRuntimeISA); in AllocateCode()

123