Home
last modified time | relevance | path

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

/art/compiler/linker/
Dmulti_oat_relative_patcher.h57 uint32_t GetOffset(MethodReference method_ref) { in GetOffset() argument
58 auto it = method_offset_map_.map.find(method_ref); in GetOffset()
63 void SetOffset(MethodReference method_ref, uint32_t offset) { in SetOffset() argument
64 method_offset_map_.map.Put(method_ref, offset + adjustment_); in SetOffset()
70 MethodReference method_ref) { in ReserveSpace() argument
72 offset = relative_patcher_->ReserveSpace(offset, compiled_method, method_ref); in ReserveSpace()
Drelative_patcher_test.h84 void AddCompiledMethod(MethodReference method_ref, in AddCompiledMethod() argument
87 compiled_method_refs_.push_back(method_ref); in AddCompiledMethod()
184 bool CheckLinkedMethod(MethodReference method_ref, const ArrayRef<const uint8_t>& expected_code) { in CheckLinkedMethod() argument
188 if (ref.dex_file == method_ref.dex_file && in CheckLinkedMethod()
189 ref.dex_method_index == method_ref.dex_method_index) { in CheckLinkedMethod()
197 auto result = method_offset_map_.FindMethodOffset(method_ref); in CheckLinkedMethod()
Drelative_patcher.h88 MethodReference method_ref) = 0;
Drelative_patcher.cc46 MethodReference method_ref ATTRIBUTE_UNUSED) OVERRIDE { in Create()
Dmulti_oat_relative_patcher_test.cc39 MethodReference method_ref) OVERRIDE { in ReserveSpace() argument
41 last_reserve_method_ = method_ref; in ReserveSpace()
/art/compiler/linker/arm/
Drelative_patcher_arm_base.cc29 MethodReference method_ref) { in ReserveSpace() argument
30 return ReserveSpaceInternal(offset, compiled_method, method_ref, 0u); in ReserveSpace()
92 MethodReference method_ref, in ReserveSpaceInternal() argument
104 method_ref, in ReserveSpaceInternal()
147 MethodReference method_ref, in ReserveSpaceProcessPatches() argument
154 if (patch_ref.dex_file == method_ref.dex_file && in ReserveSpaceProcessPatches()
155 patch_ref.dex_method_index == method_ref.dex_method_index) { in ReserveSpaceProcessPatches()
Drelative_patcher_arm_base.h32 MethodReference method_ref) OVERRIDE;
45 MethodReference method_ref,
50 bool ReserveSpaceProcessPatches(uint32_t quick_code_offset, MethodReference method_ref,
/art/runtime/quick/
Dinline_method_analyser.h245 const MethodReference& method_ref,
253 const MethodReference& method_ref,
259 const MethodReference& method_ref,
Dinline_method_analyser.cc460 const MethodReference& method_ref, in AnalyseMethodCode() argument
511 return AnalyseIGetMethod(code_item, method_ref, is_static, method, result); in AnalyseMethodCode()
523 return AnalyseIPutMethod(code_item, method_ref, is_static, method, result); in AnalyseMethodCode()
594 const MethodReference& method_ref, in AnalyseIGetMethod() argument
631 if (!IsSyntheticAccessor(method_ref)) { in AnalyseIGetMethod()
659 const MethodReference& method_ref, in AnalyseIPutMethod() argument
698 if (!IsSyntheticAccessor(method_ref)) { in AnalyseIPutMethod()
/art/compiler/linker/x86/
Drelative_patcher_x86_base.h29 MethodReference method_ref) OVERRIDE;
Drelative_patcher_x86_base.cc25 MethodReference method_ref ATTRIBUTE_UNUSED) { in ReserveSpace()
/art/compiler/driver/
Dcompiler_driver.cc576 MethodReference method_ref(&dex_file, method_idx); in CompileMethod() local
584 driver->GetVerificationResults()->GetVerifiedMethod(method_ref); in CompileMethod()
613 driver->GetVerificationResults()->GetVerifiedMethod(method_ref); in CompileMethod()
617 ->IsCandidateForCompilation(method_ref, access_flags) && in CompileMethod()
625 driver->IsMethodToCompile(method_ref) && in CompileMethod()
626 driver->ShouldCompileBasedOnProfile(method_ref); in CompileMethod()
638 driver->MarkForDexToDexCompilation(self, method_ref); in CompileMethod()
661 driver->AddCompiledMethod(method_ref, compiled_method, non_relative_linker_patch_count); in CompileMethod()
959 bool CompilerDriver::IsMethodToCompile(const MethodReference& method_ref) const { in IsMethodToCompile()
968 std::string tmp = PrettyMethod(method_ref.dex_method_index, *method_ref.dex_file, true); in IsMethodToCompile()
[all …]
Dcompiler_driver.h181 void AddCompiledMethod(const MethodReference& method_ref,
186 void RemoveCompiledMethod(const MethodReference& method_ref) REQUIRES(!compiled_methods_lock_);
431 bool IsMethodToCompile(const MethodReference& method_ref) const;
435 bool ShouldCompileBasedOnProfile(const MethodReference& method_ref) const;
479 void MarkForDexToDexCompilation(Thread* self, const MethodReference& method_ref)
/art/compiler/dex/
Dverification_results.h55 bool IsCandidateForCompilation(MethodReference& method_ref,
/art/compiler/linker/arm64/
Drelative_patcher_arm64.h33 MethodReference method_ref) OVERRIDE;
Drelative_patcher_arm64.cc57 MethodReference method_ref) { in ReserveSpace() argument
60 return ReserveSpaceInternal(offset, compiled_method, method_ref, 0u); in ReserveSpace()
79 offset = ReserveSpaceInternal(offset, compiled_method, method_ref, kAdrpThunkSize * num_adrp); in ReserveSpace()
/art/runtime/jit/
Doffline_profiling_info.cc549 bool ProfileCompilationInfo::ContainsMethod(const MethodReference& method_ref) const { in ContainsMethod()
550 auto info_it = info_.find(GetProfileDexFileKey(method_ref.dex_file->GetLocation())); in ContainsMethod()
552 if (method_ref.dex_file->GetLocationChecksum() != info_it->second.checksum) { in ContainsMethod()
556 return methods.find(method_ref.dex_method_index) != methods.end(); in ContainsMethod()
Doffline_profiling_info.h66 bool ContainsMethod(const MethodReference& method_ref) const;
/art/runtime/
Dprofiler.cc537 MethodReference method_ref(dex_file, method_idx); in PutStack() local
538 StackTrieNode* child = current->FindChild(method_ref, dex_pc); in PutStack()
547 StackTrieNode* new_node = new StackTrieNode(method_ref, dex_pc, method_size, current); in PutStack()
/art/compiler/
Doat_writer.cc693 MethodReference method_ref(dex_file_, it.GetMemberIndex()); in VisitMethod() local
695 quick_code_offset = writer_->relative_patcher_->GetOffset(method_ref); in VisitMethod()
713 if (writer_->relative_patcher_->GetOffset(method_ref) != 0u) { in VisitMethod()
716 << PrettyMethod(method_ref.dex_method_index, *method_ref.dex_file) in VisitMethod()
717 << " offsets " << writer_->relative_patcher_->GetOffset(method_ref) in VisitMethod()
720 writer_->relative_patcher_->SetOffset(method_ref, quick_code_offset); in VisitMethod()