/art/dex2oat/linker/ |
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()
|
D | relative_patcher_test.h | 103 MethodReference method_ref, 106 compiled_method_refs_.push_back(method_ref); 211 bool CheckLinkedMethod(MethodReference method_ref, const ArrayRef<const uint8_t>& expected_code) { in CheckLinkedMethod() argument 215 if (ref == method_ref) { in CheckLinkedMethod() 223 auto result = method_offset_map_.FindMethodOffset(method_ref); in CheckLinkedMethod()
|
D | oat_writer.cc | 1193 MethodReference method_ref(dex_file_, method.GetIndex()); in VisitMethod() local 1199 ? writer_->profile_compilation_info_->GetMethodHotness(method_ref) in VisitMethod() 1207 method_ref, in VisitMethod() 1274 const MethodReference& method_ref = method_data.method_reference; in VisitMethod() local 1281 DCHECK(HasCompiledCode(compiled_method)) << method_ref.PrettyMethod(); in VisitMethod() 1293 quick_code_offset = relative_patcher_->GetOffset(method_ref); in VisitMethod() 1298 quick_code_offset = NewQuickCodeOffset(compiled_method, method_ref, thumb_offset); in VisitMethod() 1304 [this, &deduped, compiled_method, &method_ref, thumb_offset]() { in VisitMethod() 1306 return NewQuickCodeOffset(compiled_method, method_ref, thumb_offset); in VisitMethod() 1311 if (relative_patcher_->GetOffset(method_ref) != 0u) { in VisitMethod() [all …]
|
D | relative_patcher.h | 116 MethodReference method_ref) = 0;
|
D | relative_patcher.cc | 54 MethodReference method_ref ATTRIBUTE_UNUSED) override { in Create()
|
D | multi_oat_relative_patcher_test.cc | 38 MethodReference method_ref) override { in ReserveSpace() argument 40 last_reserve_method_ = method_ref; in ReserveSpace()
|
/art/compiler/dex/ |
D | inline_method_analyser.h | 127 const MethodReference& method_ref, 135 const MethodReference& method_ref, 141 const MethodReference& method_ref,
|
D | verification_results.h | 60 bool IsCandidateForCompilation(MethodReference& method_ref, const uint32_t access_flags) const;
|
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()
|
/art/dex2oat/linker/arm/ |
D | relative_patcher_arm_base.h | 34 MethodReference method_ref) override; 91 MethodReference method_ref, 107 void ResolveMethodCalls(uint32_t quick_code_offset, MethodReference method_ref);
|
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() 466 MethodReference method_ref) { in ResolveMethodCalls() argument 481 if (target_method == method_ref) { in ResolveMethodCalls()
|
/art/dex2oat/dex/ |
D | dex_to_dex_compiler.cc | 161 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()
|
D | dex_to_dex_compiler.h | 67 const MethodReference& method_ref);
|
/art/dex2oat/linker/x86/ |
D | relative_patcher_x86_base.h | 29 MethodReference method_ref) override;
|
D | relative_patcher_x86_base.cc | 27 MethodReference method_ref ATTRIBUTE_UNUSED) { in ReserveSpace()
|
/art/dex2oat/linker/mips64/ |
D | relative_patcher_mips64.h | 31 MethodReference method_ref) override;
|
D | relative_patcher_mips64.cc | 29 MethodReference method_ref ATTRIBUTE_UNUSED) { in ReserveSpace()
|
/art/dex2oat/linker/mips/ |
D | relative_patcher_mips.h | 33 MethodReference method_ref) override;
|
D | relative_patcher_mips.cc | 29 MethodReference method_ref ATTRIBUTE_UNUSED) { in ReserveSpace()
|
/art/dex2oat/driver/ |
D | compiler_driver.cc | 432 MethodReference method_ref(&dex_file, method_idx); in CompileMethodHarness() local 455 driver->AddCompiledMethod(method_ref, compiled_method); in CompileMethodHarness() 489 MethodReference method_ref(&dex_file, method_idx); in CompileMethodDex2Dex() local 493 if (compiler->ShouldCompileMethod(method_ref)) { in CompileMethodDex2Dex() 496 const VerifiedMethod* verified_method = results->GetVerifiedMethod(method_ref); in CompileMethodDex2Dex() 553 MethodReference method_ref(&dex_file, method_idx); in CompileMethodQuick() local 574 const VerifiedMethod* verified_method = results->GetVerifiedMethod(method_ref); in CompileMethodQuick() 577 results->IsCandidateForCompilation(method_ref, access_flags) && in CompileMethodQuick() 585 driver->ShouldCompileBasedOnProfile(method_ref); in CompileMethodQuick() 600 bool violation = driver->ShouldCompileBasedOnProfile(method_ref) && in CompileMethodQuick() [all …]
|
D | compiler_driver.h | 135 void AddCompiledMethod(const MethodReference& method_ref, CompiledMethod* const compiled_method); 136 CompiledMethod* RemoveCompiledMethod(const MethodReference& method_ref); 199 bool ShouldCompileBasedOnProfile(const MethodReference& method_ref) const;
|
/art/dex2oat/linker/arm64/ |
D | relative_patcher_arm64.h | 39 MethodReference method_ref) override;
|
D | relative_patcher_arm64.cc | 101 MethodReference method_ref) { in ReserveSpace() argument 104 return ReserveSpaceInternal(offset, compiled_method, method_ref, 0u); in ReserveSpace() 126 offset = ReserveSpaceInternal(offset, compiled_method, method_ref, max_extra_space); in ReserveSpace()
|
/art/libprofile/profile/ |
D | profile_compilation_info.h | 309 bool AddMethodHotness(const MethodReference& method_ref, const MethodHotness& hotness); 364 MethodHotness GetMethodHotness(const MethodReference& method_ref) const; 463 int32_t GetMethodAggregationCounter(const MethodReference& method_ref) const;
|
D | profile_compilation_info.cc | 1718 const MethodReference& method_ref) const { in GetMethodHotness() 1719 const DexFileData* dex_data = FindDexData(method_ref.dex_file); in GetMethodHotness() 1721 ? dex_data->GetHotnessInfo(method_ref.index) in GetMethodHotness() 1725 bool ProfileCompilationInfo::AddMethodHotness(const MethodReference& method_ref, in AddMethodHotness() argument 1727 DexFileData* dex_data = GetOrAddDexFileData(method_ref.dex_file); in AddMethodHotness() 1731 static_cast<MethodHotness::Flag>(hotness.GetFlags()), method_ref.index); in AddMethodHotness() 2177 const MethodReference& method_ref) const { in GetMethodAggregationCounter() 2179 const DexFileData* dex_data = FindDexData(method_ref.dex_file); in GetMethodAggregationCounter() 2180 return dex_data == nullptr ? -1 : dex_data->GetMethodAggregationCounter(method_ref.index); in GetMethodAggregationCounter()
|