| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | GlobalDecl.h | 63 assert(!isa<CXXDestructorDecl>(D) && "Use other ctor with dtor decls!"); in Init() 93 GlobalDecl(const CXXDestructorDecl *D, CXXDtorType Type) : Value(D, Type) {} in GlobalDecl() 114 assert(isa<CXXDestructorDecl>(getDecl()) && "Decl is not a dtor!"); in getDtorType() 130 !isa<CXXDestructorDecl>(getDecl()) && in getMultiVersionIndex() 186 assert(isa<CXXDestructorDecl>(getDecl())); in getWithDtorType() 196 !isa<CXXDestructorDecl>(getDecl()) && in getWithMultiVersionIndex()
|
| H A D | VTableBuilder.h | 72 assert(!isa<CXXDestructorDecl>(MD) && in MakeFunction() 79 static VTableComponent MakeCompleteDtor(const CXXDestructorDecl *DD) { in MakeCompleteDtor() 84 static VTableComponent MakeDeletingDtor(const CXXDestructorDecl *DD) { in MakeDeletingDtor() 90 assert(!isa<CXXDestructorDecl>(MD) && in MakeUnusedFunction() 131 const CXXDestructorDecl *getDestructorDecl() const { in getDestructorDecl() 133 return reinterpret_cast<CXXDestructorDecl *>(getPointer()); in getDestructorDecl() 157 auto *DtorDecl = dyn_cast<CXXDestructorDecl>(getFunctionDecl()); in getGlobalDecl() 622 if (isa<CXXDestructorDecl>(GD.getDecl()) && in getThunkInfo()
|
| H A D | Mangle.h | 32 class CXXDestructorDecl; variable 139 virtual void mangleCXXDtorThunk(const CXXDestructorDecl *DD, CXXDtorType Type, 156 void mangleDtorBlock(const CXXDestructorDecl *CD, CXXDtorType DT, 209 virtual void mangleCXXDtorComdat(const CXXDestructorDecl *D,
|
| H A D | ASTMutationListener.h | 20 class CXXDestructorDecl; variable 85 virtual void ResolvedOperatorDelete(const CXXDestructorDecl *DD, in ResolvedOperatorDelete()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenItaniumCXXABI.cpp | 46 void emitCXXDestructors(const clang::CXXDestructorDecl *d) override; 49 bool useThunkForDtorVariant(const CXXDestructorDecl *dtor, in useThunkForDtorVariant() 110 if (const auto *dd = dyn_cast<CXXDestructorDecl>(md)) { in getCIRGenToUse() 206 void CIRGenItaniumCXXABI::emitCXXDestructors(const CXXDestructorDecl *d) { in emitCXXDestructors() 237 if (isa<CXXDestructorDecl>(md) && gd.getDtorType() == Dtor_Base) in needsVTTParameter()
|
| H A D | CIRGenCXXABI.h | 76 virtual void emitCXXDestructors(const clang::CXXDestructorDecl *d) = 0; 81 virtual bool useThunkForDtorVariant(const CXXDestructorDecl *dtor, 85 getCXXDestructorLinkage(GVALinkage linkage, const CXXDestructorDecl *dtor,
|
| H A D | CIRGenCXXExpr.cpp | 126 isa<CXXDestructorDecl>(md)) in emitCXXMemberOrOperatorMemberCallExpr() 132 if (isa<CXXDestructorDecl>(calleeDecl)) { in emitCXXMemberOrOperatorMemberCallExpr() 145 if (isa<CXXDestructorDecl>(calleeDecl)) { in emitCXXMemberOrOperatorMemberCallExpr()
|
| H A D | CIRGenCXXABI.cpp | 45 GVALinkage linkage, const CXXDestructorDecl *dtor, CXXDtorType dt) const { in getCXXDestructorLinkage()
|
| H A D | CIRGenFunction.cpp | 465 if (isa<CXXDestructorDecl>(funcDecl)) { in generateCode() 545 const CXXDestructorDecl *dtor = cast<CXXDestructorDecl>(curGD.getDecl()); in emitDestructorBody() 676 if (md && (isa<CXXConstructorDecl>(md) || isa<CXXDestructorDecl>(md))) in buildFunctionArgList()
|
| H A D | CIRGenModule.cpp | 240 if (isa<CXXConstructorDecl>(d) || isa<CXXDestructorDecl>(d)) in getAddrOfGlobal() 797 if (isa<CXXConstructorDecl>(method) || isa<CXXDestructorDecl>(method)) in emitGlobalDefinition() 1118 if (const auto *dtor = dyn_cast<CXXDestructorDecl>(d)) in getFunctionLinkage() 1278 getCXXABI().emitCXXDestructors(cast<CXXDestructorDecl>(decl)); in emitTopLevelDecl() 1306 if (isa<CXXDestructorDecl>(md)) { in getAddrAndTypeOfCXXStructor() 1344 if (const auto *dd = dyn_cast<CXXDestructorDecl>(gd.getDecl())) { in getAddrOfFunction() 1746 if (isa_and_nonnull<CXXDestructorDecl>(d) && in getOrCreateCIRFunction() 1747 getCXXABI().useThunkForDtorVariant(cast<CXXDestructorDecl>(d), in getOrCreateCIRFunction()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGCXXABI.h | 31 class CXXDestructorDecl; variable 125 (isa<CXXDestructorDecl>(GD.getDecl()) && in HasThisReturn() 256 const CXXDestructorDecl *Dtor) = 0; 369 virtual bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor, 373 const CXXDestructorDecl *Dtor, 377 getCXXDestructorLinkage(GVALinkage Linkage, const CXXDestructorDecl *Dtor, 381 virtual void EmitCXXDestructors(const CXXDestructorDecl *D) = 0; 440 const CXXDestructorDecl *DD, CXXDtorType Type, 445 const CXXDestructorDecl *DD, CXXDtorType Type, 489 EmitVirtualDestructorCall(CodeGenFunction &CGF, const CXXDestructorDecl *Dtor,
|
| H A D | CGCXX.cpp | 32 bool CodeGenModule::TryEmitBaseDestructorAsAlias(const CXXDestructorDecl *D) { in TryEmitBaseDestructorAsAlias() 110 const CXXDestructorDecl *BaseD = UniqueBase->getDestructor(); in TryEmitBaseDestructorAsAlias() 223 if (isa<CXXDestructorDecl>(MD)) { in getAddrAndTypeOfCXXStructor() 293 if (const auto *DD = dyn_cast<CXXDestructorDecl>(MD)) in BuildAppleKextVirtualCall() 303 const CXXDestructorDecl *DD, in BuildAppleKextVirtualDestructorCall()
|
| H A D | CGClass.cpp | 515 const CXXDestructorDecl *D = BaseClass->getDestructor(); in Emit() 778 : cast<CXXDestructorDecl>(CurGD.getDecl())->getParent(); in EmitAsanPrologueOrEpilogue() 1419 const CXXDestructorDecl *Dtor) { in CanSkipVTablePointerInitialization() 1442 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CurGD.getDecl()); in EmitDestructorBody() 1576 const CXXDestructorDecl *DD) { in LoadThisForDtorDelete() 1587 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CGF.CurCodeDecl); in Emit() 1605 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CGF.CurCodeDecl); in EmitConditionalDtorDeleteCall() 1744 const CXXDestructorDecl *Dtor; 1749 SanitizeDtorFieldRange(const CXXDestructorDecl *Dtor, unsigned StartIndex, in SanitizeDtorFieldRange() 1793 const CXXDestructorDecl *Dtor; [all …]
|
| H A D | MicrosoftCXXABI.cpp | 70 if (isa<CXXDestructorDecl>(GD.getDecl())) { in isThisCompleteObject() 124 const CXXDestructorDecl *Dtor) override; 236 bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor, in useThunkForDtorVariant() 242 const CXXDestructorDecl *Dtor, 246 getCXXDestructorLinkage(GVALinkage Linkage, const CXXDestructorDecl *Dtor, 249 void EmitCXXDestructors(const CXXDestructorDecl *D) override; 256 if (const auto *DD = dyn_cast<CXXDestructorDecl>(MD)) { in getThisArgumentTypeForMethod() 298 const CXXDestructorDecl *DD, 303 void EmitDestructorCall(CodeGenFunction &CGF, const CXXDestructorDecl *DD, 339 EmitVirtualDestructorCall(CodeGenFunction &CGF, const CXXDestructorDecl *Dtor, [all …]
|
| H A D | CGVTables.cpp | 276 if (isa<CXXDestructorDecl>(MD)) in StartThunk() 346 if (isa<CXXDestructorDecl>(MD)) in EmitCallAndReturnForThunk() 364 assert(isa<CXXDestructorDecl>(MD) || // ignore dtor return types in EmitCallAndReturnForThunk() 515 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(MD)) { in maybeEmitThunk() 523 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(MD)) in maybeEmitThunk() 630 if (isa<CXXDestructorDecl>(MD) && GD.getDtorType() == Dtor_Base) in EmitThunks()
|
| H A D | CGCXXABI.cpp | 313 const CXXDestructorDecl *Dtor, in setCXXDestructorDLLStorage() 320 GVALinkage Linkage, const CXXDestructorDecl *Dtor, CXXDtorType DT) const { in getCXXDestructorLinkage()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | Mangle.cpp | 301 void MangleContext::mangleDtorBlock(const CXXDestructorDecl *DD, in mangleDtorBlock() 312 assert(!isa<CXXConstructorDecl>(DC) && !isa<CXXDestructorDecl>(DC)); in mangleBlock() 327 else if (const auto *DD = dyn_cast<CXXDestructorDecl>(DC)) in mangleBlock() 526 } else if (const auto *DD = dyn_cast_or_null<CXXDestructorDecl>(ND)) { in getAllManglings() 560 else if (const auto *DtorD = dyn_cast<CXXDestructorDecl>(D)) in writeFuncOrVarName() 589 else if (const auto *DD = dyn_cast_or_null<CXXDestructorDecl>(ND)) in getMangledStructor()
|
| H A D | VTableBuilder.cpp | 494 if (isa<CXXDestructorDecl>(LHS)) in MethodsCanShareVCallOffset() 495 return isa<CXXDestructorDecl>(RHS); in MethodsCanShareVCallOffset() 1183 if (isa<CXXDestructorDecl>(MD)) { in ComputeThisAdjustments() 1342 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(MD)) { in AddMethod() 1607 if (isa<CXXDestructorDecl>(A) != isa<CXXDestructorDecl>(B)) in AddMethods() 1608 return isa<CXXDestructorDecl>(A); in AddMethods() 1737 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(MD)) { in LayoutPrimaryAndSecondaryVTables() 2071 const CXXDestructorDecl *DD = Component.getDestructorDecl(); in dumpLayout() 2250 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(MD)) { in dumpLayout() 2388 if (const auto *DD = dyn_cast<CXXDestructorDecl>(OriginalMD)) in findOriginalMethod() [all …]
|
| H A D | DeclCXX.cpp | 895 if (isa<CXXDestructorDecl>(D)) in addedMember() 1538 void CXXRecordDecl::addedSelectedDestructor(CXXDestructorDecl *DD) { in addedSelectedDestructor() 1549 if (const auto *DD = dyn_cast<CXXDestructorDecl>(MD)) { in addedEligibleSpecialMemberFunction() 1608 } else if (isa<CXXDestructorDecl>(D)) { in finishedDefaultedOrDeletedMember() 1666 } else if (isa<CXXDestructorDecl>(D)) in setTrivialForCallFlags() 2133 CXXDestructorDecl *CXXRecordDecl::getDestructor() const { in getDestructor() 2146 auto* DD = dyn_cast<CXXDestructorDecl>(Decl); in getDestructor() 2154 if (const CXXDestructorDecl *D = getDestructor()) in hasDeletedDestructor() 2419 if (isa<CXXDestructorDecl>(this)) { in getCorrespondingMethodDeclaredInClass() 3087 void CXXDestructorDecl::anchor() {} in anchor() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/CodeGen/ |
| H A D | CodeGenABITypes.h | 42 class CXXDestructorDecl; variable 106 const CXXDestructorDecl *D, CXXDtorType Type,
|
| /freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/ |
| H A D | ThreadSafetyCommon.h | 50 class CXXDestructorDecl; variable 126 void handleDestructorCall(const VarDecl *VD, const CXXDestructorDecl *DD) {} in handleDestructorCall() 215 auto *DD = const_cast<CXXDestructorDecl *>( in walk() 481 void handleDestructorCall(const VarDecl *VD, const CXXDestructorDecl *DD);
|
| /freebsd/contrib/llvm-project/clang/lib/InstallAPI/ |
| H A D | Visitor.cpp | 263 if (isa<CXXConstructorDecl>(M) || isa<CXXDestructorDecl>(M)) in VisitFunctionDecl() 454 if (const auto *Dtor = dyn_cast<CXXDestructorDecl>(Method)) in getMangledCXXThunk() 471 const auto *Dtor = cast<CXXDestructorDecl>(D); in getMangledCtorDtor() 515 if (auto Dtor = dyn_cast<CXXDestructorDecl>(Method)) { in emitVTableSymbols() 649 if (const auto *Dtor = dyn_cast<CXXDestructorDecl>(M)) { in VisitCXXRecordDecl()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Analysis/ |
| H A D | AnyCall.h | 94 AnyCall(const CXXDestructorDecl *D) : E(nullptr), D(D), K(Destructor) {} in AnyCall() 103 } else if (isa <CXXDestructorDecl>(D)) { in AnyCall()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | Function.cpp | 34 } else if (const auto *CD = dyn_cast<CXXDestructorDecl>(F)) { in Function()
|
| H A D | Record.h | 73 const CXXDestructorDecl *getDestructor() const { in getDestructor()
|