Home
last modified time | relevance | path

Searched refs:Dtor (Results 1 – 25 of 49) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGClass.cpp1425 const CXXDestructorDecl *Dtor) { in CanSkipVTablePointerInitialization() argument
1426 const CXXRecordDecl *ClassDecl = Dtor->getParent(); in CanSkipVTablePointerInitialization()
1430 if (!Dtor->hasTrivialBody()) in CanSkipVTablePointerInitialization()
1443 const CXXDestructorDecl *Dtor = cast<CXXDestructorDecl>(CurGD.getDecl()); in EmitDestructorBody() local
1451 if (DtorType != Dtor_Base && Dtor->getParent()->isAbstract()) { in EmitDestructorBody()
1460 Stmt *Body = Dtor->getBody(); in EmitDestructorBody()
1470 EnterDtorCleanups(Dtor, Dtor_Deleting); in EmitDestructorBody()
1472 QualType ThisTy = Dtor->getThisObjectType(); in EmitDestructorBody()
1473 EmitCXXDestructorCall(Dtor, Dtor_Complete, /*ForVirtualBase=*/false, in EmitDestructorBody()
1503 EnterDtorCleanups(Dtor, Dtor_Complete); in EmitDestructorBody()
[all …]
H A DCGExprCXX.cpp95 GlobalDecl Dtor, const CGCallee &Callee, llvm::Value *This, QualType ThisTy, in EmitCXXDestructorCall() argument
97 const CXXMethodDecl *DtorDecl = cast<CXXMethodDecl>(Dtor.getDecl()); in EmitCXXDestructorCall()
115 return EmitCall(CGM.getTypes().arrangeCXXStructorDeclaration(Dtor), Callee, in EmitCXXDestructorCall()
323 if (const auto *Dtor = dyn_cast<CXXDestructorDecl>(CalleeDecl)) in EmitCXXMemberOrOperatorMemberCallExpr() local
325 GlobalDecl(Dtor, Dtor_Complete)); in EmitCXXMemberOrOperatorMemberCallExpr()
361 if (const CXXDestructorDecl *Dtor = dyn_cast<CXXDestructorDecl>(CalleeDecl)) { in EmitCXXMemberOrOperatorMemberCallExpr() local
366 CGM.getCXXABI().EmitVirtualDestructorCall(*this, Dtor, Dtor_Complete, in EmitCXXMemberOrOperatorMemberCallExpr()
370 GlobalDecl GD(Dtor, Dtor_Complete); in EmitCXXMemberOrOperatorMemberCallExpr()
372 if (getLangOpts().AppleKext && Dtor->isVirtual() && HasQualifier) in EmitCXXMemberOrOperatorMemberCallExpr()
373 Callee = BuildAppleKextVirtualCall(Dtor, Qualifier, Ty); in EmitCXXMemberOrOperatorMemberCallExpr()
[all …]
H A DCGCXXABI.h234 const CXXDestructorDecl *Dtor) = 0;
338 virtual bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor,
342 const CXXDestructorDecl *Dtor,
346 getCXXDestructorLinkage(GVALinkage Linkage, const CXXDestructorDecl *Dtor,
465 const CXXDestructorDecl *Dtor,
595 llvm::FunctionCallee Dtor,
H A DCGCXXABI.cpp265 const CXXDestructorDecl *Dtor, in setCXXDestructorDLLStorage() argument
268 CGM.setDLLImportDLLExport(GV, Dtor); in setCXXDestructorDLLStorage()
272 GVALinkage Linkage, const CXXDestructorDecl *Dtor, CXXDtorType DT) const { in getCXXDestructorLinkage() argument
274 return CGM.getLLVMLinkageForDeclarator(Dtor, Linkage, in getCXXDestructorLinkage()
H A DItaniumCXXABI.cpp160 const CXXDestructorDecl *Dtor) override;
210 bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor, in useThunkForDtorVariant() argument
276 const CXXDestructorDecl *Dtor,
1243 const CXXDestructorDecl *Dtor) { in emitVirtualObjectDelete() argument
1275 EmitVirtualDestructorCall(CGF, Dtor, DtorType, Ptr, DE); in emitVirtualObjectDelete()
1334 llvm::Constant *Dtor = nullptr; in emitThrow() local
1339 Dtor = CGM.getAddrOfCXXStructor(GlobalDecl(DtorD, Dtor_Complete)); in emitThrow()
1340 Dtor = llvm::ConstantExpr::getBitCast(Dtor, CGM.Int8PtrTy); in emitThrow()
1343 if (!Dtor) Dtor = llvm::Constant::getNullValue(CGM.Int8PtrTy); in emitThrow()
1345 llvm::Value *args[] = { ExceptionPtr, TypeInfo, Dtor }; in emitThrow()
[all …]
H A DMicrosoftCXXABI.cpp118 const CXXDestructorDecl *Dtor) override;
219 bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor, in useThunkForDtorVariant() argument
225 const CXXDestructorDecl *Dtor,
229 getCXXDestructorLinkage(GVALinkage Linkage, const CXXDestructorDecl *Dtor,
313 const CXXDestructorDecl *Dtor,
413 llvm::FunctionCallee Dtor,
870 const CXXDestructorDecl *Dtor) { in emitVirtualObjectDelete() argument
875 llvm::Value *MDThis = EmitVirtualDestructorCall(CGF, Dtor, DtorType, Ptr, DE); in emitVirtualObjectDelete()
1327 const CXXDestructorDecl *Dtor, in setCXXDestructorDLLStorage() argument
1334 const NamedDecl *ND = Dtor; in setCXXDestructorDLLStorage()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/libdruntime/gc/
H A Dbits.d34 void Dtor() nothrow in Dtor() function
127 b2.Dtor();
128 b.Dtor();
H A Dpooltable.d17 void Dtor() in PoolTable()
284 pooltable.Dtor();
H A Dgcinterface.d44 void Dtor();
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRefCntblBaseVirtualDtorChecker.cpp84 const auto *Dtor = (*RefCntblBaseRD)->getDestructor(); in visitCXXRecordDecl() local
85 if (!Dtor || !Dtor->isVirtual()) { in visitCXXRecordDecl()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DBlockInCriticalSectionChecker.cpp128 if (const auto *Dtor = dyn_cast<CXXDestructorCall>(&Call)) { in isUnlockFunction() local
129 const auto *DRecordDecl = cast<CXXRecordDecl>(Dtor->getDecl()->getParent()); in isUnlockFunction()
H A DIterator.cpp45 if (const auto *Dtor = dyn_cast<CXXDestructorDecl>(Method)) { in isIterator() local
46 HasDtor = !Dtor->isDeleted() && Dtor->getAccess() == AS_public; in isIterator()
H A DDynamicTypePropagation.cpp288 if (const CXXDestructorCall *Dtor = dyn_cast<CXXDestructorCall>(&Call)) { in checkPreCall() local
290 if (!Dtor->isBaseDestructor()) in checkPreCall()
293 const MemRegion *Target = Dtor->getCXXThisVal().getAsRegion(); in checkPreCall()
297 const Decl *D = Dtor->getDecl(); in checkPreCall()
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/libdruntime/gc/impl/conservative/
H A Dgc.d175 void Dtor() nothrow
294 instance.Dtor();
315 void Dtor()
325 gcx.Dtor();
1316 void Dtor()
1368 pool.Dtor();
1372 pooltable.Dtor();
1656 pool.Dtor();
1849 pool.Dtor();
2685 void Dtor() nothrow
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/libdruntime/gc/impl/manual/
H A Dgc.d68 instance.Dtor(); in finalize()
76 void Dtor() in Dtor() function
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerGlobalDtors.cpp165 for (auto Dtor : reverse(AssociatedAndMore.second)) in runOnModule() local
166 CallInst::Create(VoidVoid, Dtor, "", BB); in runOnModule()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Index/
H A DIndexDecl.cpp271 } else if (const CXXDestructorDecl *Dtor = dyn_cast<CXXDestructorDecl>(D)) { in VisitFunctionDecl() local
272 if (auto TypeNameInfo = Dtor->getNameInfo().getNamedTypeInfo()) { in VisitFunctionDecl()
273 IndexCtx.handleReference(Dtor->getParent(), in VisitFunctionDecl()
275 Dtor->getParent(), Dtor->getDeclContext(), in VisitFunctionDecl()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/gc/
H A Dbits.d36 void Dtor(bool share = false) nothrow
493 b2.Dtor();
494 b.Dtor();
H A Dpooltable.d16 void Dtor() nothrow @nogc in PoolTable()
299 pooltable.Dtor();
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DPathDiagnostic.cpp541 const CFGAutomaticObjDtor &Dtor = Source.castAs<CFGAutomaticObjDtor>(); in getLocationForCaller() local
542 return PathDiagnosticLocation::createEnd(Dtor.getTriggerStmt(), in getLocationForCaller()
546 const CFGDeleteDtor &Dtor = Source.castAs<CFGDeleteDtor>(); in getLocationForCaller() local
547 return PathDiagnosticLocation(Dtor.getDeleteExpr(), SM, CallerCtx); in getLocationForCaller()
564 const auto &Dtor = Source.castAs<CFGTemporaryDtor>(); in getLocationForCaller() local
565 return PathDiagnosticLocation::createEnd(Dtor.getBindTemporaryExpr(), SM, in getLocationForCaller()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/gc/impl/conservative/
H A Dgc.d198 gcx.Dtor();
1545 void Dtor()
1599 pool.Dtor();
1603 pooltable.Dtor();
1887 pool.Dtor();
2119 pool.Dtor();
3645 void Dtor() nothrow
3673 mark.Dtor(config.fork);
3679 is_pointer.Dtor();
3683 nointerior.Dtor();
[all …]
/netbsd-src/external/gpl3/gcc/dist/libphobos/testsuite/libphobos.init_fini/
H A Dcustom_gc.d42 void Dtor() in Dtor() function
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp1427 const auto *Dtor = cast<CXXDestructorDecl>(CalleeCtx->getDecl()); in getCaller() local
1428 Loc ThisPtr = SVB.getCXXThis(Dtor, CalleeCtx); in getCaller()
1437 Trigger = Dtor->getBody(); in getCaller()
1439 return getCXXDestructorCall(Dtor, Trigger, ThisVal.getAsRegion(), in getCaller()
H A DExprEngineCallAndReturn.cpp888 const CXXDestructorDecl *Dtor = dyn_cast<CXXDestructorDecl>(FD); in isCXXSharedPtrDtor() local
889 if (!Dtor) in isCXXSharedPtrDtor()
892 const CXXRecordDecl *RD = Dtor->getParent(); in isCXXSharedPtrDtor()
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/gc/impl/proto/
H A Dgc.d59 void Dtor() in Dtor() function

12