/external/llvm-project/clang/lib/AST/ |
D | VTTBuilder.cpp | 89 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()
|
D | CXXInheritance.cpp | 90 if (!getNumVBases()) in isVirtuallyDerivedFrom() 697 if (BaseDecl->getNumVBases()) in AddIndirectPrimaryBases() 707 if (!getNumVBases()) in getIndirectPrimaryBases() 719 if (BaseDecl->getNumVBases()) in getIndirectPrimaryBases()
|
D | MicrosoftCXXABI.cpp | 161 if (getNumVBases() > 0) in calculateInheritanceModel()
|
D | VTableBuilder.cpp | 1763 if (!BaseIsMorallyVirtual && !BaseDecl->getNumVBases()) in LayoutSecondaryVTables() 1880 if (BaseDecl->getNumVBases()) in LayoutVTablesForVirtualBases() 2081 if (MostDerivedClass->getNumVBases()) { in dumpLayout() 2344 if (!RD->getNumVBases()) in computeVTableRelatedInformation()
|
D | RecordLayoutBuilder.cpp | 887 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/ |
D | VTTBuilder.cpp | 86 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()
|
D | CXXInheritance.cpp | 99 if (!getNumVBases()) in isVirtuallyDerivedFrom() 678 if (BaseDecl->getNumVBases()) in AddIndirectPrimaryBases() 688 if (!getNumVBases()) in getIndirectPrimaryBases() 700 if (BaseDecl->getNumVBases()) in getIndirectPrimaryBases()
|
D | MicrosoftCXXABI.cpp | 172 if (getNumVBases() > 0) in calculateInheritanceModel()
|
D | RecordLayoutBuilder.cpp | 848 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()
|
D | VTableBuilder.cpp | 1758 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/ |
D | VirtualInheritanceCheck.cpp | 22 if (!Node.getNumVBases()) return false; in AST_MATCHER()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGCXX.cpp | 62 if (Class->getNumVBases()) { in TryEmitBaseDestructorAsAlias() 231 MD->getParent()->getNumVBases() == 0) in getAddrAndTypeOfCXXStructor()
|
D | MicrosoftCXXABI.cpp | 88 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 …]
|
D | CGVTT.cpp | 105 assert(RD->getNumVBases() && "Only classes with virtual bases need a VTT"); in GetAddrOfVTT()
|
D | CGCXXABI.cpp | 137 if (MD->getParent()->getNumVBases() == 0 || // avoid vcall in common case in buildThisParam()
|
D | CGClass.cpp | 745 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()
|
D | ItaniumCXXABI.cpp | 1619 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/ |
D | MicrosoftCXXABI.cpp | 87 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 …]
|
D | CGVTT.cpp | 105 assert(RD->getNumVBases() && "Only classes with virtual bases need a VTT"); in GetAddrOfVTT()
|
D | CGCXX.cpp | 62 if (Class->getNumVBases()) { in TryEmitBaseDestructorAsAlias()
|
D | CGCXXABI.cpp | 171 if (MD->getParent()->getNumVBases() == 0 || // avoid vcall in common case in buildThisParam()
|
D | CGClass.cpp | 821 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()
|
D | ItaniumCXXABI.cpp | 1351 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/ |
D | PaddingChecker.cpp | 140 if (CXXRD->getNumVBases() != 0) in shouldSkipDecl()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | PaddingChecker.cpp | 160 if (CXXRD->getNumVBases() != 0) in shouldSkipDecl()
|