Searched defs:isa (Results 1 - 25 of 38) 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, Runtim
[all...]
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...]
/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/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_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...]
/art/compiler/trampolines/
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.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.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_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/optimizing/
H A Dinstruction_simplifier_shared.cc88 bool TryCombineMultiplyAccumulate(HMul* mul, InstructionSet isa) { argument
90 switch (isa) {
149 } else if (use->IsNeg() && isa != kArm) {
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...]
/art/runtime/
H A Dparsed_options_test.cc140 InstructionSet isa = map.GetOrDefault(Opt::ImageInstructionSet); local
141 EXPECT_EQ(kRuntimeISA, isa);
159 InstructionSet isa = map.GetOrDefault(Opt::ImageInstructionSet); local
160 EXPECT_EQ(ISAs[i], isa);
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/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);
H A Dcommon_compiler_test.cc174 InstructionSet isa,
180 isa,
173 CreateCompilerDriver(Compiler::Kind kind, InstructionSet isa, size_t number_of_threads) argument
H A Delf_writer_quick.cc53 DebugInfoTask(InstructionSet isa, argument
58 : 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/runtime/native/
H A Ddalvik_system_ZygoteHooks.cc209 InstructionSet isa = GetInstructionSetFromString(isa_string.c_str()); local
211 if (isa != kNone && isa != kRuntimeISA) {
/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) {}
/art/runtime/gc/space/
H A Dimage_space_fs.h198 static void PruneDalvikCache(InstructionSet isa) { argument
199 CHECK_NE(isa, kNone);
202 // Prune /data/dalvik-cache/<isa>.
203 impl::DeleteDirectoryContents(GetDalvikCacheOrDie(GetInstructionSetString(isa), false), false);
215 static void MarkZygoteStart(const InstructionSet isa, const uint32_t max_failed_boots) { argument
216 const std::string isa_subdir = GetDalvikCacheOrDie(GetInstructionSetString(isa), false);
/art/cmdline/
H A Dcmdline.h41 static bool LocationToFilename(const std::string& location, InstructionSet isa, argument
47 std::string system_filename(GetSystemImageFilename(location.c_str(), isa));
56 GetDalvikCache(GetInstructionSetString(isa), false, &dalvik_cache,

Completed in 553 milliseconds

12