Home
last modified time | relevance | path

Searched refs:method_ref (Results 1 – 25 of 25) 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.h102 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()
Doat_writer.cc1225 MethodReference method_ref(dex_file_, method.GetIndex()); in VisitMethod() local
1231 ? writer_->profile_compilation_info_->GetMethodHotness(method_ref) in VisitMethod()
1239 method_ref, in VisitMethod()
1306 const MethodReference& method_ref = method_data.method_reference; in VisitMethod() local
1313 DCHECK(HasCompiledCode(compiled_method)) << method_ref.PrettyMethod(); in VisitMethod()
1325 quick_code_offset = relative_patcher_->GetOffset(method_ref); in VisitMethod()
1330 quick_code_offset = NewQuickCodeOffset(compiled_method, method_ref, thumb_offset); in VisitMethod()
1336 [this, &deduped, compiled_method, &method_ref, thumb_offset]() { in VisitMethod()
1338 return NewQuickCodeOffset(compiled_method, method_ref, thumb_offset); in VisitMethod()
1343 if (relative_patcher_->GetOffset(method_ref) != 0u) { in VisitMethod()
[all …]
Drelative_patcher.h116 MethodReference method_ref) = 0;
Drelative_patcher.cc48 MethodReference method_ref ATTRIBUTE_UNUSED) override { in Create()
Dmulti_oat_relative_patcher_test.cc38 MethodReference method_ref) override { in ReserveSpace() argument
40 last_reserve_method_ = method_ref; in ReserveSpace()
/art/compiler/dex/
Dinline_method_analyser.h127 const MethodReference& method_ref,
135 const MethodReference& method_ref,
141 const MethodReference& method_ref,
Dverification_results.h60 bool IsCandidateForCompilation(MethodReference& method_ref, const uint32_t access_flags) const;
Dinline_method_analyser.cc446 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()
/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.cc221 MethodReference method_ref, in AddCompiledMethod() argument
224 RelativePatcherTest::AddCompiledMethod(method_ref, code, patches); in AddCompiledMethod()
/art/dex2oat/linker/x86/
Drelative_patcher_x86_base.h29 MethodReference method_ref) override;
Drelative_patcher_x86_base.cc27 MethodReference method_ref ATTRIBUTE_UNUSED) { in ReserveSpace()
/art/dex2oat/dex/
Ddex_to_dex_compiler.cc161 const MethodReference& method_ref) { in MarkForCompilation() argument
163 BitVector* const bitmap = GetOrAddBitVectorForDex(method_ref.dex_file); in MarkForCompilation()
165 DCHECK(!bitmap->IsBitSet(method_ref.index)); in MarkForCompilation()
166 bitmap->SetBit(method_ref.index); in MarkForCompilation()
565 MethodReference method_ref(&dex_file, method_idx); in CompileMethod() local
574 existing_data->methods_.push_back(method_ref); in CompileMethod()
577 new_state.methods_.push_back(method_ref); in CompileMethod()
Ddex_to_dex_compiler.h67 const MethodReference& method_ref);
/art/dex2oat/driver/
Dcompiler_driver.h138 void AddCompiledMethod(const MethodReference& method_ref, CompiledMethod* const compiled_method);
139 CompiledMethod* RemoveCompiledMethod(const MethodReference& method_ref);
202 bool ShouldCompileBasedOnProfile(const MethodReference& method_ref) const;
Dcompiler_driver.cc433 MethodReference method_ref(&dex_file, method_idx); in CompileMethodHarness() local
456 driver->AddCompiledMethod(method_ref, compiled_method); in CompileMethodHarness()
490 MethodReference method_ref(&dex_file, method_idx); in CompileMethodDex2Dex() local
494 if (compiler->ShouldCompileMethod(method_ref)) { in CompileMethodDex2Dex()
497 const VerifiedMethod* verified_method = results->GetVerifiedMethod(method_ref); in CompileMethodDex2Dex()
554 MethodReference method_ref(&dex_file, method_idx); in CompileMethodQuick() local
575 const VerifiedMethod* verified_method = results->GetVerifiedMethod(method_ref); in CompileMethodQuick()
578 results->IsCandidateForCompilation(method_ref, access_flags) && in CompileMethodQuick()
586 driver->ShouldCompileBasedOnProfile(method_ref); in CompileMethodQuick()
601 bool violation = driver->ShouldCompileBasedOnProfile(method_ref) && in CompileMethodQuick()
[all …]
/art/runtime/jit/
Dprofiling_info_test.cc285 MethodReference method_ref(m->GetDexFile(), m->GetDexMethodIndex()); in TEST_F() local
286 Hotness h = info.GetMethodHotness(method_ref); in TEST_F()
291 info.GetHotMethodInfo(method_ref); in TEST_F()
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64.h39 MethodReference method_ref) override;
Drelative_patcher_arm64.cc102 MethodReference method_ref) { in ReserveSpace() argument
105 return ReserveSpaceInternal(offset, compiled_method, method_ref, 0u); in ReserveSpace()
127 offset = ReserveSpaceInternal(offset, compiled_method, method_ref, max_extra_space); in ReserveSpace()
Drelative_patcher_arm64_test.cc194 MethodReference method_ref, in AddCompiledMethod() argument
197 RelativePatcherTest::AddCompiledMethod(method_ref, code, patches); in AddCompiledMethod()
/art/libprofile/profile/
Dprofile_compilation_info.h452 const MethodReference& method_ref,
470 const MethodReference& method_ref,
Dprofile_compilation_info.cc1597 const MethodReference& method_ref, in GetMethodHotness() argument
1599 const DexFileData* dex_data = FindDexDataUsingAnnotations(method_ref.dex_file, annotation); in GetMethodHotness()
1601 ? dex_data->GetHotnessInfo(method_ref.index) in GetMethodHotness()
1606 ProfileCompilationInfo::GetHotMethodInfo(const MethodReference& method_ref, in GetHotMethodInfo() argument
1608 MethodHotness hotness(GetMethodHotness(method_ref, annotation)); in GetHotMethodInfo()
/art/runtime/interpreter/
Dunstarted_runtime.cc684 ScopedLocalRef<jobject> method_ref(self->GetJniEnv(), in UnstartedConstructorNewInstance0() local
690 InvokeMethod(soa, method_ref.get(), object_ref.get(), args_ref.get(), 2); in UnstartedConstructorNewInstance0()