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()
195 void CommonCompilerTestImpl::OverrideInstructionSetFeatures(InstructionSet instruction_set, in OverrideInstructionSetFeatures() argument
197 instruction_set_ = instruction_set; in OverrideInstructionSetFeatures()
200 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/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()
140 InstructionSet instruction_set) { in Create() argument
141 switch (instruction_set) { in Create()
168 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set; in Create()
Djni_compiler.h34 JniCompiledMethod(InstructionSet instruction_set, in JniCompiledMethod() argument
40 : instruction_set_(instruction_set), in JniCompiledMethod()
Djni_compiler.cc94 InstructionSet instruction_set = compiler_options.GetInstructionSet(); in ArtJniCompileMethodInternal() local
154 instruction_set); in ArtJniCompileMethodInternal()
159 allocator, is_static, is_synchronized, shorty, instruction_set)); in ArtJniCompileMethodInternal()
163 GetMacroAssembler<kPointerSize>(allocator, instruction_set, instruction_set_features); in ArtJniCompileMethodInternal()
378 ArtMethod::EntryPointFromJniOffset(InstructionSetPointerSize(instruction_set)); in ArtJniCompileMethodInternal()
640 return JniCompiledMethod(instruction_set, in ArtJniCompileMethodInternal()
/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/jit/
Djit_compiler.cc75 const InstructionSet instruction_set = compiler_options_->GetInstructionSet(); in ParseCompilerOptions() local
77 DCHECK_EQ(instruction_set, InstructionSet::kThumb2); in ParseCompilerOptions()
79 DCHECK_EQ(instruction_set, kRuntimeISA); in ParseCompilerOptions()
89 instruction_set, str, &error_msg); in ParseCompilerOptions()
98 instruction_set, "default", &error_msg); in ParseCompilerOptions()
/art/runtime/native/
Ddalvik_system_DexFile.cc506 const char* instruction_set, in GetDexOptNeeded() argument
519 const InstructionSet target_instruction_set = GetInstructionSetFromString(instruction_set); in GetDexOptNeeded()
522 std::string message(StringPrintf("Instruction set %s is invalid.", instruction_set)); in GetDexOptNeeded()
579 ScopedUtfChars instruction_set(env, javaInstructionSet); in DexFile_getDexFileStatus() local
585 instruction_set.c_str()); in DexFile_getDexFileStatus()
588 std::string message(StringPrintf("Instruction set %s is invalid.", instruction_set.c_str())); in DexFile_getDexFileStatus()
611 ScopedUtfChars instruction_set(env, javaInstructionSet); in DexFile_getDexFileOptimizationStatus() local
617 instruction_set.c_str()); in DexFile_getDexFileOptimizationStatus()
620 std::string message(StringPrintf("Instruction set %s is invalid.", instruction_set.c_str())); in DexFile_getDexFileOptimizationStatus()
662 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()
93 CHECK_NE(instruction_set, InstructionSet::kNone); in OatHeader()
Doat.h54 static OatHeader* Create(InstructionSet instruction_set,
117 OatHeader(InstructionSet instruction_set,
Dstack_map.cc204 InstructionSet instruction_set) const { in Dump()
249 stack_map.Dump(vios, *this, code_offset, instruction_set); in Dump()
257 InstructionSet instruction_set) const { in Dump()
258 const uint32_t pc_offset = GetNativePcOffset(instruction_set); in Dump()
Dstack_map.h143 ALWAYS_INLINE uint32_t GetNativePcOffset(InstructionSet instruction_set) const { in GetNativePcOffset() argument
144 return UnpackNativePc(GetPackedNativePc(), instruction_set); in GetNativePcOffset()
169 InstructionSet instruction_set) const;
439 InstructionSet instruction_set) const;
/art/compiler/optimizing/
Dstack_map_stream.h41 explicit StackMapStream(ScopedArenaAllocator* allocator, InstructionSet instruction_set) in StackMapStream() argument
43 instruction_set_(instruction_set), in StackMapStream()
Doptimizing_compiler.cc455 static bool IsInstructionSetSupported(InstructionSet instruction_set) { in IsInstructionSetSupported() argument
456 return instruction_set == InstructionSet::kArm in IsInstructionSetSupported()
457 || instruction_set == InstructionSet::kArm64 in IsInstructionSetSupported()
458 || instruction_set == InstructionSet::kThumb2 in IsInstructionSetSupported()
459 || instruction_set == InstructionSet::kX86 in IsInstructionSetSupported()
460 || instruction_set == InstructionSet::kX86_64; in IsInstructionSetSupported()
748 InstructionSet instruction_set = compiler_options.GetInstructionSet(); in TryCompile() local
755 DCHECK_NE(instruction_set, InstructionSet::kArm); in TryCompile()
758 if (!IsInstructionSetSupported(instruction_set)) { in TryCompile()
920 InstructionSet instruction_set = compiler_options.GetInstructionSet(); in TryCompileIntrinsic() local
[all …]

12