Searched refs:isa (Results 1 - 25 of 54) sorted by relevance

123

/art/runtime/entrypoints/quick/
H A Dcallee_save_frame.h76 static constexpr size_t GetCalleeSaveFrameSize(InstructionSet isa, Runtime::CalleeSaveType type) { argument
78 return (isa == kArm || isa == kThumb2) ? arm::ArmCalleeSaveFrameSize(type) :
79 isa == kArm64 ? arm64::Arm64CalleeSaveFrameSize(type) :
80 isa == kMips ? mips::MipsCalleeSaveFrameSize(type) :
81 isa == kMips64 ? mips64::Mips64CalleeSaveFrameSize(type) :
82 isa == kX86 ? x86::X86CalleeSaveFrameSize(type) :
83 isa == kX86_64 ? x86_64::X86_64CalleeSaveFrameSize(type) :
84 isa == kNone ? (LOG(FATAL) << "kNone has no frame size", 0) :
85 (LOG(FATAL) << "Unknown instruction set" << isa,
89 GetConstExprPointerSize(InstructionSet isa) argument
102 GetCalleeSaveReturnPcOffset(InstructionSet isa, Runtime::CalleeSaveType type) argument
[all...]
H A Dquick_trampoline_entrypoints_test.cc41 static ArtMethod* CreateCalleeSaveMethod(InstructionSet isa, Runtime::CalleeSaveType type)
49 r->SetInstructionSet(isa);
56 static void CheckFrameSize(InstructionSet isa, Runtime::CalleeSaveType type, uint32_t save_size)
58 ArtMethod* save_method = CreateCalleeSaveMethod(isa, type);
62 << frame_info.FpSpillMask() << std::dec << " ISA " << isa; variable
65 static void CheckPCOffset(InstructionSet isa, Runtime::CalleeSaveType type, size_t pc_offset)
67 ArtMethod* save_method = CreateCalleeSaveMethod(isa, type);
72 << " fp spills=" << frame_info.FpSpillMask() << std::dec << " ISA " << isa; variable
83 #define CHECK_FRAME_SIZE(isa) \
84 CheckFrameSize(isa, Runtim
[all...]
/art/compiler/optimizing/
H A Dinstruction_simplifier_shared.h24 bool TryCombineMultiplyAccumulate(HMul* mul, InstructionSet isa);
H A Doptimizing_cfi_test.cc51 void SetUpFrame(InstructionSet isa) { argument
54 isa_features_.reset(InstructionSetFeatures::FromVariant(isa, "default", &error));
57 code_gen_ = CodeGenerator::Create(graph_, isa, *isa_features_, opts_);
91 void Check(InstructionSet isa, argument
101 GenerateExpected(stdout, isa, isa_str, actual_asm, actual_cfi);
108 void TestImpl(InstructionSet isa, const char* argument
112 SetUpFrame(isa);
114 Check(isa, isa_str, expected_asm, expected_cfi);
149 #define TEST_ISA(isa) \
150 TEST_F(OptimizingCFITest, isa) { \
[all...]
H A Dinstruction_simplifier_shared.cc88 bool TryCombineMultiplyAccumulate(HMul* mul, InstructionSet isa) { argument
90 switch (isa) {
149 } else if (use->IsNeg() && isa != kArm) {
/art/compiler/jni/
H A Djni_cfi_test.cc39 void TestImpl(InstructionSet isa, const char* isa_str, argument
51 JniCallingConvention::Create(&arena, is_static, is_synchronized, shorty, isa));
53 ManagedRuntimeCallingConvention::Create(&arena, is_static, is_synchronized, shorty, isa));
58 std::unique_ptr<Assembler> jni_asm(Assembler::Create(&arena, isa));
73 GenerateExpected(stdout, isa, isa_str, actual_asm, actual_cfi);
81 #define TEST_ISA(isa) \
82 TEST_F(JNICFITest, isa) { \
83 std::vector<uint8_t> expected_asm(expected_asm_##isa, \
84 expected_asm_##isa + arraysize(expected_asm_##isa)); \
[all...]
/art/compiler/trampolines/
H A Dtrampoline_compiler.h28 std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline32(InstructionSet isa,
31 std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline64(InstructionSet isa,
H A Dtrampoline_compiler.cc225 std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline64(InstructionSet isa, argument
230 switch (isa) {
246 LOG(FATAL) << "Unexpected InstructionSet: " << isa;
251 std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline32(InstructionSet isa, argument
256 switch (isa) {
272 LOG(FATAL) << "Unexpected InstructionSet: " << isa;
/art/runtime/arch/
H A Dinstruction_set.h78 const char* GetInstructionSetString(InstructionSet isa);
85 static inline size_t GetInstructionSetPointerSize(InstructionSet isa) { argument
86 switch (isa) {
105 LOG(FATAL) << "Unknown ISA " << isa;
110 static inline bool IsValidInstructionSet(InstructionSet isa) { argument
111 switch (isa) {
126 size_t GetInstructionSetAlignment(InstructionSet isa);
128 static inline bool Is64BitInstructionSet(InstructionSet isa) { argument
129 switch (isa) {
145 LOG(FATAL) << "Unknown ISA " << isa;
150 InstructionSetPointerSize(InstructionSet isa) argument
154 GetBytesPerGprSpillLocation(InstructionSet isa) argument
179 GetBytesPerFprSpillLocation(InstructionSet isa) argument
[all...]
H A Dinstruction_set.cc25 const char* GetInstructionSetString(const InstructionSet isa) { argument
26 switch (isa) {
43 LOG(FATAL) << "Unknown ISA " << isa;
91 size_t GetInstructionSetAlignment(InstructionSet isa) { argument
92 switch (isa) {
111 LOG(FATAL) << "Unknown ISA " << isa;
125 size_t GetStackOverflowReservedBytes(InstructionSet isa) { argument
126 switch (isa) {
151 LOG(FATAL) << "Unknown instruction set" << isa;
H A Dinstruction_set_features.h39 static const InstructionSetFeatures* FromVariant(InstructionSet isa,
43 // Parse a bitmap for the given isa and create an InstructionSetFeatures.
44 static const InstructionSetFeatures* FromBitmap(InstructionSet isa, uint32_t bitmap);
H A Dinstruction_set_features.cc32 const InstructionSetFeatures* InstructionSetFeatures::FromVariant(InstructionSet isa, argument
36 switch (isa) {
57 UNIMPLEMENTED(FATAL) << isa;
64 const InstructionSetFeatures* InstructionSetFeatures::FromBitmap(InstructionSet isa, argument
67 switch (isa) {
88 UNIMPLEMENTED(FATAL) << isa;
/art/compiler/utils/
H A Dstack_checks.h37 static inline bool FrameNeedsStackCheck(size_t size, InstructionSet isa ATTRIBUTE_UNUSED) {
/art/compiler/debug/
H A Delf_debug_writer.h44 InstructionSet isa,
51 InstructionSet isa,
56 InstructionSet isa,
H A Delf_debug_writer.cc92 InstructionSet isa,
97 if (Is64BitInstructionSet(isa)) {
98 return MakeMiniDebugInfoInternal<ElfTypes64>(isa,
104 return MakeMiniDebugInfoInternal<ElfTypes32>(isa,
114 InstructionSet isa,
120 std::unique_ptr<ElfBuilder<ElfTypes>> builder(new ElfBuilder<ElfTypes>(isa, features, &out));
133 InstructionSet isa,
136 if (Is64BitInstructionSet(isa)) {
137 return WriteDebugElfFileForMethodsInternal<ElfTypes64>(isa, features, method_infos);
139 return WriteDebugElfFileForMethodsInternal<ElfTypes32>(isa, feature
91 MakeMiniDebugInfo( InstructionSet isa, const InstructionSetFeatures* features, size_t rodata_size, size_t text_size, const ArrayRef<const MethodDebugInfo>& method_infos) argument
113 WriteDebugElfFileForMethodsInternal( InstructionSet isa, const InstructionSetFeatures* features, const ArrayRef<const MethodDebugInfo>& method_infos) argument
132 WriteDebugElfFileForMethods( InstructionSet isa, const InstructionSetFeatures* features, const ArrayRef<const MethodDebugInfo>& method_infos) argument
166 WriteDebugElfFileForClasses(InstructionSet isa, const InstructionSetFeatures* features, const ArrayRef<mirror::Class*>& types) argument
[all...]
H A Dmethod_debug_info.h33 InstructionSet isa; member in struct:art::debug::MethodDebugInfo
H A Delf_debug_loc_writer.h34 static Reg GetDwarfCoreReg(InstructionSet isa, int machine_reg) { argument
35 switch (isa) {
55 static Reg GetDwarfFpReg(InstructionSet isa, int machine_reg) { argument
56 switch (isa) {
183 InstructionSet isa,
204 const bool is64bit = Is64BitInstructionSet(isa);
225 expr.WriteOpReg(GetDwarfCoreReg(isa, value).num());
231 if ((isa == kArm || isa == kThumb2) &&
238 expr.WriteOpReg(GetDwarfFpReg(isa, valu
176 WriteDebugLocEntry(const MethodDebugInfo* method_info, const std::vector<DexRegisterMap>& dex_register_maps, uint16_t vreg, bool is64bitValue, uint64_t compilation_unit_code_address, uint32_t dex_pc_low, uint32_t dex_pc_high, InstructionSet isa, dwarf::DebugInfoEntryWriter<>* debug_info, std::vector<uint8_t>* debug_loc_buffer, std::vector<uint8_t>* debug_ranges_buffer) argument
[all...]
H A Delf_symtab_writer.h85 address += CompiledMethod::CodeDelta(info.isa);
92 if (info.isa == kThumb2) {
H A Delf_gnu_debugdata_writer.h81 InstructionSet isa,
89 std::unique_ptr<ElfBuilder<ElfTypes>> builder(new ElfBuilder<ElfTypes>(isa, features, &out));
80 MakeMiniDebugInfoInternal( InstructionSet isa, const InstructionSetFeatures* features, size_t rodata_section_size, size_t text_section_size, const ArrayRef<const MethodDebugInfo>& method_infos) argument
/art/runtime/
H A Dprebuilt_tools_test.cc54 for (InstructionSet isa : isas) {
55 std::string tools_dir = GetAndroidTargetToolsDir(isa);
57 ADD_FAILURE() << "Cannot find Android tools directory for " << isa;
H A Doat_file_assistant.h101 // The isa should be either the 32 bit or 64 bit variant for the current
111 const InstructionSet isa,
119 const InstructionSet isa,
291 InstructionSet isa, std::string* odex_filename, std::string* error_msg);
293 static uint32_t CalculateCombinedImageChecksum(InstructionSet isa = kRuntimeISA);
H A Datomic.h48 static constexpr bool NeedSwapMutexes(InstructionSet isa) { argument
50 return (isa == kMips) || (isa == kMips64);
150 static bool LongAtomicsUseMutexes(InstructionSet isa) { argument
151 return NeedSwapMutexes(isa);
/art/runtime/gc/space/
H A Dimage_space_fs.h89 static void PruneDalvikCache(InstructionSet isa) { argument
90 CHECK_NE(isa, kNone);
93 // Prune /data/dalvik-cache/<isa>.
94 impl::DeleteDirectoryContents(GetDalvikCacheOrDie(GetInstructionSetString(isa), false), false);
106 static void MarkZygoteStart(const InstructionSet isa, const uint32_t max_failed_boots) { argument
107 const std::string isa_subdir = GetDalvikCacheOrDie(GetInstructionSetString(isa), false);
/art/compiler/
H A Dcfi_test.h37 void GenerateExpected(FILE* f, InstructionSet isa, const char* isa_str, argument
61 std::unique_ptr<Disassembler> disasm(Disassembler::Create(isa, opts));
63 const uint8_t* base = actual_asm.data() + (isa == kThumb2 ? 1 : 0);
/art/patchoat/
H A Dpatchoat.h52 static bool Patch(const std::string& art_location, off_t delta, File* art_out, InstructionSet isa,
59 InstructionSet isa,
70 PatchOat(InstructionSet isa, MemMap* image, gc::accounting::ContinuousSpaceBitmap* bitmap, argument
73 delta_(delta), isa_(isa), space_map_(nullptr), timings_(timings) {}
74 PatchOat(InstructionSet isa, ElfFile* oat_file, MemMap* image, argument
78 delta_(delta), isa_(isa), space_map_(map), timings_(timings) {}

Completed in 255 milliseconds

123