Home
last modified time | relevance | path

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

12

/art/disassembler/
Ddisassembler.cc38 Disassembler* Disassembler::Create(InstructionSet instruction_set, DisassemblerOptions* options) { in Create() argument
39 if (instruction_set == InstructionSet::kArm || instruction_set == InstructionSet::kThumb2) { in Create()
41 } else if (instruction_set == InstructionSet::kArm64) { in Create()
43 } else if (instruction_set == InstructionSet::kMips) { in Create()
45 } else if (instruction_set == InstructionSet::kMips64) { in Create()
47 } else if (instruction_set == InstructionSet::kX86) { in Create()
49 } else if (instruction_set == InstructionSet::kX86_64) { in Create()
52 UNIMPLEMENTED(FATAL) << static_cast<uint32_t>(instruction_set); in Create()
66 Disassembler* create_disassembler(InstructionSet instruction_set, DisassemblerOptions* options) { in create_disassembler() argument
67 return Disassembler::Create(instruction_set, options); in create_disassembler()
Ddisassembler.h69 static Disassembler* Create(InstructionSet instruction_set, DisassemblerOptions* options);
99 Disassembler* create_disassembler(InstructionSet instruction_set, DisassemblerOptions* options);
/art/compiler/
Dcompiled_method.cc26 InstructionSet instruction_set, in CompiledCode() argument
30 packed_fields_(InstructionSetField::Encode(instruction_set)) { in CompiledCode()
54 size_t CompiledCode::AlignCode(size_t offset, InstructionSet instruction_set) { in AlignCode() argument
55 return RoundUp(offset, GetInstructionSetAlignment(instruction_set)); in AlignCode()
62 size_t CompiledCode::CodeDelta(InstructionSet instruction_set) { in CodeDelta() argument
63 switch (instruction_set) { in CodeDelta()
76 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set; in CodeDelta()
81 const void* CompiledCode::CodePointer(const void* code_pointer, InstructionSet instruction_set) { in CodePointer() argument
82 switch (instruction_set) { in CodePointer()
97 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set; in CodePointer()
[all …]
Dcompiled_method.h43 InstructionSet instruction_set,
60 static size_t AlignCode(size_t offset, InstructionSet instruction_set);
65 static size_t CodeDelta(InstructionSet instruction_set);
70 static const void* CodePointer(const void* code_pointer, InstructionSet instruction_set);
113 InstructionSet instruction_set,
127 InstructionSet instruction_set,
Dcommon_compiler_test.cc166 const InstructionSet instruction_set = kRuntimeISA; in SetUp() local
170 runtime_->SetInstructionSet(instruction_set); in SetUp()
178 CreateCompilerDriver(compiler_kind_, instruction_set); in SetUp()
/art/compiler/utils/
Djni_macro_assembler.cc51 InstructionSet instruction_set, in Create() argument
57 switch (instruction_set) { in Create()
76 LOG(FATAL) << "Unknown/unsupported 4B InstructionSet: " << instruction_set; in Create()
86 InstructionSet instruction_set, in Create() argument
92 switch (instruction_set) { in Create()
111 LOG(FATAL) << "Unknown/unsupported 8B InstructionSet: " << instruction_set; in Create()
/art/dex2oat/linker/
Dmulti_oat_relative_patcher.cc27 MultiOatRelativePatcher::MultiOatRelativePatcher(InstructionSet instruction_set, in MultiOatRelativePatcher() argument
30 relative_patcher_(RelativePatcher::Create(instruction_set, features, &method_offset_map_)), in MultiOatRelativePatcher()
32 instruction_set_(instruction_set), in MultiOatRelativePatcher()
Delf_writer_quick.cc99 ElfWriterQuick(InstructionSet instruction_set,
146 std::unique_ptr<ElfWriter> CreateElfWriterQuick(InstructionSet instruction_set, in CreateElfWriterQuick() argument
150 if (Is64BitInstructionSet(instruction_set)) { in CreateElfWriterQuick()
151 return std::make_unique<ElfWriterQuick<ElfTypes64>>(instruction_set, in CreateElfWriterQuick()
156 return std::make_unique<ElfWriterQuick<ElfTypes32>>(instruction_set, in CreateElfWriterQuick()
164 ElfWriterQuick<ElfTypes>::ElfWriterQuick(InstructionSet instruction_set, in ElfWriterQuick() argument
178 builder_(new ElfBuilder<ElfTypes>(instruction_set, features, output_stream_.get())) {} in ElfWriterQuick()
Delf_writer_quick.h33 std::unique_ptr<ElfWriter> CreateElfWriterQuick(InstructionSet instruction_set,
/art/compiler/optimizing/
Dregister_allocator.cc72 InstructionSet instruction_set) { in CanAllocateRegistersFor() argument
73 return instruction_set == InstructionSet::kArm in CanAllocateRegistersFor()
74 || instruction_set == InstructionSet::kArm64 in CanAllocateRegistersFor()
75 || instruction_set == InstructionSet::kMips in CanAllocateRegistersFor()
76 || instruction_set == InstructionSet::kMips64 in CanAllocateRegistersFor()
77 || instruction_set == InstructionSet::kThumb2 in CanAllocateRegistersFor()
78 || instruction_set == InstructionSet::kX86 in CanAllocateRegistersFor()
79 || instruction_set == InstructionSet::kX86_64; in CanAllocateRegistersFor()
Doptimizing_compiler.cc432 static bool IsInstructionSetSupported(InstructionSet instruction_set) { in IsInstructionSetSupported() argument
433 return instruction_set == InstructionSet::kArm in IsInstructionSetSupported()
434 || instruction_set == InstructionSet::kArm64 in IsInstructionSetSupported()
435 || instruction_set == InstructionSet::kThumb2 in IsInstructionSetSupported()
436 || instruction_set == InstructionSet::kMips in IsInstructionSetSupported()
437 || instruction_set == InstructionSet::kMips64 in IsInstructionSetSupported()
438 || instruction_set == InstructionSet::kX86 in IsInstructionSetSupported()
439 || instruction_set == InstructionSet::kX86_64; in IsInstructionSetSupported()
746 InstructionSet instruction_set = compiler_driver->GetInstructionSet(); in TryCompile() local
753 DCHECK_NE(instruction_set, InstructionSet::kArm); in TryCompile()
[all …]
Dregister_allocator.h64 InstructionSet instruction_set);
/art/compiler/jni/quick/
Dcalling_convention.cc54 InstructionSet instruction_set) { in Create() argument
55 switch (instruction_set) { in Create()
94 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set; in Create()
156 InstructionSet instruction_set) { in Create() argument
157 switch (instruction_set) { in Create()
196 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set; in Create()
Djni_compiler.h33 JniCompiledMethod(InstructionSet instruction_set, in JniCompiledMethod() argument
39 : instruction_set_(instruction_set), in JniCompiledMethod()
Djni_compiler.cc126 InstructionSet instruction_set = driver->GetInstructionSet(); in ArtJniCompileMethodInternal() local
187 instruction_set); in ArtJniCompileMethodInternal()
192 &allocator, is_static, is_synchronized, shorty, instruction_set)); in ArtJniCompileMethodInternal()
213 instruction_set)); in ArtJniCompileMethodInternal()
217 GetMacroAssembler<kPointerSize>(&allocator, instruction_set, instruction_set_features); in ArtJniCompileMethodInternal()
322 (instruction_set != InstructionSet::kMips) && (instruction_set != InstructionSet::kMips64); in ArtJniCompileMethodInternal()
504 ArtMethod::EntryPointFromJniOffset(InstructionSetPointerSize(instruction_set)); in ArtJniCompileMethodInternal()
530 if ((instruction_set == InstructionSet::kMips || in ArtJniCompileMethodInternal()
531 instruction_set == InstructionSet::kMips64) && in ArtJniCompileMethodInternal()
659 return JniCompiledMethod(instruction_set, in ArtJniCompileMethodInternal()
/art/compiler/jit/
Djit_compiler.cc106 const InstructionSet instruction_set = kRuntimeISA; in JitCompiler() local
114 instruction_set, str.as_string(), &error_msg); in JitCompiler()
123 instruction_set, "default", &error_msg); in JitCompiler()
142 instruction_set, in JitCompiler()
/art/compiler/linker/
Drelative_patcher_test.h43 RelativePatcherTest(InstructionSet instruction_set, const std::string& variant) in RelativePatcherTest() argument
49 instruction_set, in RelativePatcherTest()
58 instruction_set_(instruction_set), in RelativePatcherTest()
59 features_(InstructionSetFeatures::FromVariant(instruction_set, variant, &error_msg_)), in RelativePatcherTest()
61 patcher_(RelativePatcher::Create(instruction_set, features_.get(), &method_offset_map_)), in RelativePatcherTest()
68 CHECK(error_msg_.empty()) << instruction_set << "/" << variant; in RelativePatcherTest()
Drelative_patcher.cc44 InstructionSet instruction_set, in Create() argument
96 switch (instruction_set) { in Create()
/art/runtime/native/
Ddalvik_system_DexFile.cc468 const char* instruction_set, in GetDexOptNeeded() argument
481 const InstructionSet target_instruction_set = GetInstructionSetFromString(instruction_set); in GetDexOptNeeded()
484 std::string message(StringPrintf("Instruction set %s is invalid.", instruction_set)); in GetDexOptNeeded()
535 ScopedUtfChars instruction_set(env, javaInstructionSet); in DexFile_getDexFileStatus() local
541 instruction_set.c_str()); in DexFile_getDexFileStatus()
544 std::string message(StringPrintf("Instruction set %s is invalid.", instruction_set.c_str())); in DexFile_getDexFileStatus()
565 ScopedUtfChars instruction_set(env, javaInstructionSet); in DexFile_getDexFileOptimizationStatus() local
571 instruction_set.c_str()); in DexFile_getDexFileOptimizationStatus()
574 std::string message(StringPrintf("Instruction set %s is invalid.", instruction_set.c_str())); in DexFile_getDexFileOptimizationStatus()
616 ScopedUtfChars instruction_set(env, javaInstructionSet); in DexFile_getDexOptNeeded() local
[all …]
Ddalvik_system_ZygoteHooks.cc288 jstring instruction_set) { in ZygoteHooks_nativePostForkChild() argument
387 if (instruction_set != nullptr && !is_system_server) { in ZygoteHooks_nativePostForkChild()
388 ScopedUtfChars isa_string(env, instruction_set); in ZygoteHooks_nativePostForkChild()
/art/runtime/
Dnative_bridge_art_interface.h34 void InitializeNativeBridge(JNIEnv* env, const char* instruction_set);
Dnative_bridge_art_interface.cc113 void InitializeNativeBridge(JNIEnv* env, const char* instruction_set) { in InitializeNativeBridge() argument
114 if (android::InitializeNativeBridge(env, instruction_set)) { in InitializeNativeBridge()
Dstack_map.cc121 InstructionSet instruction_set, in Dump() argument
146 instruction_set, in Dump()
197 InstructionSet instruction_set, in Dump() argument
200 const uint32_t pc_offset = GetNativePcOffset(stack_map_encoding, instruction_set); in Dump()
Doat.cc50 OatHeader* OatHeader::Create(InstructionSet instruction_set, in Create() argument
61 return new (memory) OatHeader(instruction_set, in Create()
67 OatHeader::OatHeader(InstructionSet instruction_set, in OatHeader() argument
72 instruction_set_(instruction_set), in OatHeader()
97 CHECK_NE(instruction_set, InstructionSet::kNone); in OatHeader()
Doat.h54 static OatHeader* Create(InstructionSet instruction_set,
125 OatHeader(InstructionSet instruction_set,

12