/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A 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()
|
H A D | CXXInheritance.cpp | 90 if (!getNumVBases()) in isVirtuallyDerivedFrom() 696 if (BaseDecl->getNumVBases()) in AddIndirectPrimaryBases() 706 if (!getNumVBases()) in getIndirectPrimaryBases() 718 if (BaseDecl->getNumVBases()) in getIndirectPrimaryBases()
|
H A D | VTableBuilder.cpp | 1813 if (!BaseIsMorallyVirtual && !BaseDecl->getNumVBases()) in LayoutSecondaryVTables() 1930 if (BaseDecl->getNumVBases()) in LayoutVTablesForVirtualBases() 2152 if (MostDerivedClass->getNumVBases()) { in dumpLayout() 2441 if (!RD->getNumVBases()) in computeVTableRelatedInformation()
|
H A D | RecordLayoutBuilder.cpp | 898 if (RD->getNumVBases() != 0) { in DeterminePrimaryBase() 942 if (RD->getNumVBases()) { in ComputeBaseSubobjectInfo() 1121 if (!Info->Class->getNumVBases()) in AddPrimaryVirtualBaseOffsets() 1188 if (!BaseDecl->getNumVBases()) { in LayoutVirtualBases()
|
H A D | DeclCXX.cpp | 2054 getNumVBases() > 0 || conversion_end() - conversion_begin() > 0) in isInterfaceLike()
|
H A D | ExprConstant.cpp | 5836 if (!Class || Class->getNumVBases()) { in ComputeDynamicType() 6380 if (RD->getNumVBases()) { in HandleConstructorCall() 6662 if (RD->getNumVBases()) { in HandleDestructionImpl() 10301 if (isa<CXXRecordDecl>(RD) && cast<CXXRecordDecl>(RD)->getNumVBases()) { in ZeroInitialization()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGCXX.cpp | 67 if (Class->getNumVBases()) { in TryEmitBaseDestructorAsAlias() 230 MD->getParent()->getNumVBases() == 0) in getAddrAndTypeOfCXXStructor()
|
H A D | MicrosoftCXXABI.cpp | 93 if (CD->getParent()->getNumVBases() > 0 && in getSrcArgforCopyCtor() 368 unsigned NumEntries = 1 + SrcRD->getNumVBases(); in getAddrOfVirtualDisplacementMap() 1364 if (Class->getNumVBases()) { in buildStructorSignature() 1431 if (D->getParent()->getNumVBases() > 0 && D->hasAttr<DLLExportAttr>()) in EmitCXXDestructors() 1545 if (isa<CXXConstructorDecl>(MD) && MD->getParent()->getNumVBases()) { in addImplicitStructorParams() 1608 if (isa<CXXConstructorDecl>(MD) && MD->getParent()->getNumVBases()) { in EmitInstanceFunctionProlog() 1633 if (!D->getParent()->getNumVBases()) in getImplicitConstructorArgs() 1664 if (Type == Dtor_Complete && DD->getParent()->getNumVBases() == 0) in EmitDestructorCall() 1796 assert(Base.getBase()->getNumVBases() && in getVTableAddressPointInStructor() 2159 llvm::ArrayType::get(CGM.IntTy, 1 + VBT.ObjectWithVPtr->getNumVBases()); in getAddrOfVBTable() [all …]
|
H A D | CGVTT.cpp | 118 assert(RD->getNumVBases() && "Only classes with virtual bases need a VTT"); in GetAddrOfVTT()
|
H A D | CGCXXABI.cpp | 143 if (MD->getParent()->getNumVBases() == 0 || // avoid vcall in common case in buildThisParam()
|
H A D | CGClass.cpp | 745 if (Ctor->getParent()->getNumVBases()) { in IsConstructorDelegationValid() 1291 ClassDecl->getNumVBases() != 0 && in EmitCtorPrologue() 1889 SanOpts.has(SanitizerKind::Memory) && ClassDecl->getNumVBases() && in EnterDtorCleanups() 1921 SanOpts.has(SanitizerKind::Memory) && !ClassDecl->getNumVBases() && in EnterDtorCleanups() 2684 if (RD->getNumVBases()) in InitializeVTablePointers() 2740 if (RD->getNumVBases() != 0) in LeastDerivedClassWithSameLayout()
|
H A D | CodeGenTBAA.cpp | 435 if (CodeGenOpts.NewStructPathTBAA && CXXRD->getNumVBases() != 0) in getBaseTypeInfoHelper()
|
H A D | ItaniumCXXABI.cpp | 1844 cast<CXXMethodDecl>(GD.getDecl())->getParent()->getNumVBases() != 0) { in buildStructorSignature() 2072 if ((Base.getBase()->getNumVBases() || NearestVBase != nullptr) && in getVTableAddressPointInStructor() 2113 assert((Base.getBase()->getNumVBases() || NearestVBase != nullptr) && in getVTableAddressPointInStructorWithVTT() 2300 if (RD->getNumVBases()) { in canSpeculativelyEmitVTableAsBaseClass() 3323 if (!MD->getParent()->getNumVBases()) in NeedsVTTParameter() 4610 if (MD->getParent()->getNumVBases()) in getCodegenToUse()
|
H A D | CGVTables.cpp | 1192 if (RD->getNumVBases()) in GenerateClassData()
|
H A D | CGCall.cpp | 578 if (RD->getNumVBases() > 0) in arrangeMSCtorClosure()
|
H A D | CodeGenModule.cpp | 4781 DD->getParent()->getNumVBases() == 0) in GetAddrOfFunction()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | PaddingChecker.cpp | 160 if (CXXRD->getNumVBases() != 0) in shouldSkipDecl()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaDeclCXX.cpp | 1798 if (RD->getNumVBases()) { in CheckConstexprFunctionDefinition() 1804 << getRecordDiagFromTagKind(RD->getTagKind()) << RD->getNumVBases(); in CheckConstexprFunctionDefinition() 2345 assert(RD->getNumVBases() == 0 && "constexpr ctor with virtual bases"); in CheckConstexprFunctionBody() 7401 if (Ctor && ClassDecl->getNumVBases()) in defaultedSpecialMemberIsConstexpr() 7742 if (!MD->isConsteval() && RD->getNumVBases()) { in CheckExplicitlyDefaultedSpecialMember() 10174 if (RD->getNumVBases()) { in SpecialMemberIsTrivial() 12518 if (!Derived->getNumVBases()) in isVirtualDirectBase() 14233 assert(ClassDecl->getNumVBases() > 0 && in CheckCompleteDestructorVariant() 15192 if (Class->getNumVBases() == 0 || Class->hasTrivialMoveAssignment() || in checkMoveAssignmentForRepeatedMove() 15212 if (!BaseSpec->isVirtual() && !Base->getNumVBases()) in checkMoveAssignmentForRepeatedMove() [all …]
|
H A D | SemaType.cpp | 9289 if (RD->getNumVBases()) { in RequireLiteralType() 9291 << getLiteralDiagFromTagKind(RD->getTagKind()) << RD->getNumVBases(); in RequireLiteralType()
|
H A D | SemaDecl.cpp | 18936 if (CXXRecord && CXXRecord->getNumVBases() != 0) in ActOnFields() 19106 if (CXXRecord->getNumVBases()) { in ActOnFields()
|
H A D | SemaExpr.cpp | 18107 if (Parent->getNumVBases() > 0 && !Dtor->getBody()) in MarkFunctionReferenced()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | RegionStore.cpp | 2570 if (Class->getNumBases() != 0 || Class->getNumVBases() != 0) in tryBindSmallStruct()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | DeclCXX.h | 634 unsigned getNumVBases() const { return data().NumVBases; } in getNumVBases() function
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Compiler.cpp | 1216 CXXRD && CXXRD->getNumVBases() > 0) { in VisitImplicitValueInitExpr()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/ |
H A D | TypeSystemClang.cpp | 5876 count = cxx_record_decl->getNumVBases(); in GetNumVirtualBaseClasses()
|