Lines Matching refs:Overrider
180 for (const auto &Overrider : FinalOverriders) { in FinalOverriders() local
181 const CXXMethodDecl *MD = Overrider.first; in FinalOverriders()
182 const OverridingMethods &Methods = Overrider.second; in FinalOverriders()
204 OverriderInfo& Overrider = OverridersMap[std::make_pair(MD, BaseOffset)]; in FinalOverriders() local
205 assert(!Overrider.Method && "Overrider should not exist yet!"); in FinalOverriders()
207 Overrider.Offset = OverriderOffset; in FinalOverriders()
208 Overrider.Method = Method.Method; in FinalOverriders()
209 Overrider.VirtualBase = Method.InVirtualSubobject; in FinalOverriders()
416 OverriderInfo Overrider = getOverrider(MD, Base.getBaseOffset()); in dump() local
421 Overrider.Method->printQualifiedName(Out); in dump()
422 Out << ", " << Overrider.Offset.getQuantity() << ')'; in dump()
425 if (!Overrider.Method->isPure()) in dump()
426 Offset = ComputeReturnAdjustmentBaseOffset(Context, Overrider.Method, MD); in dump()
708 FinalOverriders::OverriderInfo Overrider = in AddVCallOffsets() local
713 Offset = Overrider.Offset - VBaseOffset; in AddVCallOffsets()
904 FinalOverriders::OverriderInfo Overrider);
929 bool IsOverriderUsed(const CXXMethodDecl *Overrider,
1126 FinalOverriders::OverriderInfo Overrider = in ComputeThisAdjustments() local
1130 if (MethodInfo.BaseOffsetInLayoutClass == Overrider.Offset) { in ComputeThisAdjustments()
1141 ComputeThisAdjustment(MD, MethodInfo.BaseOffsetInLayoutClass, Overrider); in ComputeThisAdjustments()
1259 FinalOverriders::OverriderInfo Overrider) { in ComputeThisAdjustment() argument
1261 if (Overrider.Method->isPure()) in ComputeThisAdjustment()
1267 BaseSubobject OverriderBaseSubobject(Overrider.Method->getParent(), in ComputeThisAdjustment()
1268 Overrider.Offset); in ComputeThisAdjustment()
1355 const CXXMethodDecl *Overrider, CharUnits BaseOffsetInLayoutClass, in IsOverriderUsed() argument
1369 if (Overrider->getParent() == FirstBaseInPrimaryBaseChain) in IsOverriderUsed()
1413 return OverridesIndirectMethodInBases(Overrider, PrimaryBases); in IsOverriderUsed()
1503 FinalOverriders::OverriderInfo Overrider = in AddMethods() local
1536 Overrider); in AddMethods()
1539 Overrider.Method->getParent() == MostDerivedClass) { in AddMethods()
1545 ComputeReturnAdjustmentBaseOffset(Context, Overrider.Method, MD); in AddMethods()
1550 AddThunk(Overrider.Method, in AddMethods()
1580 FinalOverriders::OverriderInfo Overrider = in AddMethods() local
1592 const CXXMethodDecl *OverriderMD = Overrider.Method; in AddMethods()
1611 AddMethod(Overrider.Method, ReturnAdjustment); in AddMethods()
2483 CharUnits ComputeThisOffset(FinalOverriders::OverriderInfo Overrider);
2485 void CalculateVtordispAdjustment(FinalOverriders::OverriderInfo Overrider,
2651 VFTableBuilder::ComputeThisOffset(FinalOverriders::OverriderInfo Overrider) { in ComputeThisOffset() argument
2664 visitAllOverriddenMethods(Overrider.Method, in ComputeThisOffset()
2671 return Overrider.Offset; in ComputeThisOffset()
2674 Overrider.Method->getParent()->lookupInBases( in ComputeThisOffset()
2688 Context.getASTRecordLayout(Overrider.Method->getParent()); in ComputeThisOffset()
2690 CharUnits ThisOffset = Overrider.Offset; in ComputeThisOffset()
2714 Overrider.Offset + OverriderRDLayout.getVBaseClassOffset(CurRD); in ComputeThisOffset()
2720 if (isa<CXXDestructorDecl>(Overrider.Method)) { in ComputeThisOffset()
2725 ThisOffset = Overrider.Offset; in ComputeThisOffset()
2842 FinalOverriders::OverriderInfo Overrider, CharUnits ThisOffset, in CalculateVtordispAdjustment() argument
2853 Overrider.VirtualBase == WhichVFPtr.getVBaseWithVPtr()) in CalculateVtordispAdjustment()
2864 if (Overrider.Method->getParent() == MostDerivedClass || in CalculateVtordispAdjustment()
2865 !Overrider.VirtualBase) in CalculateVtordispAdjustment()
2875 VTables.getVBTableIndex(MostDerivedClass, Overrider.VirtualBase); in CalculateVtordispAdjustment()
2877 TA.NonVirtual = (ThisOffset - Overrider.Offset).getQuantity(); in CalculateVtordispAdjustment()