Home
last modified time | relevance | path

Searched refs:VBases (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DVTTBuilder.cpp84 VisitedVirtualBasesSetTy &VBases) { in LayoutSecondaryVirtualPointers() argument
111 if (!VBases.insert(BaseDecl).second) in LayoutSecondaryVirtualPointers()
142 VTableClass, VBases); in LayoutSecondaryVirtualPointers()
149 VisitedVirtualBasesSetTy VBases; in LayoutSecondaryVirtualPointers() local
151 VTableIndex, Base.getBase(), VBases); in LayoutSecondaryVirtualPointers()
155 VisitedVirtualBasesSetTy &VBases) { in LayoutVirtualVTTs() argument
163 if (!VBases.insert(BaseDecl).second) in LayoutVirtualVTTs()
175 LayoutVirtualVTTs(BaseDecl, VBases); in LayoutVirtualVTTs()
209 VisitedVirtualBasesSetTy VBases; in LayoutVTT() local
210 LayoutVirtualVTTs(Base.getBase(), VBases); in LayoutVTT()
H A DDeclCXX.cpp121 return VBases.get(Definition->getASTContext().getExternalSource()); in getVBasesSlowCase()
218 SmallVector<const CXXBaseSpecifier *, 8> VBases; in setBases() local
301 VBases.push_back(&VBase); in setBases()
321 VBases.push_back(Base); in setBases()
477 if (VBases.empty()) { in setBases()
483 data().VBases = new (C) CXXBaseSpecifier[VBases.size()]; in setBases()
484 data().NumVBases = VBases.size(); in setBases()
485 for (int I = 0, E = VBases.size(); I != E; ++I) { in setBases()
486 QualType Type = VBases[I]->getType(); in setBases()
489 data().getVBases()[I] = *VBases[I]; in setBases()
H A DVTableBuilder.cpp985 VisitedVirtualBasesSetTy &VBases);
990 VisitedVirtualBasesSetTy &VBases);
1671 VisitedVirtualBasesSetTy VBases; in LayoutVTable() local
1675 VBases); in LayoutVTable()
1676 VBases.clear(); in LayoutVTable()
1678 LayoutVTablesForVirtualBases(MostDerivedClass, VBases); in LayoutVTable()
1843 VisitedVirtualBasesSetTy &VBases) { in DeterminePrimaryVirtualBases() argument
1880 if (!VBases.insert(BaseDecl).second) in DeterminePrimaryVirtualBases()
1893 DeterminePrimaryVirtualBases(BaseDecl, BaseOffsetInLayoutClass, VBases); in DeterminePrimaryVirtualBases()
1898 const CXXRecordDecl *RD, VisitedVirtualBasesSetTy &VBases) { in LayoutVTablesForVirtualBases() argument
[all …]
H A DRecordLayoutBuilder.cpp681 ASTRecordLayout::VBaseOffsetsMapTy VBases; member in __anonbcc347f50111::ItaniumRecordLayoutBuilder
1130 assert(!VBases.count(Info->PrimaryVirtualBaseInfo->Class) && in AddPrimaryVirtualBaseOffsets()
1132 VBases.insert(std::make_pair(Info->PrimaryVirtualBaseInfo->Class, in AddPrimaryVirtualBaseOffsets()
1205 assert(!VBases.count(Base->Class) && "vbase offset already exists!"); in LayoutVirtualBase()
1206 VBases.insert(std::make_pair(Base->Class, in LayoutVirtualBase()
1425 assert(VBases.count(BaseDecl) && "Did not find base offset!"); in Layout()
2653 ASTRecordLayout::VBaseOffsetsMapTy VBases; member
3208 VBases.insert(std::make_pair(BaseDecl, in layoutVirtualBases()
3372 Builder.Bases, Builder.VBases); in getASTRecordLayout()
3408 Builder.VBases); in getASTRecordLayout()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DVTTBuilder.h120 VisitedVirtualBasesSetTy &VBases);
130 VisitedVirtualBasesSetTy &VBases);
H A DDeclCXX.h327 LazyCXXBaseSpecifiersPtr VBases; member
362 if (!VBases.isOffset()) in getVBases()
363 return VBases.get(nullptr); in getVBases()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGClass.cpp2608 VisitedVirtualBasesSetTy VBases; in getVTablePointers() local
2612 /*BaseIsNonVirtualPrimaryBase=*/false, VTableClass, VBases, in getVTablePointers()
2622 VisitedVirtualBasesSetTy &VBases, in getVTablePointers() argument
2649 if (!VBases.insert(BaseDecl).second) in getVTablePointers()
2670 BaseDeclIsNonVirtualPrimaryBase, VTableClass, VBases, Vptrs); in getVTablePointers()
H A DCodeGenFunction.h2452 VisitedVirtualBasesSetTy &VBases, VPtrsVector &vptrs);
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprCXX.cpp933 llvm::SmallPtrSetImpl<CXXRecordDecl *> &VBases, in collectPublicBases() argument
942 NewSubobject = VBases.insert(BaseDecl).second; in collectPublicBases()
955 collectPublicBases(BaseDecl, SubobjectsSeen, VBases, PublicSubobjectsSeen, in collectPublicBases()
963 llvm::SmallSet<CXXRecordDecl *, 2> VBases; in getUnambiguousPublicSubobjects() local
967 collectPublicBases(RD, SubobjectsSeen, VBases, PublicSubobjectsSeen, in getUnambiguousPublicSubobjects()
H A DSemaDeclCXX.cpp15198 VBaseMap VBases; in checkMoveAssignmentForRepeatedMove() local
15233 VBases.insert(std::make_pair(Base->getCanonicalDecl(), &BI)) in checkMoveAssignmentForRepeatedMove()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp1999 Data.VBases = ReadGlobalOffset(); in ReadCXXDefinitionData()