/aosp12/art/dex2oat/linker/ |
H A D | multi_oat_relative_patcher.h | 59 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()
|
H A D | relative_patcher_test.h | 102 MethodReference method_ref, 105 compiled_method_refs_.push_back(method_ref); 216 bool CheckLinkedMethod(MethodReference method_ref, const ArrayRef<const uint8_t>& expected_code) { in CheckLinkedMethod() argument 220 if (ref == method_ref) { in CheckLinkedMethod() 228 auto result = method_offset_map_.FindMethodOffset(method_ref); in CheckLinkedMethod()
|
H A D | oat_writer.cc | 1234 MethodReference method_ref(dex_file_, method.GetIndex()); in VisitMethod() local 1248 method_ref, in VisitMethod() 1352 if (relative_patcher_->GetOffset(method_ref) != 0u) { in VisitMethod() 1355 << method_ref.dex_file->PrettyMethod(method_ref.index) in VisitMethod() 1393 info.dex_file = method_ref.dex_file; in VisitMethod() 1395 info.dex_method_index = method_ref.index; in VisitMethod() 1723 UpdateDexFileAndDexCache(method_ref.dex_file); in VisitMethod() 1745 ReportWriteFailure("relative call thunk", method_ref); in VisitMethod() 1761 << dex_file_->PrettyMethod(method_ref.index); in VisitMethod() 1765 ReportWriteFailure("method header", method_ref); in VisitMethod() [all …]
|
H A D | relative_patcher.h | 116 MethodReference method_ref) = 0;
|
H A D | multi_oat_relative_patcher_test.cc | 38 MethodReference method_ref) override { in ReserveSpace() argument 40 last_reserve_method_ = method_ref; in ReserveSpace()
|
H A D | relative_patcher.cc | 48 MethodReference method_ref ATTRIBUTE_UNUSED) override { in Create()
|
/aosp12/art/compiler/dex/ |
H A D | inline_method_analyser.h | 127 const MethodReference& method_ref, 135 const MethodReference& method_ref, 141 const MethodReference& method_ref,
|
H A D | inline_method_analyser.cc | 446 const MethodReference& method_ref, in AnalyseMethodCode() argument 495 return AnalyseIGetMethod(code_item, method_ref, is_static, method, result); in AnalyseMethodCode() 507 return AnalyseIPutMethod(code_item, method_ref, is_static, method, result); in AnalyseMethodCode() 576 const MethodReference& method_ref, in AnalyseIGetMethod() argument 613 if (!IsSyntheticAccessor(method_ref)) { in AnalyseIGetMethod() 640 const MethodReference& method_ref, in AnalyseIPutMethod() argument 679 if (!IsSyntheticAccessor(method_ref)) { in AnalyseIPutMethod()
|
H A D | verification_results.h | 60 bool IsCandidateForCompilation(MethodReference& method_ref, const uint32_t access_flags) const;
|
/aosp12/art/dex2oat/linker/arm/ |
H A D | relative_patcher_arm_base.h | 34 MethodReference method_ref) override; 93 MethodReference method_ref, 109 void ResolveMethodCalls(uint32_t quick_code_offset, MethodReference method_ref);
|
H A D | relative_patcher_arm_base.cc | 170 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()
|
H A D | relative_patcher_thumb2_test.cc | 221 MethodReference method_ref, in AddCompiledMethod() argument 224 RelativePatcherTest::AddCompiledMethod(method_ref, code, patches); in AddCompiledMethod()
|
/aosp12/art/runtime/jit/ |
H A D | profiling_info_test.cc | 256 MethodReference method_ref(m->GetDexFile(), m->GetDexMethodIndex()); in TEST_F() local 257 Hotness h = info.GetMethodHotness(method_ref); in TEST_F() 261 ProfileCompilationInfo::MethodHotness offline_hotness = info.GetMethodHotness(method_ref); in TEST_F() 264 pmi.inline_caches, method_ref.dex_file, offline_hotness, info)); in TEST_F()
|
/aosp12/art/dex2oat/driver/ |
H A D | compiler_driver.cc | 382 MethodReference method_ref(&dex_file, method_idx); in CompileMethodHarness() local 404 driver->AddCompiledMethod(method_ref, compiled_method); in CompileMethodHarness() 438 MethodReference method_ref(&dex_file, method_idx); in CompileMethodQuick() local 462 results->IsCandidateForCompilation(method_ref, access_flags) && in CompileMethodQuick() 470 driver->ShouldCompileBasedOnProfile(method_ref); in CompileMethodQuick() 490 << method_ref.dex_file->PrettyMethod(method_ref.index) in CompileMethodQuick() 491 << "[" << method_ref.dex_file->GetLocation() << "]" in CompileMethodQuick() 2671 void CompilerDriver::AddCompiledMethod(const MethodReference& method_ref, in AddCompiledMethod() argument 2673 DCHECK(GetCompiledMethod(method_ref) == nullptr) << method_ref.PrettyMethod(); in AddCompiledMethod() 2678 DCHECK(GetCompiledMethod(method_ref) != nullptr) << method_ref.PrettyMethod(); in AddCompiledMethod() [all …]
|
H A D | compiler_driver.h | 137 void AddCompiledMethod(const MethodReference& method_ref, CompiledMethod* const compiled_method); 138 CompiledMethod* RemoveCompiledMethod(const MethodReference& method_ref); 199 bool ShouldCompileBasedOnProfile(const MethodReference& method_ref) const;
|
/aosp12/art/dex2oat/linker/x86/ |
H A D | relative_patcher_x86_base.h | 29 MethodReference method_ref) override;
|
H A D | relative_patcher_x86_base.cc | 27 MethodReference method_ref ATTRIBUTE_UNUSED) { in ReserveSpace()
|
/aosp12/art/dex2oat/linker/arm64/ |
H A D | relative_patcher_arm64.cc | 104 MethodReference method_ref) { in ReserveSpace() argument 107 return ReserveSpaceInternal(offset, compiled_method, method_ref, 0u); in ReserveSpace() 129 offset = ReserveSpaceInternal(offset, compiled_method, method_ref, max_extra_space); in ReserveSpace()
|
H A D | relative_patcher_arm64.h | 39 MethodReference method_ref) override;
|
H A D | relative_patcher_arm64_test.cc | 194 MethodReference method_ref, in AddCompiledMethod() argument 197 RelativePatcherTest::AddCompiledMethod(method_ref, code, patches); in AddCompiledMethod()
|
/aosp12/art/runtime/interpreter/ |
H A D | unstarted_runtime.cc | 689 ScopedLocalRef<jobject> method_ref(self->GetJniEnv(), in UnstartedConstructorNewInstance0() local 697 InvokeMethod<PointerSize::k64>(soa, method_ref.get(), object_ref.get(), args_ref.get(), 2); in UnstartedConstructorNewInstance0() 699 InvokeMethod<PointerSize::k32>(soa, method_ref.get(), object_ref.get(), args_ref.get(), 2); in UnstartedConstructorNewInstance0()
|
/aosp12/art/libprofile/profile/ |
H A D | profile_compilation_info.h | 498 const MethodReference& method_ref,
|
H A D | profile_compilation_info.cc | 1940 const MethodReference& method_ref, in GetMethodHotness() argument 1942 const DexFileData* dex_data = FindDexDataUsingAnnotations(method_ref.dex_file, annotation); in GetMethodHotness() 1944 ? dex_data->GetHotnessInfo(method_ref.index) in GetMethodHotness()
|