Home
last modified time | relevance | path

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

123

/art/dex2oat/driver/
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, GetInstructionSetCodeAlignment(instruction_set)); in AlignCode()
62 InstructionSet instruction_set, in CompiledMethod() argument
67 : CompiledCode(storage, instruction_set, quick_code), in CompiledMethod()
75 InstructionSet instruction_set, in SwapAllocCompiledMethod() argument
84 instruction_set, in SwapAllocCompiledMethod()
Dcompiled_method.h42 InstructionSet instruction_set,
59 static size_t AlignCode(size_t offset, InstructionSet instruction_set);
106 InstructionSet instruction_set,
116 InstructionSet instruction_set,
/art/disassembler/
Ddisassembler.cc49 Disassembler* Disassembler::Create(InstructionSet instruction_set, DisassemblerOptions* options) { in Create() argument
50 switch (instruction_set) { in Create()
74 UNIMPLEMENTED(FATAL) << static_cast<uint32_t>(instruction_set); in Create()
88 Disassembler* create_disassembler(InstructionSet instruction_set, DisassemblerOptions* options) { in create_disassembler() argument
89 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/
Dcommon_compiler_test.cc53 InstructionSet instruction_set) { in CodeAndMetadata() argument
60 const size_t code_alignment = GetInstructionSetCodeAlignment(instruction_set); in CodeAndMetadata()
112 size_t adjustment = GetInstructionSetEntryPointAdjustment(instruction_set); in CodeAndMetadata()
134 CompiledMethod* CreateCompiledMethod(InstructionSet instruction_set, in CreateCompiledMethod() argument
142 CHECK_NE(instruction_set, InstructionSet::kNone); in CreateCompiledMethod()
143 instruction_set_ = instruction_set; in CreateCompiledMethod()
189 InstructionSet instruction_set, const std::string& variant) { in CreateCompilerOptions() argument
192 compiler_options->instruction_set_ = instruction_set; in CreateCompilerOptions()
195 InstructionSetFeatures::FromVariant(instruction_set, variant, &error_msg); in CreateCompilerOptions()
205 InstructionSet instruction_set) { in MakeExecutable() argument
[all …]
Dcommon_compiler_test.h47 static std::unique_ptr<CompilerOptions> CreateCompilerOptions(InstructionSet instruction_set,
56 InstructionSet instruction_set);
72 void OverrideInstructionSetFeatures(InstructionSet instruction_set, const std::string& variant);
/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.cc295 bool NeedsNativeBridge(const char* instruction_set) { in NeedsNativeBridge() argument
296 if (instruction_set == nullptr) { in NeedsNativeBridge()
300 return strncmp(instruction_set, ABI_STRING, strlen(ABI_STRING) + 1) != 0; in NeedsNativeBridge()
319 static void MountCpuinfoForInstructionSet(const char* instruction_set) { in MountCpuinfoForInstructionSet() argument
320 if (instruction_set == nullptr) { in MountCpuinfoForInstructionSet()
324 size_t isa_len = strlen(instruction_set); in MountCpuinfoForInstructionSet()
330 instruction_set); in MountCpuinfoForInstructionSet()
345 snprintf(cpuinfo_path, sizeof(cpuinfo_path), "/system/etc/cpuinfo.%s.txt", instruction_set); in MountCpuinfoForInstructionSet()
353 snprintf(cpuinfo_path, sizeof(cpuinfo_path), "/system/lib64/%s/cpuinfo", instruction_set); in MountCpuinfoForInstructionSet()
355 snprintf(cpuinfo_path, sizeof(cpuinfo_path), "/system/lib/%s/cpuinfo", instruction_set); in MountCpuinfoForInstructionSet()
[all …]
/art/libnativebridge/include/nativebridge/
Dnative_bridge.h57 bool NeedsNativeBridge(const char* instruction_set);
61 bool PreInitializeNativeBridge(const char* app_data_dir, const char* instruction_set);
69 bool InitializeNativeBridge(JNIEnv* env, const char* instruction_set);
211 const char* private_dir, const char* instruction_set);
258 const struct NativeBridgeRuntimeValues* (*getAppEnv)(const char* instruction_set);
/art/compiler/utils/
Djni_macro_assembler.cc52 InstructionSet instruction_set, in Create() argument
57 switch (instruction_set) { in Create()
69 LOG(FATAL) << "Unknown/unsupported 4B InstructionSet: " << instruction_set; in Create()
79 InstructionSet instruction_set, in Create() argument
84 switch (instruction_set) { in Create()
99 LOG(FATAL) << "Unknown/unsupported 8B InstructionSet: " << instruction_set; in Create()
/art/compiler/optimizing/
Dcode_generation_data.h39 InstructionSet instruction_set) { in Create() argument
43 ::new (memory) CodeGenerationData(std::move(allocator), instruction_set)); in Create()
93 CodeGenerationData(ScopedArenaAllocator&& allocator, InstructionSet instruction_set) in CodeGenerationData() argument
95 stack_map_stream_(&allocator_, instruction_set), in CodeGenerationData()
Dstack_map_stream.h42 explicit StackMapStream(ScopedArenaAllocator* allocator, InstructionSet instruction_set) in StackMapStream() argument
44 instruction_set_(instruction_set), in StackMapStream()
/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.cc41 InstructionSet instruction_set, in Create() argument
101 switch (instruction_set) { in Create()
/art/compiler/jni/quick/
Dcalling_convention.cc53 InstructionSet instruction_set) { in Create() argument
54 switch (instruction_set) { in Create()
91 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set; in Create()
154 InstructionSet instruction_set) { in Create() argument
155 switch (instruction_set) { in Create()
194 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set; in Create()
Djni_compiler.h35 JniCompiledMethod(InstructionSet instruction_set, in JniCompiledMethod() argument
41 : instruction_set_(instruction_set), in JniCompiledMethod()
/art/test/generate-boot-image/
Dgenerate-boot-image.cc95 std::string instruction_set = ""; member
148 args.push_back("--instruction-set=" + options.instruction_set); in GenerateBootImage()
161 std::string path = ART_FORMAT("{}/{}", options.output_dir, options.instruction_set); in GenerateBootImage()
205 options.instruction_set = arg; in Main()
247 if (options.instruction_set.empty()) { in Main()
249 options.instruction_set = GetInstructionSetString(kRuntimeISA); in Main()
/art/compiler/jit/
Djit_compiler.cc81 const InstructionSet instruction_set = compiler_options_->GetInstructionSet(); in ParseCompilerOptions() local
83 DCHECK_EQ(instruction_set, InstructionSet::kThumb2); in ParseCompilerOptions()
85 DCHECK_EQ(instruction_set, kRuntimeISA); in ParseCompilerOptions()
95 instruction_set, str, &error_msg); in ParseCompilerOptions()
104 instruction_set, "default", &error_msg); in ParseCompilerOptions()
/art/runtime/
Dnative_bridge_art_interface.h38 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()
/art/runtime/native/
Ddalvik_system_DexFile.cc567 const char* instruction_set, in GetDexOptNeeded() argument
580 const InstructionSet target_instruction_set = GetInstructionSetFromString(instruction_set); in GetDexOptNeeded()
583 std::string message(StringPrintf("Instruction set %s is invalid.", instruction_set)); in GetDexOptNeeded()
640 ScopedUtfChars instruction_set(env, javaInstructionSet); in DexFile_getDexFileStatus() local
646 instruction_set.c_str()); in DexFile_getDexFileStatus()
649 std::string message(StringPrintf("Instruction set %s is invalid.", instruction_set.c_str())); in DexFile_getDexFileStatus()
674 ScopedUtfChars instruction_set(env, javaInstructionSet); in DexFile_getDexFileOptimizationStatus() local
680 instruction_set.c_str()); in DexFile_getDexFileOptimizationStatus()
683 std::string message(StringPrintf("Instruction set %s is invalid.", instruction_set.c_str())); in DexFile_getDexFileOptimizationStatus()
713 ScopedUtfChars instruction_set(env, javaInstructionSet); in DexFile_getDexOptNeeded() local
[all …]
/art/runtime/oat/
Doat.cc45 OatHeader* OatHeader::Create(InstructionSet instruction_set, in Create() argument
56 return new (memory) OatHeader(instruction_set, in Create()
62 OatHeader::OatHeader(InstructionSet instruction_set, in OatHeader() argument
67 instruction_set_(instruction_set), in OatHeader()
90 CHECK_NE(instruction_set, InstructionSet::kNone); in OatHeader()
Doat.h66 static OatHeader* Create(InstructionSet instruction_set,
131 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()
/art/compiler/driver/
Dcompiled_code_storage.h44 virtual CompiledMethod* CreateCompiledMethod(InstructionSet instruction_set,

123