Home
last modified time | relevance | path

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

12

/art/disassembler/
Ddisassembler.cc38 Disassembler* Disassembler::Create(InstructionSet instruction_set, DisassemblerOptions* options) { in Create() argument
39 if (instruction_set == kArm || instruction_set == kThumb2) { in Create()
41 } else if (instruction_set == kArm64) { in Create()
43 } else if (instruction_set == kMips) { in Create()
45 } else if (instruction_set == kMips64) { in Create()
47 } else if (instruction_set == kX86) { in Create()
49 } else if (instruction_set == 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.cc25 CompiledCode::CompiledCode(CompilerDriver* compiler_driver, InstructionSet instruction_set, in CompiledCode() argument
28 instruction_set_(instruction_set), in CompiledCode()
53 size_t CompiledCode::AlignCode(size_t offset, InstructionSet instruction_set) { in AlignCode() argument
54 return RoundUp(offset, GetInstructionSetAlignment(instruction_set)); in AlignCode()
61 size_t CompiledCode::CodeDelta(InstructionSet instruction_set) { in CodeDelta() argument
62 switch (instruction_set) { in CodeDelta()
75 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set; in CodeDelta()
81 InstructionSet instruction_set) { in CodePointer() argument
82 switch (instruction_set) { in CodePointer()
97 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set; in CodePointer()
[all …]
Delf_writer_quick.cc89 ElfWriterQuick(InstructionSet instruction_set,
134 std::unique_ptr<ElfWriter> CreateElfWriterQuick(InstructionSet instruction_set, in CreateElfWriterQuick() argument
138 if (Is64BitInstructionSet(instruction_set)) { in CreateElfWriterQuick()
139 return std::make_unique<ElfWriterQuick<ElfTypes64>>(instruction_set, in CreateElfWriterQuick()
144 return std::make_unique<ElfWriterQuick<ElfTypes32>>(instruction_set, in CreateElfWriterQuick()
152 ElfWriterQuick<ElfTypes>::ElfWriterQuick(InstructionSet instruction_set, in ElfWriterQuick() argument
165 builder_(new ElfBuilder<ElfTypes>(instruction_set, features, output_stream_.get())) {} in ElfWriterQuick()
Delf_writer_quick.h31 std::unique_ptr<ElfWriter> CreateElfWriterQuick(InstructionSet instruction_set,
Dcompiled_method.h40 CompiledCode(CompilerDriver* compiler_driver, InstructionSet instruction_set,
59 static size_t AlignCode(size_t offset, InstructionSet instruction_set);
64 static size_t CodeDelta(InstructionSet instruction_set);
70 InstructionSet instruction_set);
363 InstructionSet instruction_set,
377 InstructionSet instruction_set,
/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/compiler/linker/
Dmulti_oat_relative_patcher.cc26 MultiOatRelativePatcher::MultiOatRelativePatcher(InstructionSet instruction_set, in MultiOatRelativePatcher() argument
30 linker::RelativePatcher::Create(instruction_set, features, &method_offset_map_)), in MultiOatRelativePatcher()
32 instruction_set_(instruction_set), in MultiOatRelativePatcher()
Drelative_patcher_test.h43 RelativePatcherTest(InstructionSet instruction_set, const std::string& variant) in RelativePatcherTest() argument
49 instruction_set, in RelativePatcherTest()
61 instruction_set_(instruction_set), in RelativePatcherTest()
62 features_(InstructionSetFeatures::FromVariant(instruction_set, variant, &error_msg_)), in RelativePatcherTest()
64 patcher_(RelativePatcher::Create(instruction_set, features_.get(), &method_offset_map_)), in RelativePatcherTest()
71 CHECK(error_msg_.empty()) << instruction_set << "/" << variant; in RelativePatcherTest()
Drelative_patcher.cc43 InstructionSet instruction_set, in Create() argument
90 switch (instruction_set) { in Create()
/art/compiler/optimizing/
Dregister_allocator.cc54 InstructionSet instruction_set) { in CanAllocateRegistersFor() argument
55 return instruction_set == kArm in CanAllocateRegistersFor()
56 || instruction_set == kArm64 in CanAllocateRegistersFor()
57 || instruction_set == kMips in CanAllocateRegistersFor()
58 || instruction_set == kMips64 in CanAllocateRegistersFor()
59 || instruction_set == kThumb2 in CanAllocateRegistersFor()
60 || instruction_set == kX86 in CanAllocateRegistersFor()
61 || instruction_set == kX86_64; in CanAllocateRegistersFor()
Doptimizing_compiler.cc394 void RunArchOptimizations(InstructionSet instruction_set,
443 static bool IsInstructionSetSupported(InstructionSet instruction_set) { in IsInstructionSetSupported() argument
444 return (instruction_set == kArm && !kArm32QuickCodeUseSoftFloat) in IsInstructionSetSupported()
445 || instruction_set == kArm64 in IsInstructionSetSupported()
446 || (instruction_set == kThumb2 && !kArm32QuickCodeUseSoftFloat) in IsInstructionSetSupported()
447 || instruction_set == kMips in IsInstructionSetSupported()
448 || instruction_set == kMips64 in IsInstructionSetSupported()
449 || instruction_set == kX86 in IsInstructionSetSupported()
450 || instruction_set == kX86_64; in IsInstructionSetSupported()
629 void OptimizingCompiler::RunArchOptimizations(InstructionSet instruction_set, in RunArchOptimizations() argument
[all …]
Dregister_allocator.h65 InstructionSet instruction_set);
Dstack_map_stream.h64 InstructionSet instruction_set) in StackMapStream() argument
66 instruction_set_(instruction_set), in StackMapStream()
/art/compiler/jni/quick/
Dcalling_convention.cc54 InstructionSet instruction_set) { in Create() argument
55 switch (instruction_set) { in Create()
92 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set; in Create()
154 InstructionSet instruction_set) { in Create() argument
155 switch (instruction_set) { in Create()
206 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set; in Create()
Djni_compiler.cc130 InstructionSet instruction_set = driver->GetInstructionSet(); in ArtJniCompileMethodInternal() local
191 instruction_set); in ArtJniCompileMethodInternal()
196 &arena, is_static, is_synchronized, shorty, instruction_set)); in ArtJniCompileMethodInternal()
217 instruction_set)); in ArtJniCompileMethodInternal()
221 GetMacroAssembler<kPointerSize>(&arena, instruction_set, instruction_set_features); in ArtJniCompileMethodInternal()
324 (instruction_set != kMips) && (instruction_set != kMips64); in ArtJniCompileMethodInternal()
506 ArtMethod::EntryPointFromJniOffset(InstructionSetPointerSize(instruction_set)); in ArtJniCompileMethodInternal()
532 if ((instruction_set == kMips || instruction_set == kMips64) && in ArtJniCompileMethodInternal()
658 instruction_set, in ArtJniCompileMethodInternal()
/art/compiler/jit/
Djit_compiler.cc107 const InstructionSet instruction_set = kRuntimeISA; in JitCompiler() local
115 instruction_set, str.as_string(), &error_msg); in JitCompiler()
124 instruction_set, "default", &error_msg); in JitCompiler()
144 instruction_set, in JitCompiler()
/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, kNone); in OatHeader()
Doat.h53 static OatHeader* Create(InstructionSet instruction_set,
124 OatHeader(InstructionSet instruction_set,
/art/runtime/native/
Ddalvik_system_DexFile.cc459 const char* instruction_set, in GetDexOptNeeded() argument
471 const InstructionSet target_instruction_set = GetInstructionSetFromString(instruction_set); in GetDexOptNeeded()
474 std::string message(StringPrintf("Instruction set %s is invalid.", instruction_set)); in GetDexOptNeeded()
510 ScopedUtfChars instruction_set(env, javaInstructionSet); in DexFile_getDexFileStatus() local
516 instruction_set.c_str()); in DexFile_getDexFileStatus()
519 std::string message(StringPrintf("Instruction set %s is invalid.", instruction_set.c_str())); in DexFile_getDexFileStatus()
541 ScopedUtfChars instruction_set(env, javaInstructionSet); in DexFile_getDexOptNeeded() local
553 instruction_set.c_str(), in DexFile_getDexOptNeeded()
676 ScopedUtfChars instruction_set(env, javaInstructionSet); in DexFile_getDexFileOutputPaths() local
682 instruction_set.c_str()); in DexFile_getDexFileOutputPaths()
[all …]
Ddalvik_system_ZygoteHooks.cc265 jstring instruction_set) { in ZygoteHooks_nativePostForkChild() argument
314 if (instruction_set != nullptr && !is_system_server) { in ZygoteHooks_nativePostForkChild()
315 ScopedUtfChars isa_string(env, instruction_set); in ZygoteHooks_nativePostForkChild()
/art/compiler/dex/
Ddex_to_dex_compiler.cc383 InstructionSet instruction_set = driver->GetInstructionSet(); in ArtCompileDEX() local
384 if (instruction_set == kThumb2) { in ArtCompileDEX()
386 instruction_set = kArm; in ArtCompileDEX()
390 instruction_set, in ArtCompileDEX()

12