/art/compiler/optimizing/ |
D | inliner.cc | 212 static ArtMethod* FindVirtualOrInterfaceTarget(HInvoke* invoke, ArtMethod* resolved_method) in FindVirtualOrInterfaceTarget() argument 214 if (IsMethodOrDeclaringClassFinal(resolved_method)) { in FindVirtualOrInterfaceTarget() 216 return resolved_method; in FindVirtualOrInterfaceTarget() 236 } else if (!resolved_method->GetDeclaringClass()->IsAssignableFrom(info.GetTypeHandle().Get())) { in FindVirtualOrInterfaceTarget() 248 resolved_method = info.GetTypeHandle()->FindVirtualMethodForInterface( in FindVirtualOrInterfaceTarget() 249 resolved_method, pointer_size); in FindVirtualOrInterfaceTarget() 252 resolved_method = info.GetTypeHandle()->FindVirtualMethodForVirtual( in FindVirtualOrInterfaceTarget() 253 resolved_method, pointer_size); in FindVirtualOrInterfaceTarget() 256 if (resolved_method == nullptr) { in FindVirtualOrInterfaceTarget() 261 } else if (!resolved_method->IsInvokable()) { in FindVirtualOrInterfaceTarget() [all …]
|
D | inliner.h | 88 ArtMethod* resolved_method, 95 ArtMethod* resolved_method, 101 ArtMethod* resolved_method, 121 ArtMethod* resolved_method, 172 ArtMethod* resolved_method) 212 ArtMethod* resolved_method, 218 ArtMethod* resolved_method, 223 ArtMethod* resolved_method, 233 ArtMethod* TryCHADevirtualization(ArtMethod* resolved_method) 248 void FixUpReturnReferenceType(ArtMethod* resolved_method, HInstruction* return_replacement) [all …]
|
D | instruction_builder.cc | 842 ArtMethod* resolved_method = in ResolveMethod() local 850 if (UNLIKELY(resolved_method == nullptr)) { in ResolveMethod() 862 if (!resolved_method->IsPublic()) { in ResolveMethod() 891 resolved_method, class_linker->GetImagePointerSize()); in ResolveMethod() 893 uint16_t vtable_index = resolved_method->GetMethodIndex(); in ResolveMethod() 897 if (actual_method != resolved_method && in ResolveMethod() 914 resolved_method = actual_method; in ResolveMethod() 918 if (resolved_method->GetDeclaringClass()->IsObjectClass()) { in ResolveMethod() 923 DCHECK(resolved_method->GetDeclaringClass()->IsInterface()); in ResolveMethod() 930 MethodReference(resolved_method->GetDexFile(), resolved_method->GetDexMethodIndex()); in ResolveMethod() [all …]
|
D | nodes.h | 4445 ArtMethod* resolved_method, in HInvoke() argument 4463 SetResolvedMethod(resolved_method); in HInvoke() 4514 ArtMethod* resolved_method) in HInvokePolymorphic() argument 4522 resolved_method, in HInvokePolymorphic() 4637 ArtMethod* resolved_method, in HInvokeStaticOrDirect() argument 4652 resolved_method, in HInvokeStaticOrDirect() 4859 ArtMethod* resolved_method, in HInvokeVirtual() argument 4868 resolved_method, in HInvokeVirtual() 4921 ArtMethod* resolved_method, in HInvokeInterface() argument 4930 resolved_method, in HInvokeInterface()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils-inl.h | 426 ArtMethod* resolved_method, in FindMethodToCall() argument 434 if (UNLIKELY(resolved_method->GetDeclaringClass()->IsStringClass() && in FindMethodToCall() 435 resolved_method->IsConstructor())) { in FindMethodToCall() 451 return resolved_method; in FindMethodToCall() 454 uint16_t vtable_index = resolved_method->GetMethodIndex(); in FindMethodToCall() 459 ThrowNoSuchMethodError(type, resolved_method->GetDeclaringClass(), in FindMethodToCall() 460 resolved_method->GetName(), resolved_method->GetSignature()); in FindMethodToCall() 491 uint16_t vtable_index = resolved_method->GetMethodIndex(); in FindMethodToCall() 498 ThrowNoSuchMethodError(type, resolved_method->GetDeclaringClass(), in FindMethodToCall() 499 resolved_method->GetName(), resolved_method->GetSignature()); in FindMethodToCall() [all …]
|
/art/runtime/interpreter/mterp/ |
D | nterp.cc | 229 ArtMethod* resolved_method = caller->SkipAccessChecks() in NterpGetMethod() local 234 if (resolved_method == nullptr) { in NterpGetMethod() 251 resolved_method->GetDeclaringClass(), in NterpGetMethod() 252 resolved_method->GetName(), in NterpGetMethod() 253 resolved_method->GetSignature()); in NterpGetMethod() 257 resolved_method = referenced_class->FindVirtualMethodForInterfaceSuper( in NterpGetMethod() 258 resolved_method, class_linker->GetImagePointerSize()); in NterpGetMethod() 260 uint16_t vtable_index = resolved_method->GetMethodIndex(); in NterpGetMethod() 267 resolved_method->GetDeclaringClass(), in NterpGetMethod() 268 resolved_method->GetName(), in NterpGetMethod() [all …]
|
/art/runtime/ |
D | class_linker-inl.h | 313 ArtMethod* resolved_method = referrer->GetDexCache<kWithoutReadBarrier>()->GetResolvedMethod( in GetResolvedMethod() local 315 if (resolved_method == nullptr) { in GetResolvedMethod() 318 DCHECK(!resolved_method->IsRuntimeMethod()); in GetResolvedMethod() 329 if (!referring_class->CanAccessResolvedMethod(resolved_method->GetDeclaringClass(), in GetResolvedMethod() 330 resolved_method, in GetResolvedMethod() 336 if (UNLIKELY(resolved_method->CheckIncompatibleClassChange(type))) { in GetResolvedMethod() 340 return resolved_method; in GetResolvedMethod() 356 ArtMethod* resolved_method = referrer->GetDexCache<kWithoutReadBarrier>()->GetResolvedMethod( in ResolveMethod() local 358 DCHECK(resolved_method == nullptr || !resolved_method->IsRuntimeMethod()); in ResolveMethod() 359 if (UNLIKELY(resolved_method == nullptr)) { in ResolveMethod() [all …]
|
/art/runtime/verifier/ |
D | class_verifier.cc | 265 ArtMethod* resolved_method = linker->ResolveMethod<ClassLinker::ResolveMode::kNoChecks>( in VerifyClass() local 267 if (resolved_method == nullptr) { in VerifyClass() 272 DCHECK(resolved_method->GetDeclaringClassUnchecked() != nullptr) << type; in VerifyClass() 285 resolved_method, in VerifyClass()
|
/art/runtime/interpreter/ |
D | interpreter_common.h | 252 ArtMethod* resolved_method; in DoInvoke() local 254 resolved_method = nullptr; // We don't know/care what the original method was. in DoInvoke() 256 resolved_method = reinterpret_cast<ArtMethod*>(tls_value); in DoInvoke() 262 resolved_method = class_linker->ResolveMethod<resolve_mode>(self, method_idx, sf_method, type); in DoInvoke() 263 if (UNLIKELY(resolved_method == nullptr)) { in DoInvoke() 269 tls_cache->Set(inst, reinterpret_cast<size_t>(resolved_method)); in DoInvoke() 288 method_idx, resolved_method, &receiver, sf_method, self); in DoInvoke()
|
/art/dex2oat/dex/ |
D | dex_to_dex_compiler.cc | 471 ArtMethod* resolved_method = in CompileInvokeVirtual() local 479 if (UNLIKELY(resolved_method == nullptr)) { in CompileInvokeVirtual() 485 uint32_t vtable_idx = resolved_method->GetMethodIndex(); in CompileInvokeVirtual()
|
/art/dex2oat/ |
D | verifier_deps_test.cc | 157 ArtMethod* resolved_method = in VerifyMethod() local 164 CHECK(resolved_method != nullptr); in VerifyMethod() 165 if (method_name == resolved_method->GetName()) { in VerifyMethod() 175 resolved_method, in VerifyMethod()
|
/art/runtime/entrypoints/quick/ |
D | quick_trampoline_entrypoints.cc | 2532 ArtMethod* resolved_method = linker->ResolveMethod<ClassLinker::ResolveMode::kCheckICCEAndIAE>( in artInvokePolymorphic() local 2544 DCHECK_EQ(resolved_method->IsStatic(), kMethodIsStatic); in artInvokePolymorphic() 2554 CREATE_SHADOW_FRAME(num_vregs, /* link= */ nullptr, resolved_method, dex_pc); in artInvokePolymorphic() 2573 Intrinsics intrinsic = static_cast<Intrinsics>(resolved_method->GetIntrinsic()); in artInvokePolymorphic() 2576 if (resolved_method->GetDeclaringClass() == GetClassRoot<mirror::MethodHandle>(linker)) { in artInvokePolymorphic() 2597 DCHECK_EQ(GetClassRoot<mirror::VarHandle>(linker), resolved_method->GetDeclaringClass()); in artInvokePolymorphic()
|
/art/runtime/mirror/ |
D | class.h | 633 ArtMethod* resolved_method, 638 ArtMethod* resolved_method, 1365 ArtMethod* resolved_method,
|
/art/dex2oat/linker/ |
D | oat_writer.cc | 1594 ArtMethod* resolved_method; in VisitMethod() local 1597 resolved_method = class_linker_->LookupResolvedMethod( in VisitMethod() 1599 if (resolved_method == nullptr) { in VisitMethod() 1608 resolved_method = class_linker_->LookupResolvedMethod(method.GetIndex(), in VisitMethod() 1612 if (resolved_method != nullptr && in VisitMethod() 1615 resolved_method->SetEntryPointFromQuickCompiledCodePtrSize( in VisitMethod()
|