Home
last modified time | relevance | path

Searched refs:instruction_set (Results 1 – 25 of 57) sorted by relevance

123

/art/disassembler/
Ddisassembler.cc30 Disassembler* Disassembler::Create(InstructionSet instruction_set, DisassemblerOptions* options) { in Create() argument
31 if (instruction_set == kArm || instruction_set == kThumb2) { in Create()
33 } else if (instruction_set == kArm64) { in Create()
35 } else if (instruction_set == kMips) { in Create()
37 } else if (instruction_set == kX86) { in Create()
39 } else if (instruction_set == kX86_64) { in Create()
42 UNIMPLEMENTED(FATAL) << "no disassembler for " << instruction_set; in Create()
Ddisassembler.h49 static Disassembler* Create(InstructionSet instruction_set, DisassemblerOptions* options);
/art/compiler/
Dcompiled_method.cc22 CompiledCode::CompiledCode(CompilerDriver* compiler_driver, InstructionSet instruction_set, in CompiledCode() argument
24 : compiler_driver_(compiler_driver), instruction_set_(instruction_set), in CompiledCode()
29 CompiledCode::CompiledCode(CompilerDriver* compiler_driver, InstructionSet instruction_set, in CompiledCode() argument
31 : compiler_driver_(compiler_driver), instruction_set_(instruction_set), in CompiledCode()
82 uint32_t CompiledCode::AlignCode(uint32_t offset, InstructionSet instruction_set) { in AlignCode() argument
83 return RoundUp(offset, GetInstructionSetAlignment(instruction_set)); in AlignCode()
90 size_t CompiledCode::CodeDelta(InstructionSet instruction_set) { in CodeDelta() argument
91 switch (instruction_set) { in CodeDelta()
103 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set; in CodeDelta()
109 InstructionSet instruction_set) { in CodePointer() argument
[all …]
Dcompiled_method.h40 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, const std::string& code,
139 InstructionSet instruction_set,
[all …]
Dcompilers.cc103 switch (cu->instruction_set) { in GetCodeGenerator()
119 LOG(FATAL) << "Unexpected instruction set: " << cu->instruction_set; in GetCodeGenerator()
/art/compiler/optimizing/
Doptimizing_compiler.cc81 InstructionSet instruction_set = GetCompilerDriver()->GetInstructionSet(); in TryCompile() local
84 if (instruction_set == kArm) { in TryCompile()
85 instruction_set = kThumb2; in TryCompile()
89 if (instruction_set != kX86 && instruction_set != kX86_64 && instruction_set != kThumb2) { in TryCompile()
116 CodeGenerator* codegen = CodeGenerator::Create(&arena, graph, instruction_set); in TryCompile()
130 if (RegisterAllocator::CanAllocateRegistersFor(*graph, instruction_set)) { in TryCompile()
148 } else if (shouldOptimize && RegisterAllocator::Supports(instruction_set)) { in TryCompile()
171 instruction_set, in TryCompile()
Dregister_allocator.h67 static bool CanAllocateRegistersFor(const HGraph& graph, InstructionSet instruction_set);
68 static bool Supports(InstructionSet instruction_set) { in Supports() argument
69 return instruction_set == kX86 in Supports()
70 || instruction_set == kArm in Supports()
71 || instruction_set == kX86_64 in Supports()
72 || instruction_set == kThumb2; in Supports()
/art/compiler/dex/
Dfrontend.cc494 instruction_set(kNone), in CompilationUnit()
536 static bool CanCompileShorty(const char* shorty, InstructionSet instruction_set) { in CanCompileShorty() argument
537 const char* supported_types = kSupportedTypes[instruction_set]; in CanCompileShorty()
564 if (kSupportedTypes[cu.instruction_set] == nullptr && in CanCompileMethod()
565 kUnsupportedOpcodesSize[cu.instruction_set] == 0U) { in CanCompileMethod()
571 if (!CanCompileShorty(shorty, cu.instruction_set)) { in CanCompileMethod()
576 const int *unsupport_list = kUnsupportedOpcodes[cu.instruction_set]; in CanCompileMethod()
577 int unsupport_list_size = kUnsupportedOpcodesSize[cu.instruction_set]; in CanCompileMethod()
606 if (!CanCompileShorty(invoke_method_shorty, cu.instruction_set)) { in CanCompileMethod()
652 cu.instruction_set = driver.GetInstructionSet(); in CompileMethod()
[all …]
Dcompiler_ir.h66 InstructionSet instruction_set; member
/art/compiler/dex/quick/
Dgen_invoke.cc78 if (cu_->instruction_set == kX86 || cu_->instruction_set == kX86_64) { in CallHelperSetup()
147 RegStorage r_tmp = TargetReg(cu_->instruction_set == kMips ? kArg2 : kArg1, kWide); in CallRuntimeHelperImmRegLocation()
223 if (cu_->instruction_set == kArm64 || cu_->instruction_set == kX86_64) { in CallRuntimeHelperRegLocationRegLocation()
249 if (cu_->instruction_set == kMips) { in CallRuntimeHelperRegLocationRegLocation()
255 if (cu_->instruction_set == kMips) { in CallRuntimeHelperRegLocationRegLocation()
428 if ((cu_->instruction_set == kThumb2) && t_loc->fp && !need_flush) { in FlushIns()
479 if (cu->instruction_set != kX86 && cu->instruction_set != kX86_64) { in CommonCallCodeLoadCodePointerIntoInvokeTgt()
481 InstructionSetPointerSize(cu->instruction_set)).Int32Value(); in CommonCallCodeLoadCodePointerIntoInvokeTgt()
504 if (cu->instruction_set != kX86 && cu->instruction_set != kX86_64) { in NextSDCallInsn()
507 } else if (cu->instruction_set != kX86 && cu->instruction_set != kX86_64) { in NextSDCallInsn()
[all …]
Dgen_common.cc447 switch (cu_->instruction_set) { in GenFilledNewArray()
460 default: LOG(FATAL) << "Unexpected instruction set: " << cu_->instruction_set; in GenFilledNewArray()
482 if (cu_->instruction_set == kX86 || cu_->instruction_set == kX86_64) { in GenFilledNewArray()
946 if (cu_->instruction_set != kX86 && cu_->instruction_set != kX86_64) { in GenConstString()
1031 DCHECK(cu_->instruction_set != kX86 && cu_->instruction_set != kX86_64); in GenInstanceofFinal()
1062 if (cu_->instruction_set == kThumb2) { in GenInstanceofFinal()
1168 if (cu_->instruction_set == kThumb2) { in GenInstanceofCallingHelper()
1352 if (cu_->instruction_set == kThumb2) { in GenLong3Addr()
1388 if (cu_->instruction_set == kThumb2) { in GenLong3Addr()
1423 DCHECK(cu_->instruction_set != kX86 && cu_->instruction_set != kX86_64); in GenArithOpInt()
[all …]
Dcodegen_util.cc542 switch (cu_->instruction_set) { in InstallSwitchTables()
555 default: LOG(FATAL) << "Unexpected instruction set: " << cu_->instruction_set; in InstallSwitchTables()
785 unsigned int ptr_size = GetInstructionSetPointerSize(cu_->instruction_set); in AssignLiteralOffset()
1078 if (cu_->instruction_set == kThumb2) { in GetCompiledMethod()
1106 cu_->compiler_driver, cu_->instruction_set, in GetCompiledMethod()
1131 uint32_t size = num_core_spills_ * GetBytesPerGprSpillLocation(cu_->instruction_set) in ComputeFrameSize()
1132 + num_fp_spills_ * GetBytesPerFprSpillLocation(cu_->instruction_set) in ComputeFrameSize()
1239 DCHECK_NE(cu_->instruction_set, kMips) << reinterpret_cast<void*>(data_target); in LoadCodeAddress()
1256 DCHECK_NE(cu_->instruction_set, kMips) << reinterpret_cast<void*>(data_target); in LoadMethodAddress()
/art/compiler/jni/quick/
Dcalling_convention.cc32 bool is_static, bool is_synchronized, const char* shorty, InstructionSet instruction_set) { in Create() argument
33 switch (instruction_set) { in Create()
46 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set; in Create()
105 InstructionSet instruction_set) { in Create() argument
106 switch (instruction_set) { in Create()
119 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set; in Create()
Djni_compiler.cc65 InstructionSet instruction_set = driver->GetInstructionSet(); in ArtJniCompileMethodInternal() local
66 const bool is_64_bit_target = Is64BitInstructionSet(instruction_set); in ArtJniCompileMethodInternal()
69 JniCallingConvention::Create(is_static, is_synchronized, shorty, instruction_set)); in ArtJniCompileMethodInternal()
73 ManagedRuntimeCallingConvention::Create(is_static, is_synchronized, shorty, instruction_set)); in ArtJniCompileMethodInternal()
89 JniCallingConvention::Create(is_static, is_synchronized, jni_end_shorty, instruction_set)); in ArtJniCompileMethodInternal()
92 std::unique_ptr<Assembler> jni_asm(Assembler::Create(instruction_set)); in ArtJniCompileMethodInternal()
312 InstructionSetPointerSize(instruction_set)); in ArtJniCompileMethodInternal()
332 if (instruction_set == kMips && main_jni_conv->GetReturnType() == Primitive::kPrimDouble && in ArtJniCompileMethodInternal()
430 if (instruction_set == kArm64) { in ArtJniCompileMethodInternal()
438 instruction_set, in ArtJniCompileMethodInternal()
Dcalling_convention.h226 InstructionSet instruction_set);
274 InstructionSet instruction_set);
/art/runtime/native/
Ddalvik_system_ZygoteHooks.cc113 jstring instruction_set) { in ZygoteHooks_nativePostForkChild() argument
119 if (instruction_set != nullptr) { in ZygoteHooks_nativePostForkChild()
120 ScopedUtfChars isa_string(env, instruction_set); in ZygoteHooks_nativePostForkChild()
Ddalvik_system_DexFile.cc379 const char* pkgname, const char* instruction_set, const jboolean defer) { in CopyProfileFile() argument
504 const InstructionSet target_instruction_set = GetInstructionSetFromString(instruction_set); in CopyProfileFile()
507 std::string message(StringPrintf("Instruction set %s is invalid.", instruction_set)); in CopyProfileFile()
519 GetDalvikCache(instruction_set, false, &cache_dir, &have_android_data, &dalvik_cache_exists, in CopyProfileFile()
592 ScopedUtfChars instruction_set(env, javaInstructionSet); in CopyProfileFile() local
598 instruction_set.c_str(), defer); in CopyProfileFile()
603 const char* instruction_set = GetInstructionSetString(kRuntimeISA); in CopyProfileFile() local
606 instruction_set, false /* defer */); in CopyProfileFile()
/art/compiler/utils/
Dassembler.cc107 Assembler* Assembler::Create(InstructionSet instruction_set) { in Create() argument
108 switch (instruction_set) { in Create()
122 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set; in Create()
/art/compiler/sea_ir/code_gen/
Dcode_gen_data.cc32 std::string CodeGenData::GetElf(art::InstructionSet instruction_set) { in GetElf() argument
39 art::CompilerDriver::InstructionSetToLLVMTarget(instruction_set, in GetElf()
/art/runtime/
Dnative_bridge_art_interface.h34 void InitializeNativeBridge(JNIEnv* env, const char* instruction_set);
Dnative_bridge_art_interface.cc127 void InitializeNativeBridge(JNIEnv* env, const char* instruction_set) { in InitializeNativeBridge() argument
128 android::InitializeNativeBridge(env, instruction_set); in InitializeNativeBridge()
Doat.cc41 OatHeader* OatHeader::Create(InstructionSet instruction_set, in Create() argument
54 return new (memory) OatHeader(instruction_set, in Create()
62 OatHeader::OatHeader(InstructionSet instruction_set, in OatHeader() argument
75 CHECK_NE(instruction_set, kNone); in OatHeader()
76 instruction_set_ = instruction_set; in OatHeader()
Doat.h40 static OatHeader* Create(InstructionSet instruction_set,
110 OatHeader(InstructionSet instruction_set,
/art/dex2oat/
Ddex2oat.cc248 InstructionSet instruction_set, in Create() argument
258 instruction_set, in Create()
263 if (!dex2oat->CreateRuntime(runtime_options, instruction_set)) { in Create()
510 InstructionSet instruction_set, in Dex2Oat() argument
517 instruction_set_(instruction_set), in Dex2Oat()
529 bool CreateRuntime(const RuntimeOptions& runtime_options, InstructionSet instruction_set) in CreateRuntime() argument
536 runtime->SetInstructionSet(instruction_set); in CreateRuntime()
886 InstructionSet instruction_set = kRuntimeISA; in dex2oat() local
986 instruction_set = kThumb2; in dex2oat()
988 instruction_set = kArm64; in dex2oat()
[all …]
/art/compiler/dex/quick/x86/
Dcall_x86.cc237 GetInstructionSetPointerSize(cu_->instruction_set)); in GenEntrySequence()
282 GetInstructionSetPointerSize(cu_->instruction_set))); in GenEntrySequence()
315 …_ = OpRegImm(kOpAdd, rs_rX86_SP, frame_size_ - GetInstructionSetPointerSize(cu_->instruction_set)); in GenExitSequence()

123