/art/runtime/entrypoints/quick/ |
H A D | callee_save_frame.h | 73 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 D | quick_trampoline_entrypoints_test.cc | 34 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/dex/ |
H A D | compiler_ir.cc | 29 CompilationUnit::CompilationUnit(ArenaPool* pool, InstructionSet isa, CompilerDriver* driver, argument 43 instruction_set(isa), 44 target64(Is64BitInstructionSet(isa)),
|
/art/compiler/dex/quick/ |
H A D | quick_cfi_test.cc | 46 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/compiler/jni/ |
H A D | jni_cfi_test.cc | 38 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/trampolines/ |
H A D | trampoline_compiler.cc | 188 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/runtime/arch/ |
H A D | instruction_set.cc | 25 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 D | instruction_set.h | 78 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 D | instruction_set_features.cc | 32 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 D | optimizing_cfi_test.cc | 39 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/compiler/ |
H A D | cfi_test.h | 37 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 D | elf_writer_quick.cc | 146 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);
|
H A D | elf_writer_debug.cc | 33 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 D | elf_builder.h | 493 ElfBuilder(InstructionSet isa, argument 497 : isa_(isa), 828 static Elf_Ehdr MakeElfHeader(InstructionSet isa) { argument 830 switch (isa) {
|
/art/compiler/dwarf/ |
H A D | dwarf_test.h | 61 InstructionSet isa = (sizeof(typename ElfTypes::Addr) == 8) ? kX86_64 : kX86; local 65 ElfBuilder<ElfTypes> builder(isa, 0, &no_code, 0, &no_code, 0);
|
H A D | debug_line_opcode_writer.h | 100 void SetISA(int isa) { argument 103 this->PushUleb128(isa);
|
/art/patchoat/ |
H A D | patchoat.h | 50 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 D | patchoat.cc | 53 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/runtime/native/ |
H A D | dalvik_system_ZygoteHooks.cc | 197 InstructionSet isa = GetInstructionSetFromString(isa_string.c_str()); local 199 if (isa != kNone && isa != kRuntimeISA) {
|
H A D | dalvik_system_VMRuntime.cc | 178 InstructionSet isa = Runtime::Current()->GetInstructionSet(); local 179 const char* isa_string = GetInstructionSetString(isa); 580 InstructionSet isa = GetInstructionSetFromString(instruction_set.c_str()); local 581 if (isa == kNone) { 589 Runtime::Current()->GetImageLocation().c_str(), isa, &error_msg));
|
/art/cmdline/ |
H A D | cmdline.h | 41 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,
|
/art/compiler/dex/quick/x86/ |
H A D | call_x86.cc | 170 const InstructionSet isa = cu_->target64 ? kX86_64 : kX86; local 171 bool skip_overflow_check = mir_graph_->MethodIsLeaf() && !FrameNeedsStackCheck(frame_size_, isa); 180 int overflow = GetStackOverflowReservedBytes(isa);
|
/art/runtime/ |
H A D | common_runtime_test.cc | 243 std::string CommonRuntimeTest::GetAndroidTargetToolsDir(InstructionSet isa) { argument 244 switch (isa) { 267 ADD_FAILURE() << "Invalid isa " << isa;
|
H A D | oat_file_assistant.cc | 47 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/runtime/gc/space/ |
H A D | image_space.cc | 82 static void PruneDalvikCache(InstructionSet isa) { argument 83 CHECK_NE(isa, kNone); 86 // Prune /data/dalvik-cache/<isa>. 87 RealPruneDalvikCache(GetDalvikCacheOrDie(GetInstructionSetString(isa), false)); 108 // We do expect some directories (namely the <isa> for pruning the base dalvik-cache). 128 static void MarkZygoteStart(const InstructionSet isa, const uint32_t max_failed_boots) { argument 129 const std::string isa_subdir = GetDalvikCacheOrDie(GetInstructionSetString(isa), false); 212 << "We should always be generating an image for the current isa."; 288 InstructionSet isa, std::string* error_msg) { 292 PruneDalvikCache(isa); 287 RelocateImage(const char* image_location, const char* dest_filename, InstructionSet isa, std::string* error_msg) argument [all...] |