Home
last modified time | relevance | path

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

/art/compiler/linker/arm/
Drelative_patcher_arm_base.cc28 MethodReference method_ref) { in ReserveSpace() argument
29 return ReserveSpaceInternal(offset, compiled_method, method_ref, 0u); in ReserveSpace()
85 MethodReference method_ref, in ReserveSpaceInternal() argument
97 bool needs_thunk = ReserveSpaceProcessPatches(quick_code_offset, method_ref, in ReserveSpaceInternal()
140 MethodReference method_ref, in ReserveSpaceProcessPatches() argument
147 if (patch_ref.dex_file == method_ref.dex_file && in ReserveSpaceProcessPatches()
148 patch_ref.dex_method_index == method_ref.dex_method_index) { in ReserveSpaceProcessPatches()
Drelative_patcher_arm_base.h31 MethodReference method_ref) OVERRIDE;
41 MethodReference method_ref, uint32_t max_extra_space);
45 bool ReserveSpaceProcessPatches(uint32_t quick_code_offset, MethodReference method_ref,
/art/compiler/linker/
Drelative_patcher_test.h70 void AddCompiledMethod(MethodReference method_ref, in AddCompiledMethod() argument
73 compiled_method_refs_.push_back(method_ref); in AddCompiledMethod()
155 bool CheckLinkedMethod(MethodReference method_ref, const ArrayRef<const uint8_t>& expected_code) { in CheckLinkedMethod() argument
159 if (ref.dex_file == method_ref.dex_file && in CheckLinkedMethod()
160 ref.dex_method_index == method_ref.dex_method_index) { in CheckLinkedMethod()
168 auto result = method_offset_map_.FindMethodOffset(method_ref); in CheckLinkedMethod()
Drelative_patcher.h87 MethodReference method_ref) = 0;
Drelative_patcher.cc37 MethodReference method_ref ATTRIBUTE_UNUSED) OVERRIDE { in Create()
/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/dex/
Dverification_results.h56 bool IsCandidateForCompilation(MethodReference& method_ref,
Dmir_graph.h539 MethodReference method_ref; member
Dmir_graph.cc1760 info->method_ref = method_info.GetTargetMethod(); in NewMemCallInfo()
1762 info->method_ref = MethodReference(GetCurrentDexCompilationUnit()->GetDexFile(), in NewMemCallInfo()
/art/compiler/jit/
Djit_compiler.cc128 MethodReference method_ref(dex_file, method->GetDexMethodIndex()); in CompileMethod() local
130 if (verification_results_->GetVerifiedMethod(method_ref) == nullptr) { in CompileMethod()
169 compiler_driver_->RemoveCompiledMethod(method_ref); in CompileMethod()
/art/compiler/linker/arm64/
Drelative_patcher_arm64.cc45 MethodReference method_ref) { in ReserveSpace() argument
48 return ReserveSpaceInternal(offset, compiled_method, method_ref, 0u); in ReserveSpace()
68 offset = ReserveSpaceInternal(offset, compiled_method, method_ref, kAdrpThunkSize * num_adrp); in ReserveSpace()
Drelative_patcher_arm64.h32 MethodReference method_ref) OVERRIDE;
/art/compiler/driver/
Dcompiler_driver.cc680 bool CompilerDriver::IsMethodToCompile(const MethodReference& method_ref) const { in IsMethodToCompile()
689 std::string tmp = PrettyMethod(method_ref.dex_method_index, *method_ref.dex_file, true); in IsMethodToCompile()
2263 MethodReference method_ref(&dex_file, method_idx); in CompileMethod() local
2277 bool has_verified_method = verification_results_->GetVerifiedMethod(method_ref) != nullptr; in CompileMethod()
2280 verification_results_->IsCandidateForCompilation(method_ref, access_flags) && in CompileMethod()
2284 IsMethodToCompile(method_ref); in CompileMethod()
2320 DCHECK(GetCompiledMethod(method_ref) == nullptr) << PrettyMethod(method_idx, dex_file); in CompileMethod()
2323 compiled_methods_.Put(method_ref, compiled_method); in CompileMethod()
2326 DCHECK(GetCompiledMethod(method_ref) != nullptr) << PrettyMethod(method_idx, dex_file); in CompileMethod()
2332 verification_results_->RemoveVerifiedMethod(method_ref); in CompileMethod()
[all …]
Dcompiler_driver.h188 void RemoveCompiledMethod(const MethodReference& method_ref);
445 bool IsMethodToCompile(const MethodReference& method_ref) const;
/art/compiler/
Doat_writer.cc397 MethodReference method_ref(dex_file_, it.GetMemberIndex()); in VisitMethod() local
398 auto method_lb = writer_->method_offset_map_.map.lower_bound(method_ref); in VisitMethod()
400 !writer_->method_offset_map_.map.key_comp()(method_ref, method_lb->first)) { in VisitMethod()
403 << PrettyMethod(method_ref.dex_method_index, *method_ref.dex_file) in VisitMethod()
406 writer_->method_offset_map_.map.PutBefore(method_lb, method_ref, quick_code_offset); in VisitMethod()
/art/runtime/
Dprofiler.cc528 MethodReference method_ref(dex_file, method_idx); in PutStack() local
529 StackTrieNode* child = current->FindChild(method_ref, dex_pc); in PutStack()
538 StackTrieNode* new_node = new StackTrieNode(method_ref, dex_pc, method_size, current); in PutStack()
/art/runtime/interpreter/
Dinterpreter_common.cc665 MethodReference method_ref = method->ToMethodReference(); in DoCall() local
669 auto it = method_to_string_init_map.find(method_ref); in DoCall()
672 method_to_string_init_map.Overwrite(method_ref, string_init_map); in DoCall()
/art/compiler/dex/quick/x86/
Dutility_x86.cc1072 MethodReference method_ref = mir_graph_->GetMethodLoweringInfo(mir).GetTargetMethod(); in AnalyzeInvokeStaticIntrinsic() local
1075 cu_->compiler_driver->GetMethodInlinerMap()->GetMethodInliner(method_ref.dex_file); in AnalyzeInvokeStaticIntrinsic()
1077 bool is_intrinsic = method_inliner->IsIntrinsic(method_ref.dex_method_index, &method); in AnalyzeInvokeStaticIntrinsic()
/art/compiler/dex/quick/
Dgen_invoke.cc903 ShortyToRegClass(mir_graph_->GetShortyFromMethodReference(info->method_ref)[0])); in InlineTarget()
915 mir_graph_->GetShortyFromMethodReference(info->method_ref)[0])); in InlineTargetWide()
1540 const DexFile* dex_file = info->method_ref.dex_file; in GenInvoke()
1616 ShortyToRegClass(mir_graph_->GetShortyFromMethodReference(info->method_ref)[0]); in GenInvokeNoInline()
Ddex_file_method_inliner.cc531 auto it = inline_methods_.find(info->method_ref.dex_method_index); in GenIntrinsic()
Dcodegen_util.cc860 MethodReference method_ref(cu_->dex_file, cu_->method_idx); in CreateNativeGcMapWithoutRegisterPromotion() local