Lines Matching defs:Dtor
162 const CXXDestructorDecl *Dtor) override;
256 bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor,
318 EmitVirtualDestructorCall(CodeGenFunction &CGF, const CXXDestructorDecl *Dtor,
1371 const CXXDestructorDecl *Dtor) {
1402 EmitVirtualDestructorCall(CGF, Dtor, DtorType, Ptr, DE,
1463 llvm::Constant *Dtor = nullptr;
1475 Dtor = CGM.getAddrOfCXXStructor(GlobalDecl(DtorD, Dtor_Complete));
1476 Dtor = CGM.getFunctionPointer(Dtor, DtorTy);
1479 if (!Dtor) Dtor = llvm::Constant::getNullValue(CGM.Int8PtrTy);
1481 llvm::Value *args[] = { ExceptionPtr, TypeInfo, Dtor };
2240 CodeGenFunction &CGF, const CXXDestructorDecl *Dtor, CXXDtorType DtorType,
2248 GlobalDecl GD(Dtor, DtorType);
2920 llvm::Function *Dtor = *itv;
2924 llvm::Value *V = CGF.unregisterGlobalDtorWithUnAtExit(Dtor);
2938 // Emit the call to casted Dtor.
2939 llvm::CallInst *CI = CGF.Builder.CreateCall(dtorFuncTy, Dtor);
2941 CI->setCallingConv(Dtor->getCallingConv());
2973 for (auto *Dtor : Dtors) {
2977 emitGlobalDtorWithCXAAtExit(CGF, Dtor, nullptr, false);
2981 CGF.registerGlobalDtorWithAtExit(Dtor);
5159 llvm::FunctionCallee Dtor,
5173 llvm::Function *DtorStub = CGF.createTLSAtExitStub(D, Dtor, Addr, AtExit);
5186 cast<llvm::Function>(CGF.createAtExitStub(D, Dtor, Addr));