/art/disassembler/ |
H A D | disassembler.cc | 30 Disassembler* Disassembler::Create(InstructionSet instruction_set, DisassemblerOptions* options) { argument 31 if (instruction_set == kArm || instruction_set == kThumb2) { 33 } else if (instruction_set == kArm64) { 35 } else if (instruction_set == kMips) { 37 } else if (instruction_set == kX86) { 39 } else if (instruction_set == kX86_64) { 42 UNIMPLEMENTED(FATAL) << "no disassembler for " << instruction_set;
|
/art/compiler/sea_ir/code_gen/ |
H A D | code_gen_data.cc | 32 std::string CodeGenData::GetElf(art::InstructionSet instruction_set) { argument 39 art::CompilerDriver::InstructionSetToLLVMTarget(instruction_set,
|
/art/runtime/ |
H A D | native_bridge_art_interface.cc | 127 void InitializeNativeBridge(JNIEnv* env, const char* instruction_set) { argument 128 android::InitializeNativeBridge(env, instruction_set);
|
H A D | oat.cc | 41 OatHeader* OatHeader::Create(InstructionSet instruction_set, argument 54 return new (memory) OatHeader(instruction_set, 62 OatHeader::OatHeader(InstructionSet instruction_set, argument 75 CHECK_NE(instruction_set, kNone); 76 instruction_set_ = instruction_set;
|
H A D | runtime.cc | 1278 void Runtime::SetInstructionSet(InstructionSet instruction_set) { argument 1279 instruction_set_ = instruction_set; 1431 std::string instruction_set("--instruction-set="); 1432 instruction_set += GetInstructionSetString(kRuntimeISA); 1433 argv->push_back(instruction_set);
|
H A D | class_linker.cc | 1053 const InstructionSet instruction_set) { 1060 if (instruction_set == kRuntimeISA) { 1065 image_space->GetImageLocation().c_str(), instruction_set)); 1072 const InstructionSet instruction_set, 1087 if (instruction_set == runtime->GetInstructionSet()) { 1094 image_space->GetImageLocation().c_str(), instruction_set)); 1117 const InstructionSet instruction_set, 1119 if (!VerifyOatChecksums(oat_file, instruction_set, error_msg)) { 1052 VerifyOatImageChecksum(const OatFile* oat_file, const InstructionSet instruction_set) argument 1071 VerifyOatChecksums(const OatFile* oat_file, const InstructionSet instruction_set, std::string* error_msg) argument 1114 VerifyOatAndDexFileChecksums(const OatFile* oat_file, const char* dex_location, uint32_t dex_location_checksum, const InstructionSet instruction_set, std::string* error_msg) argument
|
/art/compiler/jni/quick/ |
H A D | calling_convention.cc | 32 bool is_static, bool is_synchronized, const char* shorty, InstructionSet instruction_set) { 33 switch (instruction_set) { 46 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set; 105 InstructionSet instruction_set) { 106 switch (instruction_set) { 119 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set; 31 Create( bool is_static, bool is_synchronized, const char* shorty, InstructionSet instruction_set) argument 103 Create(bool is_static, bool is_synchronized, const char* shorty, InstructionSet instruction_set) argument
|
H A D | jni_compiler.cc | 65 InstructionSet instruction_set = driver->GetInstructionSet(); local 66 const bool is_64_bit_target = Is64BitInstructionSet(instruction_set); 69 JniCallingConvention::Create(is_static, is_synchronized, shorty, instruction_set)); 73 ManagedRuntimeCallingConvention::Create(is_static, is_synchronized, shorty, instruction_set)); 89 JniCallingConvention::Create(is_static, is_synchronized, jni_end_shorty, instruction_set)); 92 std::unique_ptr<Assembler> jni_asm(Assembler::Create(instruction_set)); 330 if (instruction_set == kMips && main_jni_conv->GetReturnType() == Primitive::kPrimDouble && 428 if (instruction_set == kArm64) { 436 instruction_set,
|
/art/compiler/optimizing/ |
H A D | register_allocator.h | 67 static bool CanAllocateRegistersFor(const HGraph& graph, InstructionSet instruction_set); 68 static bool Supports(InstructionSet instruction_set) { argument 69 return instruction_set == kX86 70 || instruction_set == kArm 71 || instruction_set == kX86_64 72 || instruction_set == kThumb2;
|
H A D | optimizing_compiler.cc | 81 InstructionSet instruction_set = GetCompilerDriver()->GetInstructionSet(); local 84 if (instruction_set == kArm) { 85 instruction_set = kThumb2; 89 if (instruction_set != kX86 && instruction_set != kX86_64 && instruction_set != kThumb2) { 116 CodeGenerator* codegen = CodeGenerator::Create(&arena, graph, instruction_set); 130 if (RegisterAllocator::CanAllocateRegistersFor(*graph, instruction_set)) { 148 } else if (shouldOptimize && RegisterAllocator::Supports(instruction_set)) { 171 instruction_set, [all...] |
H A D | code_generator.cc | 256 InstructionSet instruction_set) { 257 switch (instruction_set) { 254 Create(ArenaAllocator* allocator, HGraph* graph, InstructionSet instruction_set) argument
|
H A D | register_allocator.cc | 48 InstructionSet instruction_set) { 49 if (!Supports(instruction_set)) { 58 if (current->GetType() == Primitive::kPrimLong && instruction_set != kX86_64) return false; 47 CanAllocateRegistersFor(const HGraph& graph, InstructionSet instruction_set) argument
|
/art/runtime/native/ |
H A D | dalvik_system_ZygoteHooks.cc | 20 #include "instruction_set.h" 107 jstring instruction_set) { 113 if (instruction_set != nullptr) { 114 ScopedUtfChars isa_string(env, instruction_set); 106 ZygoteHooks_nativePostForkChild(JNIEnv* env, jclass, jlong token, jint debug_flags, jstring instruction_set) argument
|
H A D | dalvik_system_DexFile.cc | 369 const char* pkgname, const char* instruction_set, const jboolean defer) { 494 const InstructionSet target_instruction_set = GetInstructionSetFromString(instruction_set); 497 std::string message(StringPrintf("Instruction set %s is invalid.", instruction_set)); 509 GetDalvikCache(instruction_set, false, &cache_dir, &have_android_data, &dalvik_cache_exists, 570 ScopedUtfChars instruction_set(env, javaInstructionSet); 576 instruction_set.c_str(), defer); 581 const char* instruction_set = GetInstructionSetString(kRuntimeISA); local 584 instruction_set, false /* defer */); 368 IsDexOptNeededInternal(JNIEnv* env, const char* filename, const char* pkgname, const char* instruction_set, const jboolean defer) argument
|
/art/compiler/ |
H A D | compiled_method.cc | 22 CompiledCode::CompiledCode(CompilerDriver* compiler_driver, InstructionSet instruction_set, argument 24 : compiler_driver_(compiler_driver), instruction_set_(instruction_set), 29 CompiledCode::CompiledCode(CompilerDriver* compiler_driver, InstructionSet instruction_set, argument 31 : compiler_driver_(compiler_driver), instruction_set_(instruction_set), 84 uint32_t CompiledCode::AlignCode(uint32_t offset, InstructionSet instruction_set) { argument 85 return RoundUp(offset, GetInstructionSetAlignment(instruction_set)); 92 size_t CompiledCode::CodeDelta(InstructionSet instruction_set) { argument 93 switch (instruction_set) { 105 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set; 111 InstructionSet instruction_set) { 110 CodePointer(const void* code_pointer, InstructionSet instruction_set) argument 145 CompiledMethod(CompilerDriver* driver, InstructionSet instruction_set, const std::vector<uint8_t>& quick_code, const size_t frame_size_in_bytes, const uint32_t core_spill_mask, const uint32_t fp_spill_mask, const std::vector<uint8_t>& mapping_table, const std::vector<uint8_t>& vmap_table, const std::vector<uint8_t>& native_gc_map, const std::vector<uint8_t>* cfi_info) argument 163 CompiledMethod(CompilerDriver* driver, InstructionSet instruction_set, const std::vector<uint8_t>& code, const size_t frame_size_in_bytes, const uint32_t core_spill_mask, const uint32_t fp_spill_mask) argument 179 CompiledMethod(CompilerDriver* driver, InstructionSet instruction_set, const std::string& code, const std::vector<uint8_t>& gc_map, const std::string& symbol) argument 189 CompiledMethod(CompilerDriver* driver, InstructionSet instruction_set, const std::string& code, const std::string& symbol) argument [all...] |
H A D | oat_test.cc | 194 InstructionSet instruction_set = kX86; local 199 OatHeader* oat_header = OatHeader::Create(instruction_set,
|
H A D | common_compiler_test.cc | 292 InstructionSet instruction_set = kRuntimeISA; local 306 runtime_->SetInstructionSet(instruction_set); 322 compiler_kind, instruction_set,
|
H A D | oat_writer.cc | 823 InstructionSet instruction_set = compiler_driver_->GetInstructionSet(); local 826 offset = CompiledCode::AlignCode(offset, instruction_set); \ 827 adjusted_offset = offset + CompiledCode::CodeDelta(instruction_set); \ 1036 InstructionSet instruction_set = compiler_driver_->GetInstructionSet(); local 1040 uint32_t aligned_offset = CompiledCode::AlignCode(relative_offset, instruction_set); \
|
/art/compiler/dex/ |
H A D | compiler_ir.h | 66 InstructionSet instruction_set; member in struct:art::CompilationUnit
|
H A D | frontend.cc | 494 instruction_set(kNone), 536 static bool CanCompileShorty(const char* shorty, InstructionSet instruction_set) { argument 537 const char* supported_types = kSupportedTypes[instruction_set]; 564 if (kSupportedTypes[cu.instruction_set] == nullptr && 565 kUnsupportedOpcodesSize[cu.instruction_set] == 0U) { 571 if (!CanCompileShorty(shorty, cu.instruction_set)) { 576 const int *unsupport_list = kUnsupportedOpcodes[cu.instruction_set]; 577 int unsupport_list_size = kUnsupportedOpcodesSize[cu.instruction_set]; 606 if (!CanCompileShorty(invoke_method_shorty, cu.instruction_set)) { 652 cu.instruction_set [all...] |
/art/compiler/utils/ |
H A D | assembler.cc | 107 Assembler* Assembler::Create(InstructionSet instruction_set) { argument 108 switch (instruction_set) { 122 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set;
|
/art/dex2oat/ |
H A D | dex2oat.cc | 239 InstructionSet instruction_set, 249 instruction_set, 254 if (!dex2oat->CreateRuntime(runtime_options, instruction_set)) { 478 InstructionSet instruction_set, 485 instruction_set_(instruction_set), 497 bool CreateRuntime(const RuntimeOptions& runtime_options, InstructionSet instruction_set) 504 runtime->SetInstructionSet(instruction_set); 851 InstructionSet instruction_set = kRuntimeISA; local 943 instruction_set = kThumb2; 945 instruction_set 476 Dex2Oat(const CompilerOptions* compiler_options, Compiler::Kind compiler_kind, InstructionSet instruction_set, InstructionSetFeatures instruction_set_features, VerificationResults* verification_results, DexFileToMethodInlinerMap* method_inliner_map, size_t thread_count) argument [all...] |
/art/oatdump/ |
H A D | oatdump.cc | 1691 InstructionSet instruction_set = kRuntimeISA; local 1711 instruction_set = kThumb2; 1713 instruction_set = kArm64; 1715 instruction_set = kMips; 1717 instruction_set = kX86; 1719 instruction_set = kX86_64; 1796 reinterpret_cast<const void*>(GetInstructionSetString(instruction_set))));
|
/art/compiler/driver/ |
H A D | compiler_driver.cc | 331 InstructionSet instruction_set, 340 instruction_set_(instruction_set), 357 support_boot_image_fixup_(instruction_set != kMips), 2125 void CompilerDriver::InstructionSetToLLVMTarget(InstructionSet instruction_set, argument 2129 switch (instruction_set) { 2160 LOG(FATAL) << "Unknown instruction set: " << instruction_set; 327 CompilerDriver(const CompilerOptions* compiler_options, VerificationResults* verification_results, DexFileToMethodInlinerMap* method_inliner_map, Compiler::Kind compiler_kind, InstructionSet instruction_set, InstructionSetFeatures instruction_set_features, bool image, std::set<std::string>* image_classes, size_t thread_count, bool dump_stats, bool dump_passes, CumulativeLogger* timer, std::string profile_file) argument
|