Lines Matching refs:BaseDecl
348 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl(); in ComputeBaseOffsets() local
354 if (SubobjectOffsets.count(std::make_pair(BaseDecl, 0))) in ComputeBaseOffsets()
360 BaseOffset = MostDerivedClassLayout.getVBaseClassOffset(BaseDecl); in ComputeBaseOffsets()
362 LayoutClassLayout.getVBaseClassOffset(BaseDecl); in ComputeBaseOffsets()
365 CharUnits Offset = Layout.getBaseClassOffset(BaseDecl); in ComputeBaseOffsets()
371 ComputeBaseOffsets(BaseSubobject(BaseDecl, BaseOffset), in ComputeBaseOffsets()
384 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl(); in dump() local
387 if (!BaseDecl->isPolymorphic()) in dump()
392 if (!VisitedVirtualBases.insert(BaseDecl)) { in dump()
397 BaseOffset = MostDerivedClassLayout.getVBaseClassOffset(BaseDecl); in dump()
399 BaseOffset = Layout.getBaseClassOffset(BaseDecl) + Base.getBaseOffset(); in dump()
402 dump(Out, BaseSubobject(BaseDecl, BaseOffset), VisitedVirtualBases); in dump()
727 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl(); in AddVCallOffsets() local
728 if (BaseDecl == PrimaryBase) in AddVCallOffsets()
733 Layout.getBaseClassOffset(BaseDecl); in AddVCallOffsets()
735 AddVCallOffsets(BaseSubobject(BaseDecl, BaseOffset), in AddVCallOffsets()
748 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl(); in AddVBaseOffsets() local
751 if (B.isVirtual() && VisitedVirtualBases.insert(BaseDecl)) { in AddVBaseOffsets()
753 LayoutClassLayout.getVBaseClassOffset(BaseDecl) - OffsetInLayoutClass; in AddVBaseOffsets()
756 assert(!VBaseOffsetOffsets.count(BaseDecl) && in AddVBaseOffsets()
761 std::make_pair(BaseDecl, VBaseOffsetOffset)); in AddVBaseOffsets()
768 AddVBaseOffsets(BaseDecl, OffsetInLayoutClass); in AddVBaseOffsets()
1766 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl(); in LayoutSecondaryVTables() local
1769 if (!BaseDecl->isDynamicClass()) in LayoutSecondaryVTables()
1778 if (!BaseIsMorallyVirtual && !BaseDecl->getNumVBases()) in LayoutSecondaryVTables()
1783 CharUnits RelativeBaseOffset = Layout.getBaseClassOffset(BaseDecl); in LayoutSecondaryVTables()
1791 if (BaseDecl == PrimaryBase) { in LayoutSecondaryVTables()
1792 LayoutSecondaryVTables(BaseSubobject(BaseDecl, BaseOffset), in LayoutSecondaryVTables()
1799 BaseSubobject(BaseDecl, BaseOffset), in LayoutSecondaryVTables()
1840 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl(); in DeterminePrimaryVirtualBases() local
1845 if (!VBases.insert(BaseDecl)) in DeterminePrimaryVirtualBases()
1852 LayoutClassLayout.getVBaseClassOffset(BaseDecl); in DeterminePrimaryVirtualBases()
1855 OffsetInLayoutClass + Layout.getBaseClassOffset(BaseDecl); in DeterminePrimaryVirtualBases()
1858 DeterminePrimaryVirtualBases(BaseDecl, BaseOffsetInLayoutClass, VBases); in DeterminePrimaryVirtualBases()
1869 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl(); in LayoutVTablesForVirtualBases() local
1873 if (B.isVirtual() && BaseDecl->isDynamicClass() && in LayoutVTablesForVirtualBases()
1874 !PrimaryVirtualBases.count(BaseDecl) && VBases.insert(BaseDecl)) { in LayoutVTablesForVirtualBases()
1878 MostDerivedClassLayout.getVBaseClassOffset(BaseDecl); in LayoutVTablesForVirtualBases()
1883 LayoutClassLayout.getVBaseClassOffset(BaseDecl); in LayoutVTablesForVirtualBases()
1886 BaseSubobject(BaseDecl, BaseOffset), in LayoutVTablesForVirtualBases()
1894 if (BaseDecl->getNumVBases()) in LayoutVTablesForVirtualBases()
1895 LayoutVTablesForVirtualBases(BaseDecl, VBases); in LayoutVTablesForVirtualBases()