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

12

/art/runtime/entrypoints/quick/
H A Dcallee_save_frame.h73 static constexpr size_t GetCalleeSaveFrameSize(InstructionSet isa, Runtime::CalleeSaveType type) { argument
75 return (isa == kArm || isa == kThumb2) ? arm::ArmCalleeSaveFrameSize(type) :
76 isa == kArm64 ? arm64::Arm64CalleeSaveFrameSize(type) :
77 isa == kMips ? mips::MipsCalleeSaveFrameSize(type) :
78 isa == kMips64 ? mips64::Mips64CalleeSaveFrameSize(type) :
79 isa == kX86 ? x86::X86CalleeSaveFrameSize(type) :
80 isa == kX86_64 ? x86_64::X86_64CalleeSaveFrameSize(type) :
81 isa == kNone ? (LOG(FATAL) << "kNone has no frame size", 0) :
82 (LOG(FATAL) << "Unknown instruction set" << isa,
86 GetConstExprPointerSize(InstructionSet isa) argument
99 GetCalleeSaveReturnPcOffset(InstructionSet isa, Runtime::CalleeSaveType type) argument
[all...]
H A Dquick_trampoline_entrypoints_test.cc34 static ArtMethod* CreateCalleeSaveMethod(InstructionSet isa, Runtime::CalleeSaveType type)
41 r->SetInstructionSet(isa);
50 static void CheckFrameSize(InstructionSet isa, Runtime::CalleeSaveType type, uint32_t save_size)
52 ArtMethod* save_method = CreateCalleeSaveMethod(isa, type);
56 << frame_info.FpSpillMask() << std::dec << " ISA " << isa; variable
59 static void CheckPCOffset(InstructionSet isa, Runtime::CalleeSaveType type, size_t pc_offset)
61 ArtMethod* save_method = CreateCalleeSaveMethod(isa, type);
66 << " fp spills=" << frame_info.FpSpillMask() << std::dec << " ISA " << isa; variable
77 #define CHECK_FRAME_SIZE(isa) \
78 CheckFrameSize(isa, Runtim
[all...]
/art/compiler/jni/
H A Djni_cfi_test.cc38 void TestImpl(InstructionSet isa, const char* isa_str, argument
46 JniCallingConvention::Create(is_static, is_synchronized, shorty, isa));
48 ManagedRuntimeCallingConvention::Create(is_static, is_synchronized, shorty, isa));
53 std::unique_ptr<Assembler> jni_asm(Assembler::Create(isa));
67 GenerateExpected(stdout, isa, isa_str, actual_asm, actual_cfi);
75 #define TEST_ISA(isa) \
76 TEST_F(JNICFITest, isa) { \
77 std::vector<uint8_t> expected_asm(expected_asm_##isa, \
78 expected_asm_##isa + arraysize(expected_asm_##isa)); \
[all...]
/art/compiler/optimizing/
H A Doptimizing_cfi_test.cc39 void TestImpl(InstructionSet isa, const char* isa_str, argument
48 isa_features.reset(InstructionSetFeatures::FromVariant(isa, "default", &error));
52 CodeGenerator::Create(graph, isa, *isa_features.get(), opts));
86 GenerateExpected(stdout, isa, isa_str, actual_asm, actual_cfi);
112 #define TEST_ISA(isa) \
113 TEST_F(OptimizingCFITest, isa) { \
114 std::vector<uint8_t> expected_asm(expected_asm_##isa, \
115 expected_asm_##isa + arraysize(expected_asm_##isa)); \
116 std::vector<uint8_t> expected_cfi(expected_cfi_##isa, \
[all...]
/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 size_t GetInstructionSetAlignment(InstructionSet isa);
112 static inline bool Is64BitInstructionSet(InstructionSet isa) { argument
113 switch (isa) {
129 LOG(FATAL) << "Unknown ISA " << isa;
134 static inline size_t InstructionSetPointerSize(InstructionSet isa) { argument
135 return Is64BitInstructionSet(isa)
138 GetBytesPerGprSpillLocation(InstructionSet isa) argument
163 GetBytesPerFprSpillLocation(InstructionSet isa) argument
[all...]
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/trampolines/
H A Dtrampoline_compiler.h28 const std::vector<uint8_t>* CreateTrampoline32(InstructionSet isa, EntryPointCallingConvention abi,
31 const std::vector<uint8_t>* CreateTrampoline64(InstructionSet isa, EntryPointCallingConvention abi,
H A Dtrampoline_compiler.cc188 const std::vector<uint8_t>* CreateTrampoline64(InstructionSet isa, EntryPointCallingConvention abi, argument
190 switch (isa) {
198 LOG(FATAL) << "Unexpected InstructionSet: " << isa;
203 const std::vector<uint8_t>* CreateTrampoline32(InstructionSet isa, EntryPointCallingConvention abi, argument
205 switch (isa) {
214 LOG(FATAL) << "Unexpected InstructionSet: " << isa;
/art/compiler/dex/quick/
H A Dquick_cfi_test.cc46 void TestImpl(InstructionSet isa, const char* isa_str, argument
77 isa_features.reset(InstructionSetFeatures::FromVariant(isa, "default", &error));
79 Compiler::kQuick, isa, isa_features.get(),
82 CompilationUnit cu(&pool, isa, &driver, linker);
115 GenerateExpected(stdout, isa, isa_str, actual_asm, actual_cfi);
123 #define TEST_ISA(isa) \
124 TEST_F(QuickCFITest, isa) { \
125 std::vector<uint8_t> expected_asm(expected_asm_##isa, \
126 expected_asm_##isa + arraysize(expected_asm_##isa)); \
[all...]
/art/runtime/
H A Dprebuilt_tools_test.cc54 for (InstructionSet isa : isas) {
55 std::string tools_dir = GetAndroidTargetToolsDir(isa);
57 ADD_FAILURE() << "Can not find Android tools directory for " << isa;
H A Doat_file_assistant.h96 // The isa should be either the 32 bit or 64 bit variant for the current
99 OatFileAssistant(const char* dex_location, const InstructionSet isa,
105 const InstructionSet isa, bool load_executable);
113 OatFileAssistant(const char* dex_location, const InstructionSet isa,
119 const InstructionSet isa, bool load_executable,
284 InstructionSet isa, std::string* odex_filename, std::string* error_msg);
H A Doat_file_assistant.cc47 const InstructionSet isa,
49 : OatFileAssistant(dex_location, nullptr, isa, load_executable, nullptr) { }
53 const InstructionSet isa,
55 : OatFileAssistant(dex_location, oat_location, isa, load_executable, nullptr) { }
58 const InstructionSet isa,
61 : OatFileAssistant(dex_location, nullptr, isa, load_executable, package_name) { }
65 const InstructionSet isa,
68 : dex_location_(dex_location), isa_(isa),
70 if (load_executable_ && isa != kRuntimeISA) {
72 << "but isa i
46 OatFileAssistant(const char* dex_location, const InstructionSet isa, bool load_executable) argument
51 OatFileAssistant(const char* dex_location, const char* oat_location, const InstructionSet isa, bool load_executable) argument
57 OatFileAssistant(const char* dex_location, const InstructionSet isa, bool load_executable, const char* package_name) argument
63 OatFileAssistant(const char* dex_location, const char* oat_location, const InstructionSet isa, bool load_executable, const char* package_name) argument
744 DexFilenameToOdexFilename(const std::string& location, InstructionSet isa, std::string* odex_filename, std::string* error_msg) argument
[all...]
/art/compiler/dex/
H A Dcompiler_ir.cc29 CompilationUnit::CompilationUnit(ArenaPool* pool, InstructionSet isa, CompilerDriver* driver, argument
43 instruction_set(isa),
44 target64(Is64BitInstructionSet(isa)),
H A Dcompiler_ir.h163 CompilationUnit(ArenaPool* pool, InstructionSet isa, CompilerDriver* driver, ClassLinker* linker);
/art/patchoat/
H A Dpatchoat.h50 static bool Patch(const std::string& art_location, off_t delta, File* art_out, InstructionSet isa,
55 off_t delta, File* oat_out, File* art_out, InstructionSet isa,
65 PatchOat(InstructionSet isa, MemMap* image, gc::accounting::ContinuousSpaceBitmap* bitmap, argument
68 delta_(delta), isa_(isa), timings_(timings) {}
69 PatchOat(InstructionSet isa, ElfFile* oat_file, MemMap* image, argument
73 delta_(delta), isa_(isa), timings_(timings) {}
H A Dpatchoat.cc53 static bool LocationToFilename(const std::string& location, InstructionSet isa, argument
59 std::string system_filename(GetSystemImageFilename(location.c_str(), isa));
68 GetDalvikCache(GetInstructionSetString(isa), false, &dalvik_cache,
96 File* output_image, InstructionSet isa,
102 CHECK_NE(isa, kNone);
105 const char *isa_name = GetInstructionSetString(isa);
107 if (!LocationToFilename(image_location, isa, &image_filename)) {
163 PatchOat p(isa, image.release(), ispc->GetLiveBitmap(), ispc->GetMemMap(),
179 File* output_oat, File* output_image, InstructionSet isa,
194 if (isa
95 Patch(const std::string& image_location, off_t delta, File* output_image, InstructionSet isa, TimingLogger* timings) argument
178 Patch(File* input_oat, const std::string& image_location, off_t delta, File* output_oat, File* output_image, InstructionSet isa, TimingLogger* timings, bool output_oat_opened_from_fd, bool new_oat_out) argument
956 InstructionSet isa = kNone; local
[all...]
/art/compiler/
H A Delf_writer_debug.cc33 static void WriteDebugFrameCIE(InstructionSet isa, argument
39 bool is64bit = Is64BitInstructionSet(isa);
40 switch (isa) {
164 LOG(FATAL) << "Can not write CIE frame for ISA " << isa;
177 const InstructionSet isa = compiler->GetInstructionSet(); local
182 WriteDebugFrameCIE(isa, address_type, format, debug_frame);
188 WriteDebugFrameFDE(Is64BitInstructionSet(isa), cie_offset,
246 const InstructionSet isa = compiler->GetInstructionSet(); local
247 const bool is64bit = Is64BitInstructionSet(isa);
314 switch (isa) {
[all...]
H A Dcfi_test.h37 void GenerateExpected(FILE* f, InstructionSet isa, const char* isa_str, argument
59 std::unique_ptr<Disassembler> disasm(Disassembler::Create(isa, opts));
61 const uint8_t* base = actual_asm.data() + (isa == kThumb2 ? 1 : 0);
H A Delf_writer_quick.cc146 const InstructionSet isa = compiler_driver_->GetInstructionSet(); local
155 isa, rodata_size, &rodata_writer, text_size, &text_writer, bss_size));
162 const bool is64bit = Is64BitInstructionSet(isa);
163 const int pointer_size = GetInstructionSetPointerSize(isa);
/art/runtime/native/
H A Ddalvik_system_ZygoteHooks.cc197 InstructionSet isa = GetInstructionSetFromString(isa_string.c_str()); local
199 if (isa != kNone && isa != kRuntimeISA) {
/art/compiler/dwarf/
H A Ddwarf_test.h61 InstructionSet isa = (sizeof(typename ElfTypes::Addr) == 8) ? kX86_64 : kX86; local
65 ElfBuilder<ElfTypes> builder(isa, 0, &no_code, 0, &no_code, 0);
/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 1625 milliseconds

12