Lines Matching defs:Dtor
163 const CXXDestructorDecl *Dtor) override;
257 bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor,
319 const CXXDestructorDecl *Dtor,
1375 const CXXDestructorDecl *Dtor) {
1406 EmitVirtualDestructorCall(CGF, Dtor, DtorType, Ptr, DE);
1466 llvm::Constant *Dtor = nullptr;
1478 Dtor = CGM.getAddrOfCXXStructor(GlobalDecl(DtorD, Dtor_Complete));
1479 Dtor = CGM.getFunctionPointer(Dtor, DtorTy);
1482 if (!Dtor) Dtor = llvm::Constant::getNullValue(CGM.Int8PtrTy);
1484 llvm::Value *args[] = { ExceptionPtr, TypeInfo, Dtor };
2242 CodeGenFunction &CGF, const CXXDestructorDecl *Dtor, CXXDtorType DtorType,
2250 GlobalDecl GD(Dtor, DtorType);
2912 llvm::Function *Dtor = *itv;
2916 llvm::Value *V = CGF.unregisterGlobalDtorWithUnAtExit(Dtor);
2930 // Emit the call to casted Dtor.
2931 llvm::CallInst *CI = CGF.Builder.CreateCall(dtorFuncTy, Dtor);
2933 CI->setCallingConv(Dtor->getCallingConv());
2965 for (auto *Dtor : Dtors) {
2969 emitGlobalDtorWithCXAAtExit(CGF, Dtor, nullptr, false);
2973 CGF.registerGlobalDtorWithAtExit(Dtor);
5133 llvm::FunctionCallee Dtor,
5147 llvm::Function *DtorStub = CGF.createTLSAtExitStub(D, Dtor, Addr, AtExit);
5160 cast<llvm::Function>(CGF.createAtExitStub(D, Dtor, Addr));