/aosp_15_r20/art/compiler/optimizing/ |
H A D | inliner.cc | 244 ArtMethod* resolved_method = invoke->GetResolvedMethod(); in FindVirtualOrInterfaceTarget() local 245 if (IsMethodOrDeclaringClassFinal(resolved_method)) { in FindVirtualOrInterfaceTarget() 247 return resolved_method; in FindVirtualOrInterfaceTarget() 254 } else if (!resolved_method->GetDeclaringClass()->IsAssignableFrom(info.GetTypeHandle().Get())) { in FindVirtualOrInterfaceTarget() 266 resolved_method = info.GetTypeHandle()->FindVirtualMethodForInterface( in FindVirtualOrInterfaceTarget() 267 resolved_method, pointer_size); in FindVirtualOrInterfaceTarget() 270 resolved_method = info.GetTypeHandle()->FindVirtualMethodForVirtual( in FindVirtualOrInterfaceTarget() 271 resolved_method, pointer_size); in FindVirtualOrInterfaceTarget() 274 if (resolved_method == nullptr) { in FindVirtualOrInterfaceTarget() 279 } else if (!resolved_method->IsInvokable()) { in FindVirtualOrInterfaceTarget() [all …]
|
H A D | inliner.h | 91 ArtMethod* resolved_method, 98 ArtMethod* resolved_method, 105 ArtMethod* resolved_method, 239 ArtMethod* FindMethodFromCHA(ArtMethod* resolved_method) 258 void FixUpReturnReferenceType(ArtMethod* resolved_method, HInstruction* return_replacement) 261 bool ArgumentTypesMoreSpecific(HInvoke* invoke_instruction, ArtMethod* resolved_method)
|
H A D | intrinsics.cc | 235 ArtMethod* resolved_method = is_double in InsertFpToIntegralIntrinsic() local 238 DCHECK(resolved_method != nullptr); in InsertFpToIntegralIntrinsic() 239 DCHECK(resolved_method->IsIntrinsic()); in InsertFpToIntegralIntrinsic() 244 MethodReference(resolved_method->GetDexFile(), resolved_method->GetDexMethodIndex()); in InsertFpToIntegralIntrinsic() 261 resolved_method, in InsertFpToIntegralIntrinsic()
|
H A D | instruction_builder.cc | 940 ArtMethod* resolved_method = nullptr; in ResolveMethod() local 944 resolved_method = class_linker->ResolveMethodId( in ResolveMethod() 947 resolved_method = class_linker->ResolveMethodId(method_idx, referrer); in ResolveMethod() 949 resolved_method = class_linker->ResolveMethodWithChecks( in ResolveMethod() 955 if (UNLIKELY(resolved_method == nullptr)) { in ResolveMethod() 977 ObjPtr<mirror::Class> declaring_class = resolved_method->GetDeclaringClass(); in ResolveMethod() 991 if (resolved_method->IsPrivate() || in ResolveMethod() 992 (!resolved_method->IsPublic() && !declaring_class_accessible)) { in ResolveMethod() 1008 method_idx, resolved_method, referrer, soa.Self()); in ResolveMethod() 1021 resolved_method = actual_method->GetCanonicalMethod(class_linker->GetImagePointerSize()); in ResolveMethod() [all …]
|
H A D | nodes.h | 4680 ArtMethod* resolved_method, 4700 SetResolvedMethod(resolved_method, enable_intrinsic_opt); 4762 ArtMethod* resolved_method, 4773 resolved_method, 4865 ArtMethod* resolved_method, 4882 resolved_method, 5094 ArtMethod* resolved_method, 5106 resolved_method, 5137 ArtMethod* resolved_method, 5150 resolved_method,
|
/aosp_15_r20/art/runtime/interpreter/mterp/ |
H A D | nterp.cc | 333 ArtMethod* resolved_method = caller->SkipAccessChecks() in NterpGetMethod() local 336 if (resolved_method == nullptr) { in NterpGetMethod() 342 resolved_method = caller->SkipAccessChecks() in NterpGetMethod() 343 ? FindSuperMethodToCall</*access_check=*/false>(method_index, resolved_method, caller, self) in NterpGetMethod() 344 : FindSuperMethodToCall</*access_check=*/true>(method_index, resolved_method, caller, self); in NterpGetMethod() 345 if (resolved_method == nullptr) { in NterpGetMethod() 353 if (resolved_method->GetDeclaringClass()->IsObjectClass()) { in NterpGetMethod() 355 DCHECK_LT(resolved_method->GetMethodIndex(), 0x10000); in NterpGetMethod() 356 result = (resolved_method->GetMethodIndex() << 16) | 1U; in NterpGetMethod() 358 DCHECK(resolved_method->GetDeclaringClass()->IsInterface()); in NterpGetMethod() [all …]
|
/aosp_15_r20/art/runtime/entrypoints/ |
H A D | entrypoint_utils-inl.h | 607 ArtMethod* resolved_method, in FindSuperMethodToCall() argument 627 resolved_method->GetDeclaringClass(), in FindSuperMethodToCall() 628 resolved_method->GetName(), in FindSuperMethodToCall() 629 resolved_method->GetSignature()); in FindSuperMethodToCall() 637 resolved_method, linker->GetImagePointerSize()); in FindSuperMethodToCall() 642 DCHECK(resolved_method->IsCopied() || in FindSuperMethodToCall() 643 !resolved_method->GetDeclaringClass()->IsInterface()); in FindSuperMethodToCall() 645 uint16_t vtable_index = resolved_method->GetMethodIndex(); in FindSuperMethodToCall() 654 resolved_method->GetDeclaringClass(), in FindSuperMethodToCall() 655 resolved_method->GetName(), in FindSuperMethodToCall() [all …]
|
H A D | entrypoint_utils.h | 132 ArtMethod* resolved_method,
|
/aosp_15_r20/external/fbjni/test/jni/ |
H A D | fbjni_tests.cpp | 129 auto resolved_method = in TestVirtualMethodResolution_I() local 131 return static_cast<bool>(resolved_method); in TestVirtualMethodResolution_I() 140 auto resolved_method = resolved_class->getMethod<jbyteArray()>( in TestVirtualMethodResolution_arrB() local 142 return static_cast<bool>(resolved_method); in TestVirtualMethodResolution_arrB() 151 auto resolved_method = in TestVirtualMethodResolution_S_arrS() local 154 return static_cast<bool>(resolved_method); in TestVirtualMethodResolution_S_arrS() 163 auto resolved_method = in TestVirtualMethodResolution_arrarrS() local 166 return static_cast<bool>(resolved_method); in TestVirtualMethodResolution_arrarrS() 175 auto resolved_method = in TestVirtualMethodResolution_arrarrI() local 178 return static_cast<bool>(resolved_method); in TestVirtualMethodResolution_arrarrI() [all …]
|
/aosp_15_r20/art/dex2oat/ |
H A D | verifier_deps_test.cc | 156 ArtMethod* resolved_method = in VerifyMethod() local 161 CHECK(resolved_method != nullptr); in VerifyMethod() 162 if (method_name == resolved_method->GetName()) { in VerifyMethod()
|
/aosp_15_r20/art/runtime/entrypoints/quick/ |
H A D | quick_trampoline_entrypoints.cc | 2430 ArtMethod* resolved_method = linker->ResolveMethodWithChecks( in artInvokePolymorphic() local 2434 DCHECK_EQ(resolved_method->IsStatic(), kMethodIsStatic); in artInvokePolymorphic() 2444 CREATE_SHADOW_FRAME(num_vregs, resolved_method, dex_pc); in artInvokePolymorphic() 2461 Intrinsics intrinsic = resolved_method->GetIntrinsic(); in artInvokePolymorphic() 2464 if (resolved_method->GetDeclaringClass() == GetClassRoot<mirror::MethodHandle>(linker)) { in artInvokePolymorphic() 2493 DCHECK_EQ(GetClassRoot<mirror::VarHandle>(linker), resolved_method->GetDeclaringClass()); in artInvokePolymorphic() 2560 ArtMethod* resolved_method = linker->ResolveMethodWithChecks( in artInvokePolymorphicWithHiddenReceiver() local 2562 CHECK_EQ(resolved_method, invoke_exact); in artInvokePolymorphicWithHiddenReceiver()
|
/aosp_15_r20/art/dex2oat/linker/ |
H A D | oat_writer.cc | 1492 ArtMethod* resolved_method = klass_->IsInterface() in VisitMethod() local 1495 DCHECK(resolved_method != nullptr); in VisitMethod() 1496 resolved_method->SetEntryPointFromQuickCompiledCodePtrSize( in VisitMethod()
|