Home
last modified time | relevance | path

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

12

/art/compiler/
Dcompiled_method.cc25 InstructionSet instruction_set, in CompiledCode() argument
29 packed_fields_(InstructionSetField::Encode(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()
80 const void* CompiledCode::CodePointer(const void* code_pointer, InstructionSet instruction_set) { in CodePointer() argument
81 switch (instruction_set) { in CodePointer()
96 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set; in CodePointer()
[all …]
Dcompiled_method.h42 InstructionSet instruction_set,
59 static size_t AlignCode(size_t offset, InstructionSet instruction_set);
64 static size_t CodeDelta(InstructionSet instruction_set);
69 static const void* CodePointer(const void* code_pointer, InstructionSet instruction_set);
112 InstructionSet instruction_set,
122 InstructionSet instruction_set,
Dcommon_compiler_test.cc134 void CommonCompilerTest::OverrideInstructionSetFeatures(InstructionSet instruction_set, in OverrideInstructionSetFeatures() argument
136 instruction_set_ = instruction_set; in OverrideInstructionSetFeatures()
139 InstructionSetFeatures::FromVariant(instruction_set, variant, &error_msg); in OverrideInstructionSetFeatures()
Dcommon_compiler_test.h80 void OverrideInstructionSetFeatures(InstructionSet instruction_set, const std::string& variant);
/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/disassembler/
Ddisassembler.cc49 Disassembler* Disassembler::Create(InstructionSet instruction_set, DisassemblerOptions* options) { in Create() argument
50 switch (instruction_set) { in Create()
77 UNIMPLEMENTED(FATAL) << static_cast<uint32_t>(instruction_set); in Create()
91 Disassembler* create_disassembler(InstructionSet instruction_set, DisassemblerOptions* options) { in create_disassembler() argument
92 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/dex2oat/linker/
Dmulti_oat_relative_patcher.cc36 MultiOatRelativePatcher::MultiOatRelativePatcher(InstructionSet instruction_set, in MultiOatRelativePatcher() argument
41 relative_patcher_(RelativePatcher::Create(instruction_set, in MultiOatRelativePatcher()
46 instruction_set_(instruction_set), in MultiOatRelativePatcher()
Drelative_patcher.cc44 InstructionSet instruction_set, in Create() argument
98 switch (instruction_set) { in Create()
Drelative_patcher.h94 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()
Dstack_map_stream.h39 explicit StackMapStream(ScopedArenaAllocator* allocator, InstructionSet instruction_set) in StackMapStream() argument
41 instruction_set_(instruction_set), in StackMapStream()
Dregister_allocator.h64 InstructionSet instruction_set);
Doptimizing_compiler.cc449 static bool IsInstructionSetSupported(InstructionSet instruction_set) { in IsInstructionSetSupported() argument
450 return instruction_set == InstructionSet::kArm in IsInstructionSetSupported()
451 || instruction_set == InstructionSet::kArm64 in IsInstructionSetSupported()
452 || instruction_set == InstructionSet::kThumb2 in IsInstructionSetSupported()
453 || instruction_set == InstructionSet::kMips in IsInstructionSetSupported()
454 || instruction_set == InstructionSet::kMips64 in IsInstructionSetSupported()
455 || instruction_set == InstructionSet::kX86 in IsInstructionSetSupported()
456 || instruction_set == InstructionSet::kX86_64; in IsInstructionSetSupported()
788 InstructionSet instruction_set = compiler_options.GetInstructionSet(); in TryCompile() local
795 DCHECK_NE(instruction_set, InstructionSet::kArm); in TryCompile()
[all …]
/art/compiler/jit/
Djit_compiler.cc67 const InstructionSet instruction_set = compiler_options_->GetInstructionSet(); in ParseCompilerOptions() local
69 DCHECK_EQ(instruction_set, InstructionSet::kThumb2); in ParseCompilerOptions()
71 DCHECK_EQ(instruction_set, kRuntimeISA); in ParseCompilerOptions()
81 instruction_set, str, &error_msg); in ParseCompilerOptions()
90 instruction_set, "default", &error_msg); in ParseCompilerOptions()
/art/compiler/jni/quick/
Dcalling_convention.cc56 InstructionSet instruction_set) { in Create() argument
57 switch (instruction_set) { in Create()
96 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set; in Create()
158 InstructionSet instruction_set) { in Create() argument
159 switch (instruction_set) { in Create()
198 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 = compiler_options.GetInstructionSet(); in ArtJniCompileMethodInternal() local
188 instruction_set); in ArtJniCompileMethodInternal()
193 &allocator, is_static, is_synchronized, shorty, instruction_set)); in ArtJniCompileMethodInternal()
214 instruction_set)); in ArtJniCompileMethodInternal()
218 GetMacroAssembler<kPointerSize>(&allocator, instruction_set, instruction_set_features); in ArtJniCompileMethodInternal()
316 (instruction_set != InstructionSet::kMips) && (instruction_set != InstructionSet::kMips64); in ArtJniCompileMethodInternal()
498 ArtMethod::EntryPointFromJniOffset(InstructionSetPointerSize(instruction_set)); in ArtJniCompileMethodInternal()
524 if ((instruction_set == InstructionSet::kMips || in ArtJniCompileMethodInternal()
525 instruction_set == InstructionSet::kMips64) && in ArtJniCompileMethodInternal()
653 return JniCompiledMethod(instruction_set, in ArtJniCompileMethodInternal()
/art/runtime/native/
Ddalvik_system_DexFile.cc526 const char* instruction_set, in GetDexOptNeeded() argument
539 const InstructionSet target_instruction_set = GetInstructionSetFromString(instruction_set); in GetDexOptNeeded()
542 std::string message(StringPrintf("Instruction set %s is invalid.", instruction_set)); in GetDexOptNeeded()
593 ScopedUtfChars instruction_set(env, javaInstructionSet); in DexFile_getDexFileStatus() local
599 instruction_set.c_str()); in DexFile_getDexFileStatus()
602 std::string message(StringPrintf("Instruction set %s is invalid.", instruction_set.c_str())); in DexFile_getDexFileStatus()
623 ScopedUtfChars instruction_set(env, javaInstructionSet); in DexFile_getDexFileOptimizationStatus() local
629 instruction_set.c_str()); in DexFile_getDexFileOptimizationStatus()
632 std::string message(StringPrintf("Instruction set %s is invalid.", instruction_set.c_str())); in DexFile_getDexFileOptimizationStatus()
674 ScopedUtfChars instruction_set(env, javaInstructionSet); in DexFile_getDexOptNeeded() local
[all …]
Ddalvik_system_ZygoteHooks.cc281 jstring instruction_set) { in ZygoteHooks_nativePostForkChild() argument
395 if (instruction_set != nullptr && !is_system_server) { in ZygoteHooks_nativePostForkChild()
396 ScopedUtfChars isa_string(env, instruction_set); in ZygoteHooks_nativePostForkChild()
/art/runtime/
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()
Doat.cc48 OatHeader* OatHeader::Create(InstructionSet instruction_set, in Create() argument
59 return new (memory) OatHeader(instruction_set, in Create()
65 OatHeader::OatHeader(InstructionSet instruction_set, in OatHeader() argument
70 instruction_set_(instruction_set), in OatHeader()
90 CHECK_NE(instruction_set, InstructionSet::kNone); in OatHeader()
Doat.h52 static OatHeader* Create(InstructionSet instruction_set,
106 OatHeader(InstructionSet instruction_set,
Dstack_map.cc228 InstructionSet instruction_set) const { in Dump()
272 stack_map.Dump(vios, *this, code_offset, instruction_set); in Dump()
280 InstructionSet instruction_set) const { in Dump()
281 const uint32_t pc_offset = GetNativePcOffset(instruction_set); in Dump()
Dstack_map.h141 ALWAYS_INLINE uint32_t GetNativePcOffset(InstructionSet instruction_set) const { in GetNativePcOffset() argument
142 return UnpackNativePc(GetPackedNativePc(), instruction_set); in GetNativePcOffset()
167 InstructionSet instruction_set) const;
436 InstructionSet instruction_set) const;

12