Home
last modified time | relevance | path

Searched refs:instruction_set (Results 1 – 25 of 49) 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()
73 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set; in CodeDelta()
78 const void* CompiledCode::CodePointer(const void* code_pointer, InstructionSet instruction_set) { in CodePointer() argument
79 switch (instruction_set) { in CodePointer()
92 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.cc48 InstructionSet instruction_set, const std::string& variant) { in CreateCompilerOptions() argument
50 compiler_options->instruction_set_ = instruction_set; in CreateCompilerOptions()
53 InstructionSetFeatures::FromVariant(instruction_set, variant, &error_msg); in CreateCompilerOptions()
147 void CommonCompilerTest::OverrideInstructionSetFeatures(InstructionSet instruction_set, in OverrideInstructionSetFeatures() argument
149 instruction_set_ = instruction_set; in OverrideInstructionSetFeatures()
152 InstructionSetFeatures::FromVariant(instruction_set, variant, &error_msg); in OverrideInstructionSetFeatures()
Dcommon_compiler_test.h47 static std::unique_ptr<CompilerOptions> CreateCompilerOptions(InstructionSet instruction_set,
83 void OverrideInstructionSetFeatures(InstructionSet instruction_set, const std::string& variant);
/art/compiler/utils/
Djni_macro_assembler.cc45 InstructionSet instruction_set, in Create() argument
50 switch (instruction_set) { in Create()
61 LOG(FATAL) << "Unknown/unsupported 4B InstructionSet: " << instruction_set; in Create()
71 InstructionSet instruction_set, in Create() argument
76 switch (instruction_set) { in Create()
87 LOG(FATAL) << "Unknown/unsupported 8B InstructionSet: " << instruction_set; in Create()
/art/disassembler/
Ddisassembler.cc45 Disassembler* Disassembler::Create(InstructionSet instruction_set, DisassemblerOptions* options) { in Create() argument
46 switch (instruction_set) { in Create()
65 UNIMPLEMENTED(FATAL) << static_cast<uint32_t>(instruction_set); in Create()
79 Disassembler* create_disassembler(InstructionSet instruction_set, DisassemblerOptions* options) { in create_disassembler() argument
80 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/libnativebridge/include/nativebridge/
Dnative_bridge.h47 bool NeedsNativeBridge(const char* instruction_set);
51 bool PreInitializeNativeBridge(const char* app_data_dir, const char* instruction_set);
59 bool InitializeNativeBridge(JNIEnv* env, const char* instruction_set);
189 const char* private_dir, const char* instruction_set);
233 const struct NativeBridgeRuntimeValues* (*getAppEnv)(const char* instruction_set);
/art/libnativebridge/
Dnative_bridge_lazy.cc53 bool NeedsNativeBridge(const char* instruction_set) { in NeedsNativeBridge() argument
55 return f(instruction_set); in NeedsNativeBridge()
58 bool PreInitializeNativeBridge(const char* app_data_dir, const char* instruction_set) { in PreInitializeNativeBridge() argument
60 return f(app_data_dir, instruction_set); in PreInitializeNativeBridge()
68 bool InitializeNativeBridge(JNIEnv* env, const char* instruction_set) { in InitializeNativeBridge() argument
70 return f(env, instruction_set); in InitializeNativeBridge()
Dnative_bridge.cc258 bool NeedsNativeBridge(const char* instruction_set) { in NeedsNativeBridge() argument
259 if (instruction_set == nullptr) { in NeedsNativeBridge()
263 return strncmp(instruction_set, ABI_STRING, strlen(ABI_STRING) + 1) != 0; in NeedsNativeBridge()
266 bool PreInitializeNativeBridge(const char* app_data_dir_in, const char* instruction_set) { in PreInitializeNativeBridge() argument
289 if (instruction_set == nullptr) { in PreInitializeNativeBridge()
292 size_t isa_len = strlen(instruction_set); in PreInitializeNativeBridge()
298 instruction_set); in PreInitializeNativeBridge()
311 "/%s/cpuinfo", instruction_set); in PreInitializeNativeBridge()
326 UNUSED(instruction_set); in PreInitializeNativeBridge()
424 bool InitializeNativeBridge(JNIEnv* env, const char* instruction_set) { in InitializeNativeBridge() argument
[all …]
/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.cc38 InstructionSet instruction_set, in Create() argument
98 switch (instruction_set) { in Create()
/art/compiler/jni/quick/
Dcalling_convention.cc48 InstructionSet instruction_set) { in Create() argument
49 switch (instruction_set) { in Create()
76 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set; in Create()
138 InstructionSet instruction_set) { in Create() argument
139 switch (instruction_set) { in Create()
166 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.cc124 InstructionSet instruction_set = compiler_options.GetInstructionSet(); in ArtJniCompileMethodInternal() local
186 instruction_set); in ArtJniCompileMethodInternal()
191 &allocator, is_static, is_synchronized, shorty, instruction_set)); in ArtJniCompileMethodInternal()
212 instruction_set)); in ArtJniCompileMethodInternal()
216 GetMacroAssembler<kPointerSize>(&allocator, instruction_set, instruction_set_features); in ArtJniCompileMethodInternal()
522 ArtMethod::EntryPointFromJniOffset(InstructionSetPointerSize(instruction_set)); in ArtJniCompileMethodInternal()
682 return JniCompiledMethod(instruction_set, in ArtJniCompileMethodInternal()
/art/compiler/jit/
Djit_compiler.cc71 const InstructionSet instruction_set = compiler_options_->GetInstructionSet(); in ParseCompilerOptions() local
73 DCHECK_EQ(instruction_set, InstructionSet::kThumb2); in ParseCompilerOptions()
75 DCHECK_EQ(instruction_set, kRuntimeISA); in ParseCompilerOptions()
85 instruction_set, str, &error_msg); in ParseCompilerOptions()
94 instruction_set, "default", &error_msg); in ParseCompilerOptions()
/art/runtime/
Dnative_bridge_art_interface.h36 void InitializeNativeBridge(JNIEnv* env, const char* instruction_set);
Dnative_bridge_art_interface.cc117 void InitializeNativeBridge(JNIEnv* env, const char* instruction_set) { in InitializeNativeBridge() argument
123 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()
91 CHECK_NE(instruction_set, InstructionSet::kNone); in OatHeader()
Doat.h53 static OatHeader* Create(InstructionSet instruction_set,
111 OatHeader(InstructionSet instruction_set,
Dstack_map.cc264 InstructionSet instruction_set) const { in Dump()
308 stack_map.Dump(vios, *this, code_offset, instruction_set); in Dump()
316 InstructionSet instruction_set) const { in Dump()
317 const uint32_t pc_offset = GetNativePcOffset(instruction_set); in Dump()
/art/runtime/native/
Ddalvik_system_DexFile.cc527 const char* instruction_set, in GetDexOptNeeded() argument
540 const InstructionSet target_instruction_set = GetInstructionSetFromString(instruction_set); in GetDexOptNeeded()
543 std::string message(StringPrintf("Instruction set %s is invalid.", instruction_set)); in GetDexOptNeeded()
596 ScopedUtfChars instruction_set(env, javaInstructionSet); in DexFile_getDexFileStatus() local
602 instruction_set.c_str()); in DexFile_getDexFileStatus()
605 std::string message(StringPrintf("Instruction set %s is invalid.", instruction_set.c_str())); in DexFile_getDexFileStatus()
626 ScopedUtfChars instruction_set(env, javaInstructionSet); in DexFile_getDexFileOptimizationStatus() local
632 instruction_set.c_str()); in DexFile_getDexFileOptimizationStatus()
635 std::string message(StringPrintf("Instruction set %s is invalid.", instruction_set.c_str())); in DexFile_getDexFileOptimizationStatus()
677 ScopedUtfChars instruction_set(env, javaInstructionSet); in DexFile_getDexOptNeeded() local
[all …]
Ddalvik_system_ZygoteHooks.cc294 jstring instruction_set) { in ZygoteHooks_nativePostForkChild() argument
408 if (instruction_set != nullptr && !is_system_server) { in ZygoteHooks_nativePostForkChild()
409 ScopedUtfChars isa_string(env, instruction_set); in ZygoteHooks_nativePostForkChild()
/art/compiler/optimizing/
Dstack_map_stream.h39 explicit StackMapStream(ScopedArenaAllocator* allocator, InstructionSet instruction_set) in StackMapStream() argument
41 instruction_set_(instruction_set), in StackMapStream()
Doptimizing_compiler.cc458 static bool IsInstructionSetSupported(InstructionSet instruction_set) { in IsInstructionSetSupported() argument
459 return instruction_set == InstructionSet::kArm in IsInstructionSetSupported()
460 || instruction_set == InstructionSet::kArm64 in IsInstructionSetSupported()
461 || instruction_set == InstructionSet::kThumb2 in IsInstructionSetSupported()
462 || instruction_set == InstructionSet::kX86 in IsInstructionSetSupported()
463 || instruction_set == InstructionSet::kX86_64; in IsInstructionSetSupported()
739 InstructionSet instruction_set = compiler_options.GetInstructionSet(); in TryCompile() local
746 DCHECK_NE(instruction_set, InstructionSet::kArm); in TryCompile()
749 if (!IsInstructionSetSupported(instruction_set)) { in TryCompile()
907 InstructionSet instruction_set = compiler_options.GetInstructionSet(); in TryCompileIntrinsic() local
[all …]

12