/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;
|
H A D | disassembler.h | 25 #include "instruction_set.h" 49 static Disassembler* Create(InstructionSet instruction_set, DisassemblerOptions* options);
|
/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), 82 uint32_t CompiledCode::AlignCode(uint32_t offset, InstructionSet instruction_set) { argument 83 return RoundUp(offset, GetInstructionSetAlignment(instruction_set)); 90 size_t CompiledCode::CodeDelta(InstructionSet instruction_set) { argument 91 switch (instruction_set) { 103 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set; 109 InstructionSet instruction_set) { 108 CodePointer(const void* code_pointer, InstructionSet instruction_set) argument 143 CompiledMethod(CompilerDriver* driver, InstructionSet instruction_set, const ArrayRef<const uint8_t>& quick_code, const size_t frame_size_in_bytes, const uint32_t core_spill_mask, const uint32_t fp_spill_mask, const ArrayRef<const uint8_t>& mapping_table, const ArrayRef<const uint8_t>& vmap_table, const ArrayRef<const uint8_t>& native_gc_map, const ArrayRef<const uint8_t>& cfi_info) argument 161 CompiledMethod(CompilerDriver* driver, InstructionSet instruction_set, const ArrayRef<const uint8_t>& code, const size_t frame_size_in_bytes, const uint32_t core_spill_mask, const uint32_t fp_spill_mask) argument 177 CompiledMethod(CompilerDriver* driver, InstructionSet instruction_set, const std::string& code, const ArrayRef<const uint8_t>& gc_map, const std::string& symbol) argument 188 CompiledMethod(CompilerDriver* driver, InstructionSet instruction_set, const std::string& code, const std::string& symbol) argument 198 SwapAllocCompiledMethod(CompilerDriver* driver, InstructionSet instruction_set, const ArrayRef<const uint8_t>& quick_code, const size_t frame_size_in_bytes, const uint32_t core_spill_mask, const uint32_t fp_spill_mask, const ArrayRef<const uint8_t>& mapping_table, const ArrayRef<const uint8_t>& vmap_table, const ArrayRef<const uint8_t>& native_gc_map, const ArrayRef<const uint8_t>& cfi_info) argument 215 SwapAllocCompiledMethod(CompilerDriver* driver, InstructionSet instruction_set, const ArrayRef<const uint8_t>& quick_code, const size_t frame_size_in_bytes, const uint32_t core_spill_mask, const uint32_t fp_spill_mask) argument [all...] |
H A D | compiled_method.h | 24 #include "instruction_set.h" 40 CompiledCode(CompilerDriver* compiler_driver, InstructionSet instruction_set, 44 CompiledCode(CompilerDriver* compiler_driver, InstructionSet instruction_set, 68 static uint32_t AlignCode(uint32_t offset, InstructionSet instruction_set); 73 static size_t CodeDelta(InstructionSet instruction_set); 79 InstructionSet instruction_set); 110 InstructionSet instruction_set, 122 InstructionSet instruction_set, 129 CompiledMethod(CompilerDriver* driver, InstructionSet instruction_set, const std::string& code, 133 CompiledMethod(CompilerDriver* driver, InstructionSet instruction_set, cons [all...] |
H A D | compilers.cc | 103 switch (cu->instruction_set) { 119 LOG(FATAL) << "Unexpected instruction set: " << cu->instruction_set;
|
H A D | oat_test.cc | 194 InstructionSet instruction_set = kX86; local 199 OatHeader* oat_header = OatHeader::Create(instruction_set,
|
/art/runtime/ |
H A D | native_bridge_art_interface.h | 34 void InitializeNativeBridge(JNIEnv* env, const char* instruction_set);
|
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.h | 24 #include "instruction_set.h" 40 static OatHeader* Create(InstructionSet instruction_set, 110 OatHeader(InstructionSet 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;
|
/art/compiler/optimizing/ |
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 | 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;
|
/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)); 312 InstructionSetPointerSize(instruction_set)); 332 if (instruction_set == kMips && main_jni_conv->GetReturnType() == Primitive::kPrimDouble && 430 if (instruction_set == kArm64) { 438 instruction_set, [all...] |
H A D | calling_convention.h | 226 InstructionSet instruction_set); 274 InstructionSet instruction_set);
|
/art/runtime/native/ |
H A D | dalvik_system_ZygoteHooks.cc | 20 #include "instruction_set.h" 113 jstring instruction_set) { 119 if (instruction_set != nullptr) { 120 ScopedUtfChars isa_string(env, instruction_set); 112 ZygoteHooks_nativePostForkChild(JNIEnv* env, jclass, jlong token, jint debug_flags, jstring instruction_set) argument
|
H A D | dalvik_system_DexFile.cc | 379 const char* pkgname, const char* instruction_set, const jboolean defer) { 504 const InstructionSet target_instruction_set = GetInstructionSetFromString(instruction_set); 507 std::string message(StringPrintf("Instruction set %s is invalid.", instruction_set)); 519 GetDalvikCache(instruction_set, false, &cache_dir, &have_android_data, &dalvik_cache_exists, 592 ScopedUtfChars instruction_set(env, javaInstructionSet); 598 instruction_set.c_str(), defer); 603 const char* instruction_set = GetInstructionSetString(kRuntimeISA); local 606 instruction_set, false /* defer */); 378 IsDexOptNeededInternal(JNIEnv* env, const char* filename, const char* pkgname, const char* instruction_set, const jboolean defer) argument
|
/art/compiler/dex/ |
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...] |
H A D | compiler_ir.h | 66 InstructionSet instruction_set; member in struct:art::CompilationUnit
|
/art/compiler/dex/quick/ |
H A D | gen_invoke.cc | 78 if (cu_->instruction_set == kX86 || cu_->instruction_set == kX86_64) { 147 RegStorage r_tmp = TargetReg(cu_->instruction_set == kMips ? kArg2 : kArg1, kWide); 223 if (cu_->instruction_set == kArm64 || cu_->instruction_set == kX86_64) { 249 if (cu_->instruction_set == kMips) { 255 if (cu_->instruction_set == kMips) { 428 if ((cu_->instruction_set == kThumb2) && t_loc->fp && !need_flush) { 479 if (cu->instruction_set != kX86 && cu->instruction_set ! [all...] |
H A D | gen_common.cc | 447 switch (cu_->instruction_set) { 460 default: LOG(FATAL) << "Unexpected instruction set: " << cu_->instruction_set; 482 if (cu_->instruction_set == kX86 || cu_->instruction_set == kX86_64) { 946 if (cu_->instruction_set != kX86 && cu_->instruction_set != kX86_64) { 1031 DCHECK(cu_->instruction_set != kX86 && cu_->instruction_set != kX86_64); 1062 if (cu_->instruction_set == kThumb2) { 1168 if (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/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/dex2oat/ |
H A D | dex2oat.cc | 248 InstructionSet instruction_set, 258 instruction_set, 263 if (!dex2oat->CreateRuntime(runtime_options, instruction_set)) { 510 InstructionSet instruction_set, 517 instruction_set_(instruction_set), 529 bool CreateRuntime(const RuntimeOptions& runtime_options, InstructionSet instruction_set) 536 runtime->SetInstructionSet(instruction_set); 886 InstructionSet instruction_set = kRuntimeISA; local 986 instruction_set = kThumb2; 988 instruction_set 508 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/compiler/dex/quick/x86/ |
H A D | call_x86.cc | 237 GetInstructionSetPointerSize(cu_->instruction_set)); 282 GetInstructionSetPointerSize(cu_->instruction_set))); 315 stack_increment_ = OpRegImm(kOpAdd, rs_rX86_SP, frame_size_ - GetInstructionSetPointerSize(cu_->instruction_set));
|