| /NextBSD/contrib/llvm/tools/clang/lib/CodeGen/ |
| HD | CGCXX.cpp | 33 bool CodeGenModule::TryEmitBaseDestructorAsAlias(const CXXDestructorDecl *D) { in TryEmitBaseDestructorAsAlias() 100 const CXXDestructorDecl *BaseD = UniqueBase->getDestructor(); in TryEmitBaseDestructorAsAlias() 213 if (const auto *DD = dyn_cast<CXXDestructorDecl>(MD)) { in codegenCXXStructor() 236 GD = GlobalDecl(cast<CXXDestructorDecl>(MD), toCXXDtorType(Type)); in getAddrOfCXXStructor() 292 if (const auto *DD = dyn_cast<CXXDestructorDecl>(MD)) in BuildAppleKextVirtualCall() 302 const CXXDestructorDecl *DD, in BuildAppleKextVirtualDestructorCall()
|
| HD | CGCXXABI.h | 31 class CXXDestructorDecl; variable 216 const CXXDestructorDecl *Dtor) = 0; 279 virtual bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor, 283 virtual void EmitCXXDestructors(const CXXDestructorDecl *D) = 0; 338 const CXXDestructorDecl *DD, CXXDtorType Type, 374 EmitVirtualDestructorCall(CodeGenFunction &CGF, const CXXDestructorDecl *Dtor,
|
| HD | CGClass.cpp | 358 const CXXDestructorDecl *D = BaseClass->getDestructor(); in Emit() 738 : cast<CXXDestructorDecl>(CurGD.getDecl())->getParent(); in EmitAsanPrologueOrEpilogue() 1357 const CXXDestructorDecl *Dtor) { in CanSkipVTablePointerInitialization() 1373 const CXXDestructorDecl *Dtor) { in EmitDtorSanitizerCallback() 1391 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CurGD.getDecl()); in EmitDestructorBody() 1503 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CGF.CurCodeDecl); in Emit() 1526 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CGF.CurCodeDecl); in Emit() 1564 void CodeGenFunction::EnterDtorCleanups(const CXXDestructorDecl *DD, in EnterDtorCleanups() 1768 const CXXDestructorDecl *dtor = record->getDestructor(); in destroyCXXObject() 1907 const CXXDestructorDecl *Dtor; [all …]
|
| HD | CGVTables.cpp | 42 if (const CXXDestructorDecl* DD = dyn_cast<CXXDestructorDecl>(MD)) in GetAddrOfThunk() 229 if (isa<CXXDestructorDecl>(MD)) in StartThunk() 269 if (isa<CXXDestructorDecl>(MD)) in EmitCallAndReturnForThunk() 285 assert(isa<CXXDestructorDecl>(MD) || // ignore dtor return types in EmitCallAndReturnForThunk() 496 if (isa<CXXDestructorDecl>(MD) && GD.getDtorType() == Dtor_Base) in EmitThunks()
|
| HD | ItaniumCXXABI.cpp | 115 const CXXDestructorDecl *Dtor) override; 165 bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor, in useThunkForDtorVariant() 173 void EmitCXXDestructors(const CXXDestructorDecl *D) override; 186 void EmitDestructorCall(CodeGenFunction &CGF, const CXXDestructorDecl *DD, 211 const CXXDestructorDecl *Dtor, 315 isa<CXXDestructorDecl>(GD.getDecl()) && in HasThisReturn() 879 const CXXDestructorDecl *Dtor) { in emitVirtualObjectDelete() 969 CXXDestructorDecl *DtorD = Record->getDestructor(); in emitThrow() 1220 void ItaniumCXXABI::EmitCXXDestructors(const CXXDestructorDecl *D) { in EmitCXXDestructors() 1240 assert(isa<CXXConstructorDecl>(MD) || isa<CXXDestructorDecl>(MD)); in addImplicitStructorParams() [all …]
|
| HD | MicrosoftCXXABI.cpp | 76 const CXXDestructorDecl *Dtor) override; 160 bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor, in useThunkForDtorVariant() 165 void EmitCXXDestructors(const CXXDestructorDecl *D) override; 170 if (MD->isVirtual() && !isa<CXXDestructorDecl>(MD)) { in getThisArgumentTypeForMethod() 204 void EmitDestructorCall(CodeGenFunction &CGF, const CXXDestructorDecl *DD, 231 const CXXDestructorDecl *Dtor, 828 const CXXDestructorDecl *Dtor) { in emitVirtualObjectDelete() 1030 return isa<CXXDestructorDecl>(GD.getDecl()) && in isDeletingDtor() 1215 void MicrosoftCXXABI::EmitCXXDestructors(const CXXDestructorDecl *D) { in EmitCXXDestructors() 1227 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(MD)) { in getVirtualFunctionPrologueThisAdjustment() [all …]
|
| HD | CodeGenModule.h | 76 class CXXDestructorDecl; variable 690 else if (isa<CXXDestructorDecl>(GD.getDecl())) in GetAddrOfGlobal() 691 return getAddrOfCXXStructor(cast<CXXDestructorDecl>(GD.getDecl()), in GetAddrOfGlobal() 1103 bool TryEmitBaseDestructorAsAlias(const CXXDestructorDecl *D);
|
| HD | CGExprCXX.cpp | 177 if (isa<CXXDestructorDecl>(MD)) return RValue::get(nullptr); in EmitCXXMemberOrOperatorMemberCallExpr() 210 if (const auto *Dtor = dyn_cast<CXXDestructorDecl>(CalleeDecl)) in EmitCXXMemberOrOperatorMemberCallExpr() 230 if (const CXXDestructorDecl *Dtor = dyn_cast<CXXDestructorDecl>(MD)) { in EmitCXXMemberOrOperatorMemberCallExpr() 244 const CXXDestructorDecl *DDtor = in EmitCXXMemberOrOperatorMemberCallExpr() 245 cast<CXXDestructorDecl>(DevirtualizedMethod); in EmitCXXMemberOrOperatorMemberCallExpr() 1457 const CXXDestructorDecl *Dtor = nullptr; in EmitObjectDelete()
|
| HD | CodeGenModule.cpp | 572 else if (const auto *D = dyn_cast<CXXDestructorDecl>(ND)) in getMangledName() 600 else if (const auto *DD = dyn_cast<CXXDestructorDecl>(D)) in getBlockMangledName() 664 if (isa<CXXDestructorDecl>(D) && in getFunctionLinkage() 665 getCXXABI().useThunkForDtorVariant(cast<CXXDestructorDecl>(D), in getFunctionLinkage() 679 if (const auto *Dtor = dyn_cast_or_null<CXXDestructorDecl>(FD)) { in setFunctionDLLStorageClass() 793 if (isa<CXXConstructorDecl>(D) || isa<CXXDestructorDecl>(D)) in SetLLVMFunctionAttributesForDefinition() 1520 else if (const auto *DD = dyn_cast<CXXDestructorDecl>(Method)) in EmitGlobalDefinition() 1606 if (D && isa<CXXDestructorDecl>(D) && in GetOrCreateLLVMFunction() 1607 getCXXABI().useThunkForDtorVariant(cast<CXXDestructorDecl>(D), in GetOrCreateLLVMFunction() 3303 getCXXABI().EmitCXXDestructors(cast<CXXDestructorDecl>(D)); in EmitTopLevelDecl() [all …]
|
| HD | CodeGenTypes.h | 38 class CXXDestructorDecl; variable
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/AST/ |
| HD | VTableBuilder.h | 73 assert(!isa<CXXDestructorDecl>(MD) && in MakeFunction() 80 static VTableComponent MakeCompleteDtor(const CXXDestructorDecl *DD) { in MakeCompleteDtor() 85 static VTableComponent MakeDeletingDtor(const CXXDestructorDecl *DD) { in MakeDeletingDtor() 91 assert(!isa<CXXDestructorDecl>(MD) && in MakeUnusedFunction() 136 const CXXDestructorDecl *getDestructorDecl() const { in getDestructorDecl() 140 return reinterpret_cast<CXXDestructorDecl *>(getPointer()); in getDestructorDecl() 525 if (isa<CXXDestructorDecl>(GD.getDecl()) && in getThunkInfo()
|
| HD | Mangle.h | 29 class CXXDestructorDecl; variable 102 virtual void mangleCXXDtorThunk(const CXXDestructorDecl *DD, CXXDtorType Type, 112 virtual void mangleCXXDtor(const CXXDestructorDecl *D, CXXDtorType Type, 121 void mangleDtorBlock(const CXXDestructorDecl *CD, CXXDtorType DT, 170 virtual void mangleCXXDtorComdat(const CXXDestructorDecl *D,
|
| HD | GlobalDecl.h | 33 assert(!isa<CXXDestructorDecl>(D) && "Use other ctor with dtor decls!"); in Init() 49 GlobalDecl(const CXXDestructorDecl *D, CXXDtorType Type) in GlobalDecl() 68 assert(isa<CXXDestructorDecl>(getDecl()) && "Decl is not a dtor!"); in getDtorType()
|
| HD | ASTMutationListener.h | 20 class CXXDestructorDecl; variable 79 virtual void ResolvedOperatorDelete(const CXXDestructorDecl *DD, in ResolvedOperatorDelete()
|
| HD | DeclCXX.h | 36 class CXXDestructorDecl; variable 1393 CXXDestructorDecl *getDestructor() const; 2358 class CXXDestructorDecl : public CXXMethodDecl { 2363 CXXDestructorDecl(ASTContext &C, CXXRecordDecl *RD, SourceLocation StartLoc, in CXXDestructorDecl() function 2374 static CXXDestructorDecl *Create(ASTContext &C, CXXRecordDecl *RD, 2380 static CXXDestructorDecl *CreateDeserialized(ASTContext & C, unsigned ID); 2384 return cast<CXXDestructorDecl>(getFirstDecl())->OperatorDelete; in getOperatorDelete()
|
| /NextBSD/contrib/llvm/tools/clang/lib/AST/ |
| HD | DeclCXX.cpp | 536 if (CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(D)) { in addedMember() 958 } else if (isa<CXXDestructorDecl>(D)) { in finishedDefaultedOrDeletedMember() 1302 CXXDestructorDecl *CXXRecordDecl::getDestructor() const { in getDestructor() 1314 CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(R.front()); in getDestructor() 1320 if (const CXXDestructorDecl *Destructor = getDestructor()) in isAnyDestructorNoReturn() 1432 if (isa<CXXDestructorDecl>(this)) { in getCorrespondingMethodInClass() 1893 void CXXDestructorDecl::anchor() { } in anchor() 1895 CXXDestructorDecl * 1896 CXXDestructorDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized() 1898 CXXDestructorDecl(C, nullptr, SourceLocation(), DeclarationNameInfo(), in CreateDeserialized() [all …]
|
| HD | Mangle.cpp | 213 void MangleContext::mangleDtorBlock(const CXXDestructorDecl *DD, in mangleDtorBlock() 225 assert(!isa<CXXConstructorDecl>(DC) && !isa<CXXDestructorDecl>(DC)); in mangleBlock() 241 else if (const auto *DD = dyn_cast<CXXDestructorDecl>(DC)) in mangleBlock()
|
| HD | VTableBuilder.cpp | 500 if (isa<CXXDestructorDecl>(LHS)) in MethodsCanShareVCallOffset() 501 return isa<CXXDestructorDecl>(RHS); in MethodsCanShareVCallOffset() 1164 if (isa<CXXDestructorDecl>(MD)) { in ComputeThisAdjustments() 1325 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(MD)) { in AddMethod() 1512 const CXXDestructorDecl *ImplicitVirtualDtor = nullptr; in AddMethods() 1580 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(MD)) { in AddMethods() 1707 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(MD)) { in LayoutPrimaryAndSecondaryVTables() 2018 const CXXDestructorDecl *DD = Component.getDestructorDecl(); in dumpLayout() 2210 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(MD)) { in dumpLayout() 2537 if (const CXXDestructorDecl *DD = dyn_cast<CXXDestructorDecl>(MD)) { in AddMethod() [all …]
|
| HD | ItaniumMangle.cpp | 144 void mangleCXXDtorThunk(const CXXDestructorDecl *DD, CXXDtorType Type, 158 void mangleCXXDtor(const CXXDestructorDecl *D, CXXDtorType Type, 162 void mangleCXXDtorComdat(const CXXDestructorDecl *D, raw_ostream &) override; 276 assert(!D || (!isa<CXXDestructorDecl>(D) && in CXXNameMangler() 284 const CXXDestructorDecl *D, CXXDtorType Type) in CXXNameMangler() 519 if (!(isa<CXXConstructorDecl>(FD) || isa<CXXDestructorDecl>(FD) || in mangleFunctionEncoding() 3880 assert(!isa<CXXConstructorDecl>(D) && !isa<CXXDestructorDecl>(D) && in mangleCXXName() 3898 void ItaniumMangleContextImpl::mangleCXXDtor(const CXXDestructorDecl *D, in mangleCXXDtor() 3911 void ItaniumMangleContextImpl::mangleCXXDtorComdat(const CXXDestructorDecl *D, in mangleCXXDtorComdat() 3927 assert(!isa<CXXDestructorDecl>(MD) && in mangleThunk() [all …]
|
| HD | MicrosoftMangle.cpp | 109 void mangleCXXDtorThunk(const CXXDestructorDecl *DD, CXXDtorType Type, 148 void mangleCXXDtor(const CXXDestructorDecl *D, CXXDtorType Type, 247 const CXXDestructorDecl *D, CXXDtorType Type) in MicrosoftCXXNameMangler() 1641 if (isa<CXXDestructorDecl>(MD)) { in mangleFunctionType() 1668 if (isa<CXXDestructorDecl>(D) && D == Structor && in mangleFunctionType() 2223 assert(!isa<CXXConstructorDecl>(D) && !isa<CXXDestructorDecl>(D) && in mangleCXXName() 2352 const CXXDestructorDecl *DD, CXXDtorType Type, in mangleCXXDtorThunk() 2570 void MicrosoftMangleContextImpl::mangleCXXDtor(const CXXDestructorDecl *D, in mangleCXXDtor()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/ |
| HD | ThreadSafetyCommon.h | 105 void handleDestructorCall(const VarDecl *VD, const CXXDestructorDecl *DD) {} in handleDestructorCall() 195 CXXDestructorDecl *DD = const_cast<CXXDestructorDecl*>( in walk() 447 void handleDestructorCall(const VarDecl *VD, const CXXDestructorDecl *DD);
|
| /NextBSD/contrib/llvm/tools/clang/lib/Frontend/ |
| HD | ASTConsumers.cpp | 341 const CXXDestructorDecl* D = cast<CXXDestructorDecl>(DC); in PrintDeclContext()
|
| HD | MultiplexConsumer.cpp | 118 void ResolvedOperatorDelete(const CXXDestructorDecl *DD, 185 const CXXDestructorDecl *DD, const FunctionDecl *Delete) { in ResolvedOperatorDelete()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Sema/ |
| HD | SemaExceptionSpec.cpp | 188 if (!isa<CXXDestructorDecl>(Decl) && in hasImplicitExceptionSpec() 199 return isa<CXXDestructorDecl>(Decl); in hasImplicitExceptionSpec() 815 if (getLangOpts().CPlusPlus11 && isa<CXXDestructorDecl>(New)) { in CheckOverridingFunctionExceptionSpec() 1010 const CXXDestructorDecl *DD = RD->getDestructor(); in canThrow()
|
| /NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| HD | VirtualCallChecker.cpp | 235 if (CXXDestructorDecl *DD = RD->getDestructor()) in checkASTDecl()
|