/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | GlobalDecl.h | 62 assert(!isa<CXXDestructorDecl>(D) && "Use other ctor with dtor decls!"); in Init() 90 GlobalDecl(const CXXDestructorDecl *D, CXXDtorType Type) : Value(D, Type) {} in GlobalDecl() 111 assert(isa<CXXDestructorDecl>(getDecl()) && "Decl is not a dtor!"); in getDtorType() 127 !isa<CXXDestructorDecl>(getDecl()) && in getMultiVersionIndex() 181 assert(isa<CXXDestructorDecl>(getDecl())); in getWithDtorType() 191 !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 135 virtual void mangleCXXDtorThunk(const CXXDestructorDecl *DD, CXXDtorType Type, 153 void mangleDtorBlock(const CXXDestructorDecl *CD, CXXDtorType DT, 206 virtual void mangleCXXDtorComdat(const CXXDestructorDecl *D,
|
H A D | ASTMutationListener.h | 20 class CXXDestructorDecl; variable 85 virtual void ResolvedOperatorDelete(const CXXDestructorDecl *DD, in ResolvedOperatorDelete()
|
H A D | DeclCXX.h | 62 class CXXDestructorDecl; variable 1477 void addedSelectedDestructor(CXXDestructorDecl *DD); 1547 CXXDestructorDecl *getDestructor() const; 2806 class CXXDestructorDecl : public CXXMethodDecl { 2815 CXXDestructorDecl(ASTContext &C, CXXRecordDecl *RD, SourceLocation StartLoc, 2829 static CXXDestructorDecl * 2835 static CXXDestructorDecl *CreateDeserialized(ASTContext &C, GlobalDeclID ID); 2847 CXXDestructorDecl *getCanonicalDecl() override { in getCanonicalDecl() 2848 return cast<CXXDestructorDecl>(FunctionDecl::getCanonicalDecl()); in getCanonicalDecl() 2850 const CXXDestructorDecl *getCanonicalDecl() const { in getCanonicalDecl() [all …]
|
/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 const CXXDestructorDecl *Dtor,
|
H A D | CGCXX.cpp | 34 bool CodeGenModule::TryEmitBaseDestructorAsAlias(const CXXDestructorDecl *D) { in TryEmitBaseDestructorAsAlias() 112 const CXXDestructorDecl *BaseD = UniqueBase->getDestructor(); in TryEmitBaseDestructorAsAlias() 225 if (isa<CXXDestructorDecl>(MD)) { in getAddrAndTypeOfCXXStructor() 295 if (const auto *DD = dyn_cast<CXXDestructorDecl>(MD)) in BuildAppleKextVirtualCall() 305 const CXXDestructorDecl *DD, in BuildAppleKextVirtualDestructorCall()
|
H A D | CGClass.cpp | 520 const CXXDestructorDecl *D = BaseClass->getDestructor(); in Emit() 782 : cast<CXXDestructorDecl>(CurGD.getDecl())->getParent(); in EmitAsanPrologueOrEpilogue() 1416 const CXXDestructorDecl *Dtor) { in CanSkipVTablePointerInitialization() 1439 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CurGD.getDecl()); in EmitDestructorBody() 1572 const CXXDestructorDecl *DD) { in LoadThisForDtorDelete() 1583 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CGF.CurCodeDecl); in Emit() 1601 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CGF.CurCodeDecl); in EmitConditionalDtorDeleteCall() 1740 const CXXDestructorDecl *Dtor; 1745 SanitizeDtorFieldRange(const CXXDestructorDecl *Dtor, unsigned StartIndex, in SanitizeDtorFieldRange() 1789 const CXXDestructorDecl *Dtor; [all …]
|
H A D | MicrosoftCXXABI.cpp | 69 if (isa<CXXDestructorDecl>(GD.getDecl())) { in isThisCompleteObject() 123 const CXXDestructorDecl *Dtor) override; 235 bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor, in useThunkForDtorVariant() 241 const CXXDestructorDecl *Dtor, 245 getCXXDestructorLinkage(GVALinkage Linkage, const CXXDestructorDecl *Dtor, 248 void EmitCXXDestructors(const CXXDestructorDecl *D) override; 255 if (const auto *DD = dyn_cast<CXXDestructorDecl>(MD)) { in getThisArgumentTypeForMethod() 297 const CXXDestructorDecl *DD, 302 void EmitDestructorCall(CodeGenFunction &CGF, const CXXDestructorDecl *DD, 338 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 | 315 const CXXDestructorDecl *Dtor, in setCXXDestructorDLLStorage() 322 GVALinkage Linkage, const CXXDestructorDecl *Dtor, CXXDtorType DT) const { in getCXXDestructorLinkage()
|
H A D | CodeGenABITypes.cpp | 120 llvm::BasicBlock::iterator InsertPoint, const CXXDestructorDecl *D, in getCXXDestructorImplicitParam()
|
H A D | ItaniumCXXABI.cpp | 83 if (isa<CXXDestructorDecl>(GD.getDecl())) { in isThisCompleteObject() 163 const CXXDestructorDecl *Dtor) override; 257 bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor, in useThunkForDtorVariant() 265 void EmitCXXDestructors(const CXXDestructorDecl *D) override; 279 const CXXDestructorDecl *DD, 284 void EmitDestructorCall(CodeGenFunction &CGF, const CXXDestructorDecl *DD, 319 const CXXDestructorDecl *Dtor, 1375 const CXXDestructorDecl *Dtor) { in emitVirtualObjectDelete() 1477 CXXDestructorDecl *DtorD = Record->getDestructor(); in emitThrow() 1854 void ItaniumCXXABI::EmitCXXDestructors(const CXXDestructorDecl *D) { in EmitCXXDestructors() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | Mangle.cpp | 284 void MangleContext::mangleDtorBlock(const CXXDestructorDecl *DD, in mangleDtorBlock() 295 assert(!isa<CXXConstructorDecl>(DC) && !isa<CXXDestructorDecl>(DC)); in mangleBlock() 310 else if (const auto *DD = dyn_cast<CXXDestructorDecl>(DC)) in mangleBlock() 507 } else if (const auto *DD = dyn_cast_or_null<CXXDestructorDecl>(ND)) { in getAllManglings() 541 else if (const auto *DtorD = dyn_cast<CXXDestructorDecl>(D)) in writeFuncOrVarName() 570 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() 1182 if (isa<CXXDestructorDecl>(MD)) { in ComputeThisAdjustments() 1341 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(MD)) { in AddMethod() 1606 if (isa<CXXDestructorDecl>(A) != isa<CXXDestructorDecl>(B)) in AddMethods() 1607 return isa<CXXDestructorDecl>(A); in AddMethods() 1735 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(MD)) { in LayoutPrimaryAndSecondaryVTables() 2069 const CXXDestructorDecl *DD = Component.getDestructorDecl(); in dumpLayout() 2248 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(MD)) { in dumpLayout() 2386 if (const auto *DD = dyn_cast<CXXDestructorDecl>(OriginalMD)) in findOriginalMethod() [all …]
|
H A D | DeclCXX.cpp | 888 if (isa<CXXDestructorDecl>(D)) in addedMember() 1454 void CXXRecordDecl::addedSelectedDestructor(CXXDestructorDecl *DD) { in addedSelectedDestructor() 1465 if (const auto *DD = dyn_cast<CXXDestructorDecl>(MD)) { in addedEligibleSpecialMemberFunction() 1525 } else if (isa<CXXDestructorDecl>(D)) { in finishedDefaultedOrDeletedMember() 1583 } else if (isa<CXXDestructorDecl>(D)) in setTrivialForCallFlags() 2014 CXXDestructorDecl *CXXRecordDecl::getDestructor() const { in getDestructor() 2027 auto* DD = dyn_cast<CXXDestructorDecl>(Decl); in getDestructor() 2252 if (isa<CXXDestructorDecl>(this)) { in getCorrespondingMethodDeclaredInClass() 2886 void CXXDestructorDecl::anchor() {} in anchor() 2888 CXXDestructorDecl *CXXDestructorDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/CodeGen/ |
H A D | CodeGenABITypes.h | 42 class CXXDestructorDecl; variable 92 const CXXDestructorDecl *D, CXXDtorType Type,
|
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/ |
H A D | ThreadSafetyCommon.h | 49 class CXXDestructorDecl; variable 125 void handleDestructorCall(const VarDecl *VD, const CXXDestructorDecl *DD) {} in handleDestructorCall() 214 auto *DD = const_cast<CXXDestructorDecl *>( in walk() 475 void handleDestructorCall(const VarDecl *VD, const CXXDestructorDecl *DD);
|
/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/InstallAPI/ |
H A D | Visitor.cpp | 264 if (isa<CXXConstructorDecl>(M) || isa<CXXDestructorDecl>(M)) in VisitFunctionDecl() 455 if (const auto *Dtor = dyn_cast<CXXDestructorDecl>(Method)) in getMangledCXXThunk() 472 const auto *Dtor = cast<CXXDestructorDecl>(D); in getMangledCtorDtor() 516 if (auto Dtor = dyn_cast<CXXDestructorDecl>(Method)) { in emitVTableSymbols() 650 if (const auto *Dtor = dyn_cast<CXXDestructorDecl>(M)) { in VisitCXXRecordDecl()
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Record.h | 70 const CXXDestructorDecl *getDestructor() const { in getDestructor()
|
/freebsd/contrib/llvm-project/lldb/tools/lldb-instr/ |
H A D | Instrument.cpp | 111 if (isa<CXXDestructorDecl>(Decl)) in ShouldSkip()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | UsedDeclVisitor.h | 55 const_cast<CXXDestructorDecl *>(E->getTemporary()->getDestructor())); in VisitCXXBindTemporaryExpr()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | SemaCUDA.h | 244 bool isEmptyDestructor(SourceLocation Loc, CXXDestructorDecl *CD);
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | IssueHash.cpp | 44 if (!isa<CXXConstructorDecl>(Target) && !isa<CXXDestructorDecl>(Target) && in GetSignature()
|