/art/compiler/optimizing/ |
D | inliner.cc | 83 ArtMethod* resolved_method = class_linker->FindDexCache(caller_dex_file)->GetResolvedMethod( in TryInline() local 86 if (resolved_method == nullptr) { in TryInline() 94 if (resolved_method->GetDexFile()->GetLocation().compare(outer_dex_file.GetLocation()) != 0) { in TryInline() 98 const DexFile::CodeItem* code_item = resolved_method->GetCodeItem(); in TryInline() 119 uint16_t class_def_idx = resolved_method->GetDeclaringClass()->GetDexClassDefIndex(); in TryInline() 121 resolved_method->GetDexMethodIndex(), class_def_idx, *resolved_method->GetDexFile())) { in TryInline() 127 if (resolved_method->ShouldNotInline()) { in TryInline() 143 if (!TryBuildAndInline(resolved_method, invoke_instruction, method_index, can_use_dex_cache)) { in TryInline() 152 bool HInliner::TryBuildAndInline(ArtMethod* resolved_method, in TryBuildAndInline() argument 157 const DexFile::CodeItem* code_item = resolved_method->GetCodeItem(); in TryBuildAndInline() [all …]
|
D | inliner.h | 51 bool TryBuildAndInline(ArtMethod* resolved_method,
|
D | builder.cc | 675 ArtMethod* resolved_method = compiler_driver_->ResolveMethod( in BuildInvoke() local 678 if (resolved_method == nullptr) { in BuildInvoke() 690 bool is_outer_class = (resolved_method->GetDeclaringClass() == outer_class.Get()); in BuildInvoke() 697 resolved_method, in BuildInvoke() 703 && outer_class->IsSubClass(resolved_method->GetDeclaringClass())) { in BuildInvoke() 720 resolved_method->GetDeclaringClass()->IsInitialized() && is_in_dex_cache; in BuildInvoke()
|
/art/compiler/driver/ |
D | compiler_driver-inl.h | 221 ArtMethod* resolved_method, uint16_t method_idx, uint32_t* storage_index) { in IsClassOfStaticMethodAvailableToReferrer() argument 223 dex_cache, referrer_class, resolved_method, method_idx, storage_index); in IsClassOfStaticMethodAvailableToReferrer() 272 ArtMethod* resolved_method = mUnit->GetClassLinker()->ResolveMethod( in ResolveMethod() local 274 DCHECK_EQ(resolved_method == nullptr, soa.Self()->IsExceptionPending()); in ResolveMethod() 275 if (UNLIKELY(resolved_method == nullptr)) { in ResolveMethod() 281 UNLIKELY(resolved_method->CheckIncompatibleClassChange(invoke_type))) { in ResolveMethod() 285 return resolved_method; in ResolveMethod() 289 ArtMethod* resolved_method, const DexFile** declaring_dex_file, in GetResolvedMethodDexFileLocation() argument 291 mirror::Class* declaring_class = resolved_method->GetDeclaringClass(); in GetResolvedMethodDexFileLocation() 294 *declaring_method_idx = resolved_method->GetDexMethodIndex(); in GetResolvedMethodDexFileLocation() [all …]
|
D | compiler_driver.h | 291 ArtMethod* resolved_method, 314 ArtMethod* resolved_method, const DexFile** declaring_dex_file, 320 ArtMethod* resolved_method, InvokeType type) 328 mirror::Class* referrer_class, ArtMethod* resolved_method, InvokeType* invoke_type, 336 bool IsMethodsClassInitialized(mirror::Class* referrer_class, ArtMethod* resolved_method)
|
D | compiler_driver.cc | 1506 ArtMethod* resolved_method = ResolveMethod( in ComputeInvokeInfo() local 1508 auto h_referrer_class = hs.NewHandle(resolved_method != nullptr ? in ComputeInvokeInfo() 1511 if (resolved_method != nullptr) { in ComputeInvokeInfo() 1512 *vtable_idx = GetResolvedMethodVTableIndex(resolved_method, orig_invoke_type); in ComputeInvokeInfo() 1518 soa, dex_cache, class_loader, mUnit, h_referrer_class.Get(), resolved_method, in ComputeInvokeInfo() 1524 UNLIKELY(!h_referrer_class->CanAccessResolvedMethod(resolved_method->GetDeclaringClass(), in ComputeInvokeInfo() 1525 resolved_method, dex_cache.Get(), in ComputeInvokeInfo() 1533 invoke_type, *invoke_type, false, h_referrer_class.Get(), resolved_method, &stats_flags, in ComputeInvokeInfo()
|
/art/compiler/dex/ |
D | mir_method_info.cc | 86 ArtMethod* resolved_method = nullptr; in Resolve() local 98 resolved_method = compiler_driver->ResolveMethod(soa, dex_cache, class_loader, mUnit, in Resolve() 115 resolved_method = compiler_driver->ResolveMethod(soa, current_dex_cache, class_loader, &cu, in Resolve() 117 if (resolved_method == nullptr) { in Resolve() 121 resolved_method = compiler_driver->ResolveMethod( in Resolve() 123 CHECK(resolved_method != nullptr); in Resolve() 125 if (resolved_method != nullptr) { in Resolve() 129 if (resolved_method->GetInvokeType() == kInterface) { in Resolve() 135 if (UNLIKELY(resolved_method == nullptr)) { in Resolve() 139 compiler_driver->GetResolvedMethodDexFileLocation(resolved_method, in Resolve() [all …]
|
/art/runtime/entrypoints/ |
D | entrypoint_utils-inl.h | 373 ArtMethod* resolved_method = class_linker->GetResolvedMethod(method_idx, *referrer); in FindMethodFromCode() local 374 if (resolved_method == nullptr) { in FindMethodFromCode() 379 resolved_method = class_linker->ResolveMethod(self, method_idx, *referrer, type); in FindMethodFromCode() 381 if (UNLIKELY(resolved_method == nullptr)) { in FindMethodFromCode() 391 if (UNLIKELY(resolved_method->CheckIncompatibleClassChange(type))) { in FindMethodFromCode() 392 ThrowIncompatibleClassChangeError(type, resolved_method->GetInvokeType(), resolved_method, in FindMethodFromCode() 396 mirror::Class* methods_class = resolved_method->GetDeclaringClass(); in FindMethodFromCode() 399 referring_class->CheckResolvedMethodAccess<type>(methods_class, resolved_method, in FindMethodFromCode() 409 return resolved_method; in FindMethodFromCode() 412 uint16_t vtable_index = resolved_method->GetMethodIndex(); in FindMethodFromCode() [all …]
|
/art/runtime/ |
D | class_linker-inl.h | 108 ArtMethod* resolved_method = referrer->GetDexCacheResolvedMethod( in GetResolvedMethod() local 110 if (resolved_method == nullptr || resolved_method->IsRuntimeMethod()) { in GetResolvedMethod() 113 return resolved_method; in GetResolvedMethod() 118 ArtMethod* resolved_method = GetResolvedMethod(method_idx, referrer); in ResolveMethod() local 119 if (UNLIKELY(resolved_method == nullptr)) { in ResolveMethod() 125 resolved_method = ResolveMethod(*dex_file, method_idx, h_dex_cache, h_class_loader, referrer, in ResolveMethod() 130 return resolved_method; in ResolveMethod()
|
D | trace.cc | 826 auto* resolved_method = dex_cache->GetResolvedMethod(method->GetDexMethodIndex(), sizeof(void*)); in RegisterMethod() local 827 if (resolved_method != method) { in RegisterMethod() 828 DCHECK(resolved_method == nullptr); in RegisterMethod()
|
D | class_linker.cc | 3445 ArtMethod* resolved_method = dex_cache->GetResolvedMethod( in FindMethodForProxy() local 3447 CHECK(resolved_method != nullptr); in FindMethodForProxy() 3448 return resolved_method; in FindMethodForProxy()
|
/art/runtime/mirror/ |
D | class.h | 604 bool CanAccessResolvedMethod(Class* access_to, ArtMethod* resolved_method, 608 bool CheckResolvedMethodAccess(Class* access_to, ArtMethod* resolved_method, 1162 bool ResolvedMethodAccessTest(Class* access_to, ArtMethod* resolved_method,
|