Lines Matching refs:method

141 ArtMethod* GetTargetConstructor(ArtMethod* method, const Instruction* invoke_direct)  in GetTargetConstructor()  argument
145 CodeItemDataAccessor accessor(method->DexInstructionData()); in GetTargetConstructor()
151 method_index, method->GetDexCache(), method->GetClassLoader()); in GetTargetConstructor()
155 CHECK(target_method->GetDeclaringClass() == method->GetDeclaringClass() || in GetTargetConstructor()
156 target_method->GetDeclaringClass() == method->GetDeclaringClass()->GetSuperClass()); in GetTargetConstructor()
210 bool RecordConstructorIPut(ArtMethod* method, in RecordConstructorIPut() argument
219 ArtField* field = class_linker->LookupResolvedField(field_index, method, /* is_static= */ false); in RecordConstructorIPut()
230 method, in RecordConstructorIPut()
255 ArtMethod* method, in DoAnalyseConstructor() argument
292 DCHECK(method != nullptr); in DoAnalyseConstructor()
293 DCHECK(!method->IsStatic()); in DoAnalyseConstructor()
294 DCHECK(method->IsConstructor()); in DoAnalyseConstructor()
296 if (!method->GetDeclaringClass()->IsVerified() || in DoAnalyseConstructor()
312 ArtMethod* target_method = GetTargetConstructor(method, &instruction); in DoAnalyseConstructor()
318 if (target_method->GetDeclaringClass() == method->GetDeclaringClass() && in DoAnalyseConstructor()
347 target_method->GetDexCache() != method->GetDexCache()) { in DoAnalyseConstructor()
359 if (!RecordConstructorIPut(method, &instruction, this_vreg, zero_vreg_mask, iputs)) { in DoAnalyseConstructor()
370 ArtMethod* method, in AnalyseConstructor() argument
374 if (!DoAnalyseConstructor(code_item, method, iputs)) { in AnalyseConstructor()
432 bool InlineMethodAnalyser::AnalyseMethodCode(ArtMethod* method, InlineMethod* result) { in AnalyseMethodCode() argument
433 CodeItemDataAccessor code_item(method->DexInstructionData()); in AnalyseMethodCode()
439 MethodReference(method->GetDexFile(), method->GetDexMethodIndex()), in AnalyseMethodCode()
440 method->IsStatic(), in AnalyseMethodCode()
441 method, in AnalyseMethodCode()
448 ArtMethod* method, in AnalyseMethodCode() argument
480 if (method != nullptr && !method->IsStatic() && method->IsConstructor()) { in AnalyseMethodCode()
481 return AnalyseConstructor(code_item, method, result); in AnalyseMethodCode()
495 return AnalyseIGetMethod(code_item, method_ref, is_static, method, result); in AnalyseMethodCode()
507 return AnalyseIPutMethod(code_item, method_ref, is_static, method, result); in AnalyseMethodCode()
578 ArtMethod* method, in AnalyseIGetMethod() argument
626 if (!ComputeSpecialAccessorInfo(method, field_idx, false, data)) { in AnalyseIGetMethod()
642 ArtMethod* method, in AnalyseIPutMethod() argument
694 if (!ComputeSpecialAccessorInfo(method, field_idx, true, data)) { in AnalyseIPutMethod()
707 bool InlineMethodAnalyser::ComputeSpecialAccessorInfo(ArtMethod* method, in ComputeSpecialAccessorInfo() argument
711 if (method == nullptr) { in ComputeSpecialAccessorInfo()
714 ObjPtr<mirror::DexCache> dex_cache = method->GetDexCache(); in ComputeSpecialAccessorInfo()
716 ArtField* field = class_linker->LookupResolvedField(field_idx, method, /* is_static= */ false); in ComputeSpecialAccessorInfo()
720 ObjPtr<mirror::Class> method_class = method->GetDeclaringClass(); in ComputeSpecialAccessorInfo()