Home
last modified time | relevance | path

Searched refs:isa (Results 1 – 25 of 59) sorted by relevance

123

/art/compiler/jni/
Djni_cfi_test.cc43 void TestImpl(InstructionSet isa, in TestImpl() argument
47 if (Is64BitInstructionSet(isa)) { in TestImpl()
48 TestImplSized<PointerSize::k64>(isa, isa_str, expected_asm, expected_cfi); in TestImpl()
50 TestImplSized<PointerSize::k32>(isa, isa_str, expected_asm, expected_cfi); in TestImpl()
56 void TestImplSized(InstructionSet isa, in TestImplSized() argument
74 isa)); in TestImplSized()
77 &allocator, is_static, is_synchronized, shorty, isa)); in TestImplSized()
83 JNIMacroAssembler<kPointerSize>::Create(&allocator, isa)); in TestImplSized()
99 isa, in TestImplSized()
110 #define TEST_ISA(isa) \ argument
[all …]
/art/libartbase/arch/
Dinstruction_set.h73 const char* GetInstructionSetString(InstructionSet isa);
79 NO_RETURN void InstructionSetAbort(InstructionSet isa);
81 constexpr PointerSize GetInstructionSetPointerSize(InstructionSet isa) { in GetInstructionSetPointerSize() argument
82 switch (isa) { in GetInstructionSetPointerSize()
97 InstructionSetAbort(isa); in GetInstructionSetPointerSize()
100 constexpr size_t GetInstructionSetInstructionAlignment(InstructionSet isa) { in GetInstructionSetInstructionAlignment() argument
101 switch (isa) { in GetInstructionSetInstructionAlignment()
116 InstructionSetAbort(isa); in GetInstructionSetInstructionAlignment()
119 constexpr bool IsValidInstructionSet(InstructionSet isa) { in IsValidInstructionSet() argument
120 switch (isa) { in IsValidInstructionSet()
[all …]
Dinstruction_set.cc25 void InstructionSetAbort(InstructionSet isa) { in InstructionSetAbort() argument
26 switch (isa) { in InstructionSetAbort()
33 LOG(FATAL) << "Unsupported instruction set " << isa; in InstructionSetAbort()
36 LOG(FATAL) << "Unknown ISA " << isa; in InstructionSetAbort()
40 const char* GetInstructionSetString(InstructionSet isa) { in GetInstructionSetString() argument
41 switch (isa) { in GetInstructionSetString()
54 LOG(FATAL) << "Unknown ISA " << isa; in GetInstructionSetString()
74 size_t GetInstructionSetAlignment(InstructionSet isa) { in GetInstructionSetAlignment() argument
75 switch (isa) { in GetInstructionSetAlignment()
90 LOG(FATAL) << "Unknown ISA " << isa; in GetInstructionSetAlignment()
/art/compiler/optimizing/
Doptimizing_cfi_test.cc50 void SetUpFrame(InstructionSet isa) { in SetUpFrame() argument
51 OverrideInstructionSetFeatures(isa, "default"); in SetUpFrame()
94 void Check(InstructionSet isa, in Check() argument
104 GenerateExpected(stdout, isa, isa_str, actual_asm, actual_cfi); in Check()
111 void TestImpl(InstructionSet isa, const char* in TestImpl() argument
115 SetUpFrame(isa); in TestImpl()
117 Check(isa, isa_str, expected_asm, expected_cfi); in TestImpl()
148 #define TEST_ISA(isa) \ argument
149 TEST_F(OptimizingCFITest, isa) { \
151 expected_asm_##isa, \
[all …]
Dinstruction_simplifier_shared.h41 inline bool HasShifterOperand(HInstruction* instr, InstructionSet isa) { in HasShifterOperand() argument
45 (isa == InstructionSet::kArm64 && instr->IsNeg()) || in HasShifterOperand()
52 bool TryCombineMultiplyAccumulate(HMul* mul, InstructionSet isa);
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints_test.cc42 static ArtMethod* CreateCalleeSaveMethod(InstructionSet isa, CalleeSaveType type) in CreateCalleeSaveMethod() argument
50 r->SetInstructionSet(isa); in CreateCalleeSaveMethod()
57 static void CheckPCOffset(InstructionSet isa, CalleeSaveType type, size_t pc_offset) in CheckPCOffset() argument
59 ArtMethod* save_method = CreateCalleeSaveMethod(isa, type); in CheckPCOffset()
64 << " fp spills=" << frame_info.FpSpillMask() << std::dec << " ISA " << isa; in CheckPCOffset()
/art/compiler/debug/
Delf_debug_loc_writer.h34 static Reg GetDwarfCoreReg(InstructionSet isa, int machine_reg) { in GetDwarfCoreReg() argument
35 switch (isa) { in GetDwarfCoreReg()
51 static Reg GetDwarfFpReg(InstructionSet isa, int machine_reg) { in GetDwarfFpReg() argument
52 switch (isa) { in GetDwarfFpReg()
88 InstructionSet isa) { in GetVariableLocations() argument
106 const uint32_t pc_offset = stack_map.GetNativePcOffset(isa); in GetVariableLocations()
174 InstructionSet isa, in WriteDebugLocEntry() argument
191 isa); in WriteDebugLocEntry()
196 const bool is64bit = Is64BitInstructionSet(isa); in WriteDebugLocEntry()
217 expr.WriteOpReg(GetDwarfCoreReg(isa, value).num()); in WriteDebugLocEntry()
[all …]
Delf_debug_writer.cc115 InstructionSet isa, in MakeMiniDebugInfoInternal() argument
125 std::unique_ptr<ElfBuilder<ElfTypes>> builder(new ElfBuilder<ElfTypes>(isa, &out)); in MakeMiniDebugInfoInternal()
149 InstructionSet isa, in MakeMiniDebugInfo() argument
156 if (Is64BitInstructionSet(isa)) { in MakeMiniDebugInfo()
157 return MakeMiniDebugInfoInternal<ElfTypes64>(isa, in MakeMiniDebugInfo()
165 return MakeMiniDebugInfoInternal<ElfTypes32>(isa, in MakeMiniDebugInfo()
176 InstructionSet isa, in MakeElfFileForJIT() argument
181 CHECK_EQ(sizeof(ElfTypes::Addr), static_cast<size_t>(GetInstructionSetPointerSize(isa))); in MakeElfFileForJIT()
188 std::unique_ptr<ElfBuilder<ElfTypes>> builder(new ElfBuilder<ElfTypes>(isa, &out)); in MakeElfFileForJIT()
211 DCHECK_EQ(sym.st_value, method_info.code_address + CompiledMethod::CodeDelta(isa)); in MakeElfFileForJIT()
[all …]
Delf_debug_writer.h45 InstructionSet isa,
54 InstructionSet isa,
66 InstructionSet isa,
Delf_debug_line_writer.h52 const InstructionSet isa = builder_->GetIsa(); in WriteCompilationUnit() local
53 const bool is64bit = Is64BitInstructionSet(isa); in WriteCompilationUnit()
66 switch (isa) { in WriteCompilationUnit()
98 const uint32_t pc = stack_map.GetNativePcOffset(isa); in WriteCompilationUnit()
Delf_debug_frame_writer.h38 static void WriteCIE(InstructionSet isa, /*inout*/ std::vector<uint8_t>* buffer) { in WriteCIE() argument
42 bool is64bit = Is64BitInstructionSet(isa); in WriteCIE()
43 switch (isa) { in WriteCIE()
146 LOG(FATAL) << "Cannot write CIE frame for ISA " << isa; in WriteCIE()
Dmethod_debug_info.h36 InstructionSet isa; member
/art/runtime/
Dprebuilt_tools_test.cc54 for (InstructionSet isa : isas) { in TEST_F() local
55 std::string tools_dir = GetAndroidTargetToolsDir(isa); in TEST_F()
57 ADD_FAILURE() << "Cannot find Android tools directory for " << isa; in TEST_F()
Doat_file_assistant.h109 const InstructionSet isa,
117 const InstructionSet isa,
178 InstructionSet isa,
233 InstructionSet isa,
244 InstructionSet isa,
254 InstructionSet isa,
Doat_file_assistant.cc78 const InstructionSet isa, in OatFileAssistant() argument
82 isa, in OatFileAssistant()
91 const InstructionSet isa, in OatFileAssistant() argument
97 : isa_(isa), in OatFileAssistant()
114 if (load_executable_ && isa != kRuntimeISA) { in OatFileAssistant()
441 InstructionSet isa, in AnonymousDexVdexLocation() argument
462 if (!DexLocationToOdexFilename(*dex_location, isa, &odex_filename, &error_msg)) { in AnonymousDexVdexLocation()
489 InstructionSet isa, in DexLocationToOdexNames() argument
516 dir += "/" + std::string(GetInstructionSetString(isa)); in DexLocationToOdexNames()
535 InstructionSet isa, in DexLocationToOdexFilename() argument
[all …]
Dparsed_options_test.cc162 InstructionSet isa = map.GetOrDefault(Opt::ImageInstructionSet); in TEST_F() local
163 EXPECT_EQ(kRuntimeISA, isa); in TEST_F()
179 InstructionSet isa = map.GetOrDefault(Opt::ImageInstructionSet); in TEST_F() local
180 EXPECT_EQ(ISAs[i], isa); in TEST_F()
Dstack_map.h153 static uint32_t PackNativePc(uint32_t native_pc, InstructionSet isa) { in PackNativePc() argument
154 DCHECK_ALIGNED_PARAM(native_pc, GetInstructionSetInstructionAlignment(isa)); in PackNativePc()
155 return native_pc / GetInstructionSetInstructionAlignment(isa); in PackNativePc()
158 static uint32_t UnpackNativePc(uint32_t packed_native_pc, InstructionSet isa) { in UnpackNativePc() argument
159 uint32_t native_pc = packed_native_pc * GetInstructionSetInstructionAlignment(isa); in UnpackNativePc()
160 DCHECK_EQ(native_pc / GetInstructionSetInstructionAlignment(isa), packed_native_pc); in UnpackNativePc()
416 StackMap GetStackMapForNativePcOffset(uint32_t pc, InstructionSet isa = kRuntimeISA) const;
/art/compiler/trampolines/
Dtrampoline_compiler.h39 std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline32(InstructionSet isa,
42 std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline64(InstructionSet isa,
Dtrampoline_compiler.cc172 std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline64(InstructionSet isa, in CreateTrampoline64() argument
177 switch (isa) { in CreateTrampoline64()
189 LOG(FATAL) << "Unexpected InstructionSet: " << isa; in CreateTrampoline64()
194 std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline32(InstructionSet isa, in CreateTrampoline32() argument
199 switch (isa) { in CreateTrampoline32()
211 LOG(FATAL) << "Unexpected InstructionSet: " << isa; in CreateTrampoline32()
/art/runtime/gc/space/
Dimage_space_fs.h92 static void PruneDalvikCache(InstructionSet isa) { in PruneDalvikCache() argument
93 CHECK_NE(isa, InstructionSet::kNone); in PruneDalvikCache()
99 impl::DeleteDirectoryContents(GetDalvikCache(GetInstructionSetString(isa)), false); in PruneDalvikCache()
/art/runtime/arch/
Dinstruction_set_features.cc37 InstructionSet isa, const std::string& variant, std::string* error_msg) { in FromVariant() argument
38 switch (isa) { in FromVariant()
52 UNIMPLEMENTED(FATAL) << isa; in FromVariant()
56 std::unique_ptr<const InstructionSetFeatures> InstructionSetFeatures::FromBitmap(InstructionSet isa, in FromBitmap() argument
59 switch (isa) { in FromBitmap()
75 UNIMPLEMENTED(FATAL) << isa; in FromBitmap()
Dinstruction_set_features.h38 static std::unique_ptr<const InstructionSetFeatures> FromVariant(InstructionSet isa,
43 static std::unique_ptr<const InstructionSetFeatures> FromBitmap(InstructionSet isa,
/art/runtime/base/
Dquasi_atomic.h49 static constexpr bool NeedSwapMutexes(InstructionSet isa ATTRIBUTE_UNUSED) { in NeedSwapMutexes()
151 static bool LongAtomicsUseMutexes(InstructionSet isa) { in LongAtomicsUseMutexes() argument
152 return NeedSwapMutexes(isa); in LongAtomicsUseMutexes()
/art/compiler/utils/
Dstack_checks.h37 static inline bool FrameNeedsStackCheck(size_t size, InstructionSet isa ATTRIBUTE_UNUSED) { in FrameNeedsStackCheck()
/art/compiler/
Dcfi_test.h37 void GenerateExpected(FILE* f, InstructionSet isa, const char* isa_str, in GenerateExpected() argument
70 std::unique_ptr<Disassembler> disasm(Disassembler::Create(isa, opts)); in GenerateExpected()
72 const uint8_t* base = actual_asm.data() + (isa == InstructionSet::kThumb2 ? 1 : 0); in GenerateExpected()

123