Lines Matching refs:MostDerivedClass
83 const CXXRecordDecl *MostDerivedClass; member in __anon248cc0a10111::FinalOverriders
135 FinalOverriders(const CXXRecordDecl *MostDerivedClass,
152 dump(llvm::errs(), BaseSubobject(MostDerivedClass, CharUnits::Zero()), in dump()
158 FinalOverriders::FinalOverriders(const CXXRecordDecl *MostDerivedClass, in FinalOverriders() argument
161 : MostDerivedClass(MostDerivedClass), in FinalOverriders()
163 Context(MostDerivedClass->getASTContext()), in FinalOverriders()
164 MostDerivedClassLayout(Context.getASTRecordLayout(MostDerivedClass)) { in FinalOverriders()
170 ComputeBaseOffsets(BaseSubobject(MostDerivedClass, CharUnits::Zero()), in FinalOverriders()
178 MostDerivedClass->getFinalOverriders(FinalOverriders); in FinalOverriders()
541 const CXXRecordDecl *MostDerivedClass; member in __anon248cc0a10111::VCallAndVBaseOffsetBuilder
587 VCallAndVBaseOffsetBuilder(const CXXRecordDecl *MostDerivedClass, in VCallAndVBaseOffsetBuilder() argument
592 : MostDerivedClass(MostDerivedClass), LayoutClass(LayoutClass), in VCallAndVBaseOffsetBuilder()
593 Context(MostDerivedClass->getASTContext()), Overriders(Overriders) { in VCallAndVBaseOffsetBuilder()
636 Context.getASTRecordLayout(MostDerivedClass); in AddVCallAndVBaseOffsets()
792 const CXXRecordDecl *MostDerivedClass; member in __anon248cc0a10111::ItaniumVTableBuilder
981 return MostDerivedClass != LayoutClass; in isBuildingConstructorVTable()
986 const CXXRecordDecl *MostDerivedClass, in ItaniumVTableBuilder() argument
990 : VTables(VTables), MostDerivedClass(MostDerivedClass), in ItaniumVTableBuilder()
993 LayoutClass(LayoutClass), Context(MostDerivedClass->getASTContext()), in ItaniumVTableBuilder()
994 Overriders(MostDerivedClass, MostDerivedClassOffset, LayoutClass) { in ItaniumVTableBuilder()
1182 if (MD->getParent() == MostDerivedClass) in ComputeThisAdjustments()
1194 if (Offset.DerivedClass == MostDerivedClass) { in ComputeReturnAdjustment()
1285 VCallAndVBaseOffsetBuilder Builder(MostDerivedClass, MostDerivedClass, in ComputeThisAdjustment()
1465 Context.getASTRecordLayout(MostDerivedClass); in AddMethods()
1539 Overrider.Method->getParent() == MostDerivedClass) { in AddMethods()
1616 LayoutPrimaryAndSecondaryVTables(BaseSubobject(MostDerivedClass, in LayoutVTable()
1625 DeterminePrimaryVirtualBases(MostDerivedClass, MostDerivedClassOffset, in LayoutVTable()
1629 LayoutVTablesForVirtualBases(MostDerivedClass, VBases); in LayoutVTable()
1643 VCallAndVBaseOffsetBuilder Builder(MostDerivedClass, LayoutClass, &Overriders, in LayoutPrimaryAndSecondaryVTables()
1658 if (Base.getBase() == MostDerivedClass) in LayoutPrimaryAndSecondaryVTables()
1666 Components.push_back(VTableComponent::MakeRTTI(MostDerivedClass)); in LayoutPrimaryAndSecondaryVTables()
1677 if (RD == MostDerivedClass) { in LayoutPrimaryAndSecondaryVTables()
1857 Context.getASTRecordLayout(MostDerivedClass); in LayoutVTablesForVirtualBases()
1887 MostDerivedClass->printQualifiedName(Out); in dumpLayout()
1893 MostDerivedClass->printQualifiedName(Out); in dumpLayout()
2075 if (MostDerivedClass->getNumVBases()) { in dumpLayout()
2087 MostDerivedClass->printQualifiedName(Out); in dumpLayout()
2165 for (const auto *MD : MostDerivedClass->methods()) { in dumpLayout()
2190 MostDerivedClass->printQualifiedName(Out); in dumpLayout()
2334 const CXXRecordDecl *MostDerivedClass, CharUnits MostDerivedClassOffset, in createConstructionVTableLayout() argument
2336 ItaniumVTableBuilder Builder(*this, MostDerivedClass, MostDerivedClassOffset, in createConstructionVTableLayout()
2404 const CXXRecordDecl *MostDerivedClass; member in __anon248cc0a10511::VFTableBuilder
2513 Components.push_back(VTableComponent::MakeRTTI(MostDerivedClass)); in LayoutVFTable()
2516 AddMethods(BaseSubobject(MostDerivedClass, CharUnits::Zero()), 0, nullptr, in LayoutVFTable()
2527 if (MD->getParent() != MostDerivedClass || MI.Shadowed) in LayoutVFTable()
2541 const CXXRecordDecl *MostDerivedClass, const VPtrInfo *Which) in VFTableBuilder() argument
2543 Context(MostDerivedClass->getASTContext()), in VFTableBuilder()
2544 MostDerivedClass(MostDerivedClass), in VFTableBuilder()
2545 MostDerivedClassLayout(Context.getASTRecordLayout(MostDerivedClass)), in VFTableBuilder()
2547 Overriders(MostDerivedClass, CharUnits(), MostDerivedClass) { in VFTableBuilder()
2864 if (Overrider.Method->getParent() == MostDerivedClass || in CalculateVtordispAdjustment()
2875 VTables.getVBTableIndex(MostDerivedClass, Overrider.VirtualBase); in CalculateVtordispAdjustment()
3039 LastVBase ? VTables.getVBTableIndex(MostDerivedClass, LastVBase) : 0; in AddMethods()
3129 MostDerivedClass->printQualifiedName(Out); in dumpLayout()
3190 Diags.Report(MostDerivedClass->getLocation(), DiagID) in dumpLayout()