Home
last modified time | relevance | path

Searched refs:getNumVBases (Results 1 – 25 of 45) sorted by relevance

12

/external/llvm-project/clang/lib/AST/
DVTTBuilder.cpp89 if (!RD->getNumVBases() && !BaseIsMorallyVirtual) in LayoutSecondaryVirtualPointers()
133 (BaseDecl->getNumVBases() || BaseDeclIsMorallyVirtual)) { in LayoutSecondaryVirtualPointers()
174 if (BaseDecl->getNumVBases()) in LayoutVirtualVTTs()
185 if (RD->getNumVBases() == 0) in LayoutVTT()
DCXXInheritance.cpp90 if (!getNumVBases()) in isVirtuallyDerivedFrom()
697 if (BaseDecl->getNumVBases()) in AddIndirectPrimaryBases()
707 if (!getNumVBases()) in getIndirectPrimaryBases()
719 if (BaseDecl->getNumVBases()) in getIndirectPrimaryBases()
DMicrosoftCXXABI.cpp161 if (getNumVBases() > 0) in calculateInheritanceModel()
DVTableBuilder.cpp1763 if (!BaseIsMorallyVirtual && !BaseDecl->getNumVBases()) in LayoutSecondaryVTables()
1880 if (BaseDecl->getNumVBases()) in LayoutVTablesForVirtualBases()
2081 if (MostDerivedClass->getNumVBases()) { in dumpLayout()
2344 if (!RD->getNumVBases()) in computeVTableRelatedInformation()
DRecordLayoutBuilder.cpp887 if (RD->getNumVBases() != 0) { in DeterminePrimaryBase()
931 if (RD->getNumVBases()) { in ComputeBaseSubobjectInfo()
1110 if (!Info->Class->getNumVBases()) in AddPrimaryVirtualBaseOffsets()
1177 if (!BaseDecl->getNumVBases()) { in LayoutVirtualBases()
/external/clang/lib/AST/
DVTTBuilder.cpp86 if (!RD->getNumVBases() && !BaseIsMorallyVirtual) in LayoutSecondaryVirtualPointers()
130 (BaseDecl->getNumVBases() || BaseDeclIsMorallyVirtual)) { in LayoutSecondaryVirtualPointers()
171 if (BaseDecl->getNumVBases()) in LayoutVirtualVTTs()
182 if (RD->getNumVBases() == 0) in LayoutVTT()
DCXXInheritance.cpp99 if (!getNumVBases()) in isVirtuallyDerivedFrom()
678 if (BaseDecl->getNumVBases()) in AddIndirectPrimaryBases()
688 if (!getNumVBases()) in getIndirectPrimaryBases()
700 if (BaseDecl->getNumVBases()) in getIndirectPrimaryBases()
DMicrosoftCXXABI.cpp172 if (getNumVBases() > 0) in calculateInheritanceModel()
DRecordLayoutBuilder.cpp848 if (RD->getNumVBases() != 0) { in DeterminePrimaryBase()
892 if (RD->getNumVBases()) { in ComputeBaseSubobjectInfo()
1068 if (!Info->Class->getNumVBases()) in AddPrimaryVirtualBaseOffsets()
1135 if (!BaseDecl->getNumVBases()) { in LayoutVirtualBases()
DVTableBuilder.cpp1758 if (!BaseIsMorallyVirtual && !BaseDecl->getNumVBases()) in LayoutSecondaryVTables()
1875 if (BaseDecl->getNumVBases()) in LayoutVTablesForVirtualBases()
2075 if (MostDerivedClass->getNumVBases()) { in dumpLayout()
2316 if (!RD->getNumVBases()) in computeVTableRelatedInformation()
/external/llvm-project/clang-tools-extra/clang-tidy/fuchsia/
DVirtualInheritanceCheck.cpp22 if (!Node.getNumVBases()) return false; in AST_MATCHER()
/external/llvm-project/clang/lib/CodeGen/
DCGCXX.cpp62 if (Class->getNumVBases()) { in TryEmitBaseDestructorAsAlias()
231 MD->getParent()->getNumVBases() == 0) in getAddrAndTypeOfCXXStructor()
DMicrosoftCXXABI.cpp88 if (CD->getParent()->getNumVBases() > 0 && in getSrcArgforCopyCtor()
338 unsigned NumEntries = 1 + SrcRD->getNumVBases(); in getAddrOfVirtualDisplacementMap()
1303 if (Class->getNumVBases()) { in buildStructorSignature()
1371 if (D->getParent()->getNumVBases() > 0 && D->hasAttr<DLLExportAttr>()) in EmitCXXDestructors()
1485 if (isa<CXXConstructorDecl>(MD) && MD->getParent()->getNumVBases()) { in addImplicitStructorParams()
1556 if (isa<CXXConstructorDecl>(MD) && MD->getParent()->getNumVBases()) { in EmitInstanceFunctionProlog()
1581 if (!D->getParent()->getNumVBases()) in getImplicitConstructorArgs()
1612 if (Type == Dtor_Complete && DD->getParent()->getNumVBases() == 0) in EmitDestructorCall()
1739 assert(Base.getBase()->getNumVBases() && in getVTableAddressPointInStructor()
2104 llvm::ArrayType::get(CGM.IntTy, 1 + VBT.ObjectWithVPtr->getNumVBases()); in getAddrOfVBTable()
[all …]
DCGVTT.cpp105 assert(RD->getNumVBases() && "Only classes with virtual bases need a VTT"); in GetAddrOfVTT()
DCGCXXABI.cpp137 if (MD->getParent()->getNumVBases() == 0 || // avoid vcall in common case in buildThisParam()
DCGClass.cpp745 if (Ctor->getParent()->getNumVBases()) { in IsConstructorDelegationValid()
1298 ClassDecl->getNumVBases() != 0 && in EmitCtorPrologue()
1838 SanOpts.has(SanitizerKind::Memory) && ClassDecl->getNumVBases() && in EnterDtorCleanups()
1864 SanOpts.has(SanitizerKind::Memory) && !ClassDecl->getNumVBases() && in EnterDtorCleanups()
2613 if (RD->getNumVBases()) in InitializeVTablePointers()
2646 if (RD->getNumVBases() != 0) in LeastDerivedClassWithSameLayout()
DItaniumCXXABI.cpp1619 cast<CXXMethodDecl>(GD.getDecl())->getParent()->getNumVBases() != 0) { in buildStructorSignature()
1788 if ((Base.getBase()->getNumVBases() || NearestVBase != nullptr) && in getVTableAddressPointInStructor()
1821 assert((Base.getBase()->getNumVBases() || NearestVBase != nullptr) && in getVTableAddressPointInStructorWithVTT()
1993 if (RD->getNumVBases()) { in canSpeculativelyEmitVTableAsBaseClass()
2957 if (!MD->getParent()->getNumVBases()) in NeedsVTTParameter()
4132 if (MD->getParent()->getNumVBases()) in getCodegenToUse()
/external/clang/lib/CodeGen/
DMicrosoftCXXABI.cpp87 if (CD->getParent()->getNumVBases() > 0 && in getSrcArgforCopyCtor()
323 unsigned NumEntries = 1 + SrcRD->getNumVBases(); in getAddrOfVirtualDisplacementMap()
1245 if (Class->getNumVBases()) { in buildStructorSignature()
1372 if (isa<CXXConstructorDecl>(MD) && MD->getParent()->getNumVBases()) { in addImplicitStructorParams()
1437 if (isa<CXXConstructorDecl>(MD) && MD->getParent()->getNumVBases()) { in EmitInstanceFunctionProlog()
1462 if (!D->getParent()->getNumVBases()) in addImplicitConstructorArgs()
1589 assert(Base.getBase()->getNumVBases() && in getVTableAddressPointInStructor()
1975 llvm::ArrayType::get(CGM.IntTy, 1 + VBT.ReusingBase->getNumVBases()); in getAddrOfVBTable()
1999 assert(RD->getNumVBases() && ReusingBase->getNumVBases() && in emitVBTableDefinition()
2006 SmallVector<llvm::Constant *, 4> Offsets(1 + ReusingBase->getNumVBases(), in emitVBTableDefinition()
[all …]
DCGVTT.cpp105 assert(RD->getNumVBases() && "Only classes with virtual bases need a VTT"); in GetAddrOfVTT()
DCGCXX.cpp62 if (Class->getNumVBases()) { in TryEmitBaseDestructorAsAlias()
DCGCXXABI.cpp171 if (MD->getParent()->getNumVBases() == 0 || // avoid vcall in common case in buildThisParam()
DCGClass.cpp821 if (Ctor->getParent()->getNumVBases()) { in IsConstructorDelegationValid()
1364 if (ClassDecl->getNumVBases() && in EmitCtorPrologue()
1839 SanOpts.has(SanitizerKind::Memory) && ClassDecl->getNumVBases() && in EnterDtorCleanups()
1865 SanOpts.has(SanitizerKind::Memory) && !ClassDecl->getNumVBases() && in EnterDtorCleanups()
2559 if (RD->getNumVBases()) in InitializeVTablePointers()
2591 if (RD->getNumVBases() != 0) in LeastDerivedClassWithSameLayout()
DItaniumCXXABI.cpp1351 if (T == StructorType::Base && MD->getParent()->getNumVBases() != 0) in buildStructorSignature()
1507 if ((Base.getBase()->getNumVBases() || NearestVBase != nullptr) && in getVTableAddressPointInStructor()
1536 assert((Base.getBase()->getNumVBases() || NearestVBase != nullptr) && in getVTableAddressPointInStructorWithVTT()
2364 if (!MD->getParent()->getNumVBases()) in NeedsVTTParameter()
3417 if (MD->getParent()->getNumVBases()) in getCodegenToUse()
/external/clang/lib/StaticAnalyzer/Checkers/
DPaddingChecker.cpp140 if (CXXRD->getNumVBases() != 0) in shouldSkipDecl()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DPaddingChecker.cpp160 if (CXXRD->getNumVBases() != 0) in shouldSkipDecl()

12