Lines Matching refs:Dtor
90 llvm_unreachable("emitting dtor comdat as function?");
92 llvm_unreachable("bad dtor kind");
109 llvm_unreachable("bad dtor kind");
160 const CXXDestructorDecl *Dtor) override;
210 bool useThunkForDtorVariant(const CXXDestructorDecl *Dtor,
276 const CXXDestructorDecl *Dtor,
326 llvm::FunctionCallee dtor,
537 llvm::FunctionCallee dtor,
1243 const CXXDestructorDecl *Dtor) {
1273 // CXXMemberCallExpr for dtor call.
1275 EmitVirtualDestructorCall(CGF, Dtor, DtorType, Ptr, DE);
1334 llvm::Constant *Dtor = nullptr;
1339 Dtor = CGM.getAddrOfCXXStructor(GlobalDecl(DtorD, Dtor_Complete));
1340 Dtor = llvm::ConstantExpr::getBitCast(Dtor, CGM.Int8PtrTy);
1343 if (!Dtor) Dtor = llvm::Constant::getNullValue(CGM.Int8PtrTy);
1345 llvm::Value *args[] = { ExceptionPtr, TypeInfo, Dtor };
1998 CodeGenFunction &CGF, const CXXDestructorDecl *Dtor, CXXDtorType DtorType,
2006 GlobalDecl GD(Dtor, DtorType);
2552 llvm::FunctionCallee dtor,
2590 // addr is null when we are trying to register a dtor annotated with
2597 cast<llvm::Constant>(dtor.getCallee()), dtorTy),
2649 llvm::Function *Dtor = *itv;
2654 llvm::Constant *dtor = llvm::ConstantExpr::getBitCast(Dtor, dtorTy);
2655 llvm::Value *V = CGF.unregisterGlobalDtorWithUnAtExit(dtor);
2669 // Emit the call to casted Dtor.
2670 llvm::CallInst *CI = CGF.Builder.CreateCall(dtorFuncTy, dtor);
2672 CI->setCallingConv(Dtor->getCallingConv());
2705 for (auto *Dtor : Dtors) {
2709 emitGlobalDtorWithCXAAtExit(CGF, Dtor, nullptr, false);
2719 llvm::ConstantExpr::getBitCast(Dtor, dtorTy));
2733 llvm::FunctionCallee dtor,
2743 return emitGlobalDtorWithCXAAtExit(CGF, dtor, addr, D.getTLSKind());
2749 return CGM.AddCXXDtorEntry(dtor, addr);
2752 CGF.registerGlobalDtorWithAtExit(D, dtor, addr);
4337 // In such cases we should try to emit the deleting dtor as an alias to the
4618 // 4. Enter dtor cleanup
4734 llvm::FunctionCallee dtor,
4740 llvm::Function *dtorStub = CGF.createAtExitStub(D, dtor, addr);