Home
last modified time | relevance | path

Searched refs:instruction_set (Results 1 – 25 of 47) 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.cc55 InstructionSet instruction_set) { in CodeAndMetadata() argument
61 const size_t code_alignment = GetInstructionSetAlignment(instruction_set); in CodeAndMetadata()
128 InstructionSet instruction_set, const std::string& variant) { in CreateCompilerOptions() argument
130 compiler_options->instruction_set_ = instruction_set; in CreateCompilerOptions()
133 InstructionSetFeatures::FromVariant(instruction_set, variant, &error_msg); in CreateCompilerOptions()
143 InstructionSet instruction_set) { in MakeExecutable() argument
145 code_and_metadata_.emplace_back(code, vmap_table, instruction_set); in MakeExecutable()
197 void CommonCompilerTestImpl::OverrideInstructionSetFeatures(InstructionSet instruction_set, in OverrideInstructionSetFeatures() argument
199 instruction_set_ = instruction_set; in OverrideInstructionSetFeatures()
202 InstructionSetFeatures::FromVariant(instruction_set, variant, &error_msg); in OverrideInstructionSetFeatures()
Dcommon_compiler_test.h47 static std::unique_ptr<CompilerOptions> CreateCompilerOptions(InstructionSet instruction_set,
56 InstructionSet instruction_set);
86 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/
Dnative_bridge_lazy.cc47 bool NeedsNativeBridge(const char* instruction_set) { in NeedsNativeBridge() argument
49 return f(instruction_set); in NeedsNativeBridge()
52 bool PreInitializeNativeBridge(const char* app_data_dir, const char* instruction_set) { in PreInitializeNativeBridge() argument
54 return f(app_data_dir, instruction_set); in PreInitializeNativeBridge()
Dnative_bridge.cc293 bool NeedsNativeBridge(const char* instruction_set) { in NeedsNativeBridge() argument
294 if (instruction_set == nullptr) { in NeedsNativeBridge()
298 return strncmp(instruction_set, ABI_STRING, strlen(ABI_STRING) + 1) != 0; in NeedsNativeBridge()
317 static void MountCpuinfoForInstructionSet(const char* instruction_set) { in MountCpuinfoForInstructionSet() argument
318 if (instruction_set == nullptr) { in MountCpuinfoForInstructionSet()
322 size_t isa_len = strlen(instruction_set); in MountCpuinfoForInstructionSet()
328 instruction_set); in MountCpuinfoForInstructionSet()
343 snprintf(cpuinfo_path, sizeof(cpuinfo_path), "/system/etc/cpuinfo.%s.txt", instruction_set); in MountCpuinfoForInstructionSet()
351 snprintf(cpuinfo_path, sizeof(cpuinfo_path), "/system/lib64/%s/cpuinfo", instruction_set); in MountCpuinfoForInstructionSet()
353 snprintf(cpuinfo_path, sizeof(cpuinfo_path), "/system/lib/%s/cpuinfo", instruction_set); in MountCpuinfoForInstructionSet()
[all …]
/art/libnativebridge/include/nativebridge/
Dnative_bridge.h52 bool NeedsNativeBridge(const char* instruction_set);
56 bool PreInitializeNativeBridge(const char* app_data_dir, const char* instruction_set);
64 bool InitializeNativeBridge(JNIEnv* env, const char* instruction_set);
194 const char* private_dir, const char* instruction_set);
238 const struct NativeBridgeRuntimeValues* (*getAppEnv)(const char* instruction_set);
/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.cc49 InstructionSet instruction_set) { in Create() argument
50 switch (instruction_set) { in Create()
77 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set; in Create()
139 InstructionSet instruction_set) { in Create() argument
140 switch (instruction_set) { in Create()
167 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()
429 ArtMethod::EntryPointFromJniOffset(InstructionSetPointerSize(instruction_set)); in ArtJniCompileMethodInternal()
659 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/native/
Ddalvik_system_DexFile.cc505 const char* instruction_set, in GetDexOptNeeded() argument
518 const InstructionSet target_instruction_set = GetInstructionSetFromString(instruction_set); in GetDexOptNeeded()
521 std::string message(StringPrintf("Instruction set %s is invalid.", instruction_set)); in GetDexOptNeeded()
578 ScopedUtfChars instruction_set(env, javaInstructionSet); in DexFile_getDexFileStatus() local
584 instruction_set.c_str()); in DexFile_getDexFileStatus()
587 std::string message(StringPrintf("Instruction set %s is invalid.", instruction_set.c_str())); in DexFile_getDexFileStatus()
610 ScopedUtfChars instruction_set(env, javaInstructionSet); in DexFile_getDexFileOptimizationStatus() local
616 instruction_set.c_str()); in DexFile_getDexFileOptimizationStatus()
619 std::string message(StringPrintf("Instruction set %s is invalid.", instruction_set.c_str())); in DexFile_getDexFileOptimizationStatus()
661 ScopedUtfChars instruction_set(env, javaInstructionSet); in DexFile_getDexOptNeeded() local
[all …]
/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()
92 CHECK_NE(instruction_set, InstructionSet::kNone); in OatHeader()
Doat.h54 static OatHeader* Create(InstructionSet instruction_set,
115 OatHeader(InstructionSet instruction_set,
Dstack_map.cc257 InstructionSet instruction_set) const { in Dump()
302 stack_map.Dump(vios, *this, code_offset, instruction_set); in Dump()
310 InstructionSet instruction_set) const { in Dump()
311 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;
443 InstructionSet instruction_set) const;
/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.cc460 static bool IsInstructionSetSupported(InstructionSet instruction_set) { in IsInstructionSetSupported() argument
461 return instruction_set == InstructionSet::kArm in IsInstructionSetSupported()
462 || instruction_set == InstructionSet::kArm64 in IsInstructionSetSupported()
463 || instruction_set == InstructionSet::kThumb2 in IsInstructionSetSupported()
464 || instruction_set == InstructionSet::kX86 in IsInstructionSetSupported()
465 || instruction_set == InstructionSet::kX86_64; in IsInstructionSetSupported()
753 InstructionSet instruction_set = compiler_options.GetInstructionSet(); in TryCompile() local
760 DCHECK_NE(instruction_set, InstructionSet::kArm); in TryCompile()
763 if (!IsInstructionSetSupported(instruction_set)) { in TryCompile()
918 InstructionSet instruction_set = compiler_options.GetInstructionSet(); in TryCompileIntrinsic() local
[all …]

12