Searched defs:isa (Results 1 - 25 of 44) sorted by relevance

12

/art/runtime/entrypoints/quick/
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, \
[all...]
H A Dcallee_save_frame.h77 static constexpr size_t GetCalleeSaveFrameSize(InstructionSet isa, Runtime::CalleeSaveType type) { argument
79 return (isa == kArm || isa == kThumb2) ? arm::ArmCalleeSaveFrameSize(type) :
80 isa == kArm64 ? arm64::Arm64CalleeSaveFrameSize(type) :
81 isa == kMips ? mips::MipsCalleeSaveFrameSize(type) :
82 isa == kMips64 ? mips64::Mips64CalleeSaveFrameSize(type) :
83 isa == kX86 ? x86::X86CalleeSaveFrameSize(type) :
84 isa == kX86_64 ? x86_64::X86_64CalleeSaveFrameSize(type) :
85 isa == kNone ? (LOG(FATAL) << "kNone has no frame size", 0) :
86 (LOG(FATAL) << "Unknown instruction set" << isa,
90 GetConstExprPointerSize(InstructionSet isa) argument
103 GetCalleeSaveReturnPcOffset(InstructionSet isa, Runtime::CalleeSaveType type) argument
[all...]
/art/compiler/jni/
H A Djni_cfi_test.cc41 void TestImpl(InstructionSet isa, argument
45 if (Is64BitInstructionSet(isa)) {
46 TestImplSized<PointerSize::k64>(isa, isa_str, expected_asm, expected_cfi);
48 TestImplSized<PointerSize::k32>(isa, isa_str, expected_asm, expected_cfi);
54 void TestImplSized(InstructionSet isa, argument
72 isa));
74 ManagedRuntimeCallingConvention::Create(&arena, is_static, is_synchronized, shorty, isa));
80 JNIMacroAssembler<kPointerSize>::Create(&arena, isa));
95 GenerateExpected(stdout, isa, isa_str, actual_asm, actual_cfi);
103 #define TEST_ISA(isa) \
[all...]
/art/compiler/optimizing/
H A Dinstruction_simplifier_shared.h41 inline bool HasShifterOperand(HInstruction* instr, InstructionSet isa) { argument
44 bool res = instr->IsAdd() || instr->IsAnd() || (isa == kArm64 && instr->IsNeg()) ||
51 bool TryCombineMultiplyAccumulate(HMul* mul, InstructionSet isa);
61 bool TryCombineVecMultiplyAccumulate(HVecMul* mul, InstructionSet isa);
H A Dinstruction_simplifier_shared.cc88 bool TryCombineMultiplyAccumulate(HMul* mul, InstructionSet isa) { argument
90 switch (isa) {
149 } else if (use->IsNeg() && isa != kArm) {
281 bool TryCombineVecMultiplyAccumulate(HVecMul* mul, InstructionSet isa) { argument
283 switch (isa) {
H A Doptimizing_cfi_test.cc62 void SetUpFrame(InstructionSet isa) { argument
65 isa_features_ = InstructionSetFeatures::FromVariant(isa, "default", &error);
68 code_gen_ = CodeGenerator::Create(graph_, isa, *isa_features_, opts_);
102 void Check(InstructionSet isa, argument
112 GenerateExpected(stdout, isa, isa_str, actual_asm, actual_cfi);
119 void TestImpl(InstructionSet isa, const char* argument
123 SetUpFrame(isa);
125 Check(isa, isa_str, expected_asm, expected_cfi);
160 #define TEST_ISA(isa) \
161 TEST_F(OptimizingCFITest, isa) { \
[all...]
H A Dcodegen_test_utils.h68 CodegenTargetConfig(InstructionSet isa, CreateCodegenFn create_codegen) argument
69 : isa_(isa), create_codegen_(create_codegen) {
205 ASSERT_TRUE(CanExecute(target_isa)) << "Target isa is not executable.";
/art/runtime/arch/
H A Dinstruction_set.cc27 void InstructionSetAbort(InstructionSet isa) { argument
28 switch (isa) {
37 LOG(FATAL) << "Unsupported instruction set " << isa;
41 LOG(FATAL) << "Unknown ISA " << isa;
46 const char* GetInstructionSetString(InstructionSet isa) { argument
47 switch (isa) {
64 LOG(FATAL) << "Unknown ISA " << isa;
112 size_t GetInstructionSetAlignment(InstructionSet isa) { argument
113 switch (isa) {
132 LOG(FATAL) << "Unknown ISA " << isa;
[all...]
H A Dinstruction_set_features.cc35 InstructionSet isa, const std::string& variant, std::string* error_msg) {
37 switch (isa) {
58 UNIMPLEMENTED(FATAL) << isa;
65 std::unique_ptr<const InstructionSetFeatures> InstructionSetFeatures::FromBitmap(InstructionSet isa, argument
68 switch (isa) {
89 UNIMPLEMENTED(FATAL) << isa;
34 FromVariant( InstructionSet isa, const std::string& variant, std::string* error_msg) argument
/art/compiler/debug/
H A Dmethod_debug_info.h33 InstructionSet isa; member in struct:art::debug::MethodDebugInfo
H A Delf_debug_frame_writer.h32 static void WriteCIE(InstructionSet isa, argument
38 bool is64bit = Is64BitInstructionSet(isa);
39 switch (isa) {
166 LOG(FATAL) << "Cannot write CIE frame for ISA " << 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 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
H A Delf_debug_line_writer.h56 const InstructionSet isa = builder_->GetIsa(); local
57 const bool is64bit = Is64BitInstructionSet(isa);
70 switch (isa) {
107 const uint32_t pc = stack_map.GetNativePcOffset(encoding.stack_map.encoding, isa);
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) {
96 InstructionSet isa) {
115 const uint32_t pc_offset = stack_map.GetNativePcOffset(encoding.stack_map.encoding, isa);
184 InstructionSet isa,
201 isa);
206 const bool is64bit = Is64BitInstructionSet(isa);
227 expr.WriteOpReg(GetDwarfCoreReg(isa, valu
88 GetVariableLocations( 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) argument
177 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...]
/art/compiler/trampolines/
H A Dtrampoline_compiler.cc243 std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline64(InstructionSet isa, argument
248 switch (isa) {
264 LOG(FATAL) << "Unexpected InstructionSet: " << isa;
269 std::unique_ptr<const std::vector<uint8_t>> CreateTrampoline32(InstructionSet isa, argument
274 switch (isa) {
290 LOG(FATAL) << "Unexpected InstructionSet: " << isa;
/art/compiler/utils/
H A Djni_macro_assembler.h237 explicit JNIMacroLabel(InstructionSet isa) : isa_(isa) {} argument
/art/runtime/gc/space/
H A Dimage_space_fs.h90 static void PruneDalvikCache(InstructionSet isa) { argument
91 CHECK_NE(isa, kNone);
96 // Prune /data/dalvik-cache/<isa>.
97 impl::DeleteDirectoryContents(GetDalvikCache(GetInstructionSetString(isa)), false);
109 static void MarkZygoteStart(const InstructionSet isa, const uint32_t max_failed_boots) { argument
110 const std::string isa_subdir = GetDalvikCache(GetInstructionSetString(isa));
/art/runtime/
H A Dparsed_options_test.cc139 InstructionSet isa = map.GetOrDefault(Opt::ImageInstructionSet); local
140 EXPECT_EQ(kRuntimeISA, isa);
158 InstructionSet isa = map.GetOrDefault(Opt::ImageInstructionSet); local
159 EXPECT_EQ(ISAs[i], isa);
/art/compiler/
H A Dcfi_test.h39 void GenerateExpected(FILE* f, InstructionSet isa, const char* isa_str, argument
69 std::unique_ptr<Disassembler> disasm(Disassembler::Create(isa, opts));
71 const uint8_t* base = actual_asm.data() + (isa == kThumb2 ? 1 : 0);
H A Dcommon_compiler_test.cc182 InstructionSet isa,
189 isa,
181 CreateCompilerDriver(Compiler::Kind kind, InstructionSet isa, size_t number_of_threads) argument
H A Delf_writer_quick.cc54 DebugInfoTask(InstructionSet isa, argument
59 : isa_(isa),
/art/compiler/debug/dwarf/
H A Ddwarf_test.h62 InstructionSet isa = (sizeof(typename ElfTypes::Addr) == 8) ? kX86_64 : kX86; local
65 ElfBuilder<ElfTypes> builder(isa, nullptr, &output_stream);
H A Ddebug_line_opcode_writer.h105 void SetISA(int isa) { argument
108 this->PushUleb128(isa);
/art/patchoat/
H A Dpatchoat.h50 InstructionSet isa,
58 PatchOat(InstructionSet isa, MemMap* image, argument
62 delta_(delta), isa_(isa), space_map_(map), timings_(timings) {}

Completed in 266 milliseconds

12