Home
last modified time | relevance | path

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

1234

/aosp12/art/compiler/
H A Dcompiled_method.cc25 InstructionSet instruction_set, in CompiledCode() argument
29 packed_fields_(InstructionSetField::Encode(instruction_set)) { in CompiledCode()
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()
79 switch (instruction_set) { in CodePointer()
92 LOG(FATAL) << "Unknown InstructionSet: " << instruction_set; in CodePointer()
98 InstructionSet instruction_set, in CompiledMethod() argument
103 : CompiledCode(storage, instruction_set, quick_code), in CompiledMethod()
111 InstructionSet instruction_set, in SwapAllocCompiledMethod() argument
[all …]
H A 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,
H A 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()
H A 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);
/aosp12/art/compiler/utils/
H A 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()
/aosp12/art/libnativebridge/
H A 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()
353 snprintf(cpuinfo_path, sizeof(cpuinfo_path), "/system/lib/%s/cpuinfo", instruction_set); in MountCpuinfoForInstructionSet()
380 MountCpuinfoForInstructionSet(instruction_set); in PreInitializeNativeBridge()
477 bool InitializeNativeBridge(JNIEnv* env, const char* instruction_set) { in InitializeNativeBridge() argument
[all …]
H A 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()
/aosp12/art/disassembler/
H A 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()
H A Ddisassembler.h69 static Disassembler* Create(InstructionSet instruction_set, DisassemblerOptions* options);
99 Disassembler* create_disassembler(InstructionSet instruction_set, DisassemblerOptions* options);
/aosp12/frameworks/native/cmds/installd/
H A Ddexopt.h113 int64_t delete_odex(const char* apk_path, const char* instruction_set, const char* output_path);
124 int dexopt(const char *apk_path, uid_t uid, const char *pkgName, const char *instruction_set,
131 const char *apk_path, const char *instruction_set);
134 const char *instruction_set);
137 const char *instruction_set);
139 bool move_ab(const char* apk_path, const char* instruction_set, const char* output_path);
H A Dinstalld.cpp55 const char *instruction_set) { in calculate_oat_file_path() argument
56 return calculate_oat_file_path_default(path, oat_dir, apk_path, instruction_set); in calculate_oat_file_path()
60 const char *instruction_set) { in calculate_odex_file_path() argument
61 return calculate_odex_file_path_default(path, apk_path, instruction_set); in calculate_odex_file_path()
64 bool create_cache_path(char path[PKG_PATH_MAX], const char *src, const char *instruction_set) { in create_cache_path() argument
65 return create_cache_path_default(path, src, instruction_set); in create_cache_path()
H A Dinstalld_deps.h43 const char *instruction_set);
53 const char *instruction_set);
58 const char *instruction_set);
H A Ddexopt.cpp1149 instruction_set.c_str(), in maybe_open_oat_and_vdex_file()
1181 const std::string& instruction_set, in RunDexoptAnalyzer() argument
1197 std::string isa_arg = "--isa=" + instruction_set; in RunDexoptAnalyzer()
1262 const char* instruction_set) { in prepare_secondary_dex_oat_dir() argument
1753 instruction_set, is_secondary_dex); in dexopt()
1841 instruction_set, in dexopt()
2336 std::string instruction_set_ = instruction_set; in calculate_oat_file_path_default()
2362 const char *instruction_set) { in calculate_odex_file_path_default() argument
2364 std::string instruction_set_ = instruction_set; in calculate_odex_file_path_default()
2381 const char *instruction_set) { in create_cache_path_default() argument
[all …]
H A Dotapreopt.cpp354 if (parameters_.instruction_set == nullptr) { in EnsureBootImageAndDalvikCache()
358 const char* isa = parameters_.instruction_set; in EnsureBootImageAndDalvikCache()
485 parameters_.instruction_set, in Dexopt()
618 const char *instruction_set) { in calculate_oat_file_path() argument
643 instruction_set, in calculate_oat_file_path()
656 const char *instruction_set) { in calculate_odex_file_path() argument
674 instruction_set, in calculate_odex_file_path()
687 const char *instruction_set) { in create_cache_path() argument
705 instruction_set, in create_cache_path()
H A Drun_dex2oat.cpp79 const char* instruction_set, in Initialize() argument
95 PrepareCompilerConfigFlags(input_vdex, output_vdex, instruction_set, compiler_filter, in Initialize()
181 const char* instruction_set, in PrepareCompilerConfigFlags() argument
197 AddArg(StringPrintf("--instruction-set=%s", instruction_set)); in PrepareCompilerConfigFlags()
200 StringPrintf("dalvik.vm.isa.%s.features", instruction_set); in PrepareCompilerConfigFlags()
206 StringPrintf("dalvik.vm.isa.%s.variant", instruction_set); in PrepareCompilerConfigFlags()
H A Drun_dex2oat.h45 const char* instruction_set,
72 const char* instruction_set,
/aosp12/art/libnativebridge/include/nativebridge/
H A 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);
/aosp12/art/compiler/jni/quick/
H A 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()
H A Djni_compiler.h33 JniCompiledMethod(InstructionSet instruction_set, in JniCompiledMethod() argument
39 : instruction_set_(instruction_set), in JniCompiledMethod()
/aosp12/art/compiler/jit/
H A 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()
/aosp12/art/dex2oat/linker/
H A 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()
/aosp12/frameworks/base/startop/scripts/app_startup/
H A Dquery_compiler_filter.py165 def find_first_compiler_filter(dexopt_state: DexoptState, package: str, instruction_set: str) -> st…
171 if not instruction_set:
174 if compiler_filter_info.isa == instruction_set:
219 filter = find_first_compiler_filter(dexopt_state, opts.package, opts.instruction_set)
226 …ind any compiler-filter for package %s, isa %s" %(opts.package, opts.instruction_set), file=sys.st…
/aosp12/art/runtime/native/
H A 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()
610 ScopedUtfChars instruction_set(env, javaInstructionSet); in DexFile_getDexFileOptimizationStatus() local
616 instruction_set.c_str()); in DexFile_getDexFileOptimizationStatus()
661 ScopedUtfChars instruction_set(env, javaInstructionSet); in DexFile_getDexOptNeeded() local
678 instruction_set.c_str(), in DexFile_getDexOptNeeded()
805 ScopedUtfChars instruction_set(env, javaInstructionSet); in DexFile_getDexFileOutputPaths() local
[all …]
/aosp12/frameworks/av/media/libeffects/lvm/wrapper/
H A DAndroid.bp26 instruction_set: "arm",
65 instruction_set: "arm",
/aosp12/art/runtime/
H A 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()

1234