Home
last modified time | relevance | path

Searched refs:method_ref (Results 1 – 24 of 24) sorted by relevance

/art/dex2oat/linker/
Dmulti_oat_relative_patcher.h59 uint32_t GetOffset(MethodReference method_ref) { in GetOffset() argument
60 auto it = method_offset_map_.map.find(method_ref); in GetOffset()
65 void SetOffset(MethodReference method_ref, uint32_t offset) { in SetOffset() argument
66 method_offset_map_.map.Put(method_ref, offset + adjustment_); in SetOffset()
72 MethodReference method_ref) { in ReserveSpace() argument
74 offset = relative_patcher_->ReserveSpace(offset, compiled_method, method_ref); in ReserveSpace()
Drelative_patcher_test.h104 MethodReference method_ref,
107 compiled_method_refs_.push_back(method_ref);
227 bool CheckLinkedMethod(MethodReference method_ref, const ArrayRef<const uint8_t>& expected_code) { in CheckLinkedMethod() argument
231 if (ref == method_ref) { in CheckLinkedMethod()
239 auto result = method_offset_map_.FindMethodOffset(method_ref); in CheckLinkedMethod()
Doat_writer.cc1059 MethodReference method_ref(dex_file_, method_index); in VisitMethod() local
1078 LOG(WARNING) << "Method " << method_ref.PrettyMethod() << " was hot but wasn't marked " in VisitMethod()
1089 method_ref, in VisitMethod()
1160 const MethodReference& method_ref = method_data.method_reference; in VisitMethod() local
1167 DCHECK(HasCompiledCode(compiled_method)) << method_ref.PrettyMethod(); in VisitMethod()
1179 quick_code_offset = relative_patcher_->GetOffset(method_ref); in VisitMethod()
1184 quick_code_offset = NewQuickCodeOffset(compiled_method, method_ref, thumb_offset); in VisitMethod()
1190 [this, &deduped, compiled_method, &method_ref, thumb_offset]() { in VisitMethod()
1192 return NewQuickCodeOffset(compiled_method, method_ref, thumb_offset); in VisitMethod()
1197 if (relative_patcher_->GetOffset(method_ref) != 0u) { in VisitMethod()
[all …]
Drelative_patcher.h116 MethodReference method_ref) = 0;
Drelative_patcher.cc51 [[maybe_unused]] MethodReference method_ref) override { in Create() argument
Dmulti_oat_relative_patcher_test.cc38 MethodReference method_ref) override { in ReserveSpace() argument
40 last_reserve_method_ = method_ref; in ReserveSpace()
/art/dex2oat/dex/
Dverification_results.cc65 MethodReference method_ref(&dex_file, method.GetIndex()); in AddUncompilableClass() local
66 uncompilable_methods_.insert(method_ref); in AddUncompilableClass()
/art/dex2oat/linker/arm/
Drelative_patcher_arm_base.h34 MethodReference method_ref) override;
93 MethodReference method_ref,
109 void ResolveMethodCalls(uint32_t quick_code_offset, MethodReference method_ref);
Drelative_patcher_arm_base.cc170 MethodReference method_ref) { in ReserveSpace() argument
171 return ReserveSpaceInternal(offset, compiled_method, method_ref, 0u); in ReserveSpace()
293 MethodReference method_ref, in ReserveSpaceInternal() argument
308 ResolveMethodCalls(code_offset, method_ref); in ReserveSpaceInternal()
479 MethodReference method_ref) { in ResolveMethodCalls() argument
494 if (target_method == method_ref) { in ResolveMethodCalls()
Drelative_patcher_thumb2_test.cc234 MethodReference method_ref, in AddCompiledMethod() argument
237 RelativePatcherTest::AddCompiledMethod(method_ref, code, patches); in AddCompiledMethod()
/art/runtime/jit/
Dprofiling_info_test.cc262 MethodReference method_ref(m->GetDexFile(), m->GetDexMethodIndex()); in TEST_F() local
263 Hotness h = info.GetMethodHotness(method_ref); in TEST_F()
267 ProfileCompilationInfo::MethodHotness offline_hotness = info.GetMethodHotness(method_ref); in TEST_F()
270 pmi.inline_caches, method_ref.dex_file, offline_hotness, info)); in TEST_F()
/art/dex2oat/linker/x86/
Drelative_patcher_x86_base.h29 MethodReference method_ref) override;
Drelative_patcher_x86_base.cc27 [[maybe_unused]] MethodReference method_ref) { in ReserveSpace() argument
/art/dex2oat/driver/
Dcompiler_driver.cc383 MethodReference method_ref(&dex_file, method_idx); in CompileMethodHarness() local
405 driver->AddCompiledMethod(method_ref, compiled_method); in CompileMethodHarness()
419 MethodReference method_ref) { in ShouldCompileBasedOnProfile() argument
427 compiler_options.GetProfileCompilationInfo()->FindDexFile(*method_ref.dex_file) == in ShouldCompileBasedOnProfile()
436 bool result = profile_compilation_info->IsHotMethod(profile_index, method_ref.index); in ShouldCompileBasedOnProfile()
441 result = profile_compilation_info->IsStartupMethod(profile_index, method_ref.index); in ShouldCompileBasedOnProfile()
446 << (result ? "Compiled" : "Skipped") << " method:" << method_ref.PrettyMethod(true); in ShouldCompileBasedOnProfile()
479 MethodReference method_ref(&dex_file, method_idx); in CompileMethodQuick() local
481 if (results->IsUncompilableMethod(method_ref)) { in CompileMethodQuick()
520 compile = compile && ShouldCompileBasedOnProfile(compiler_options, profile_index, method_ref); in CompileMethodQuick()
[all …]
Dcompiler_driver.h140 void AddCompiledMethod(const MethodReference& method_ref, CompiledMethod* const compiled_method);
141 CompiledMethod* RemoveCompiledMethod(const MethodReference& method_ref);
Dcompiler_driver_test.cc86 MethodReference method_ref(method->GetDexFile(), method->GetDexMethodIndex()); in MakeExecutable() local
87 const CompiledMethod* compiled_method = compiler_driver_->GetCompiledMethod(method_ref); in MakeExecutable()
/art/dex2oat/linker/riscv64/
Drelative_patcher_riscv64.h35 MethodReference method_ref) override;
Drelative_patcher_riscv64.cc36 [[maybe_unused]] MethodReference method_ref) { in ReserveSpace() argument
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64.h35 MethodReference method_ref) override;
Drelative_patcher_arm64.cc106 MethodReference method_ref) { in ReserveSpace() argument
109 return ReserveSpaceInternal(offset, compiled_method, method_ref, 0u); in ReserveSpace()
131 offset = ReserveSpaceInternal(offset, compiled_method, method_ref, max_extra_space); in ReserveSpace()
Drelative_patcher_arm64_test.cc200 MethodReference method_ref, in AddCompiledMethod() argument
203 RelativePatcherTest::AddCompiledMethod(method_ref, code, patches); in AddCompiledMethod()
/art/libprofile/profile/
Dprofile_compilation_info.cc2062 const MethodReference& method_ref, in GetMethodHotness() argument
2064 const DexFileData* dex_data = FindDexDataUsingAnnotations(method_ref.dex_file, annotation); in GetMethodHotness()
2066 ? dex_data->GetHotnessInfo(method_ref.index) in GetMethodHotness()
Dprofile_compilation_info.h528 const MethodReference& method_ref,
/art/runtime/interpreter/
Dunstarted_runtime.cc737 ScopedLocalRef<jobject> method_ref(self->GetJniEnv(), in UnstartedConstructorNewInstance0() local
745 InvokeMethod<PointerSize::k64>(soa, method_ref.get(), object_ref.get(), args_ref.get(), 2); in UnstartedConstructorNewInstance0()
747 InvokeMethod<PointerSize::k32>(soa, method_ref.get(), object_ref.get(), args_ref.get(), 2); in UnstartedConstructorNewInstance0()