Home
last modified time | relevance | path

Searched refs:DtorKind (Results 1 – 8 of 8) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
DCGDeclCXX.cpp78 QualType::DestructionKind DtorKind = D.needsDestruction(CGF.getContext()); in EmitDeclDestroy() local
82 switch (DtorKind) { in EmitDeclDestroy()
140 .generateDestroyHelper(Addr, Type, CGF.getDestroyer(DtorKind), in EmitDeclDestroy()
141 CGF.needsEHCleanup(DtorKind), &D); in EmitDeclDestroy()
DCGExprAgg.cpp681 if (QualType::DestructionKind DtorKind = E->getType().isDestructedType()) in VisitCompoundLiteralExpr() local
683 CGF.getCleanupKind(DtorKind), Slot.getAddress(), E->getType(), in VisitCompoundLiteralExpr()
684 CGF.getDestroyer(DtorKind), DtorKind & EHCleanup); in VisitCompoundLiteralExpr()
1350 if (QualType::DestructionKind DtorKind = in VisitLambdaExpr() local
1353 if (CGF.needsEHCleanup(DtorKind)) { in VisitLambdaExpr()
1361 CGF.getDestroyer(DtorKind), false); in VisitLambdaExpr()
DCGExprCXX.cpp999 QualType::DestructionKind DtorKind = ElementType.isDestructedType(); in EmitNewArrayInitializer() local
1086 if (needsEHCleanup(DtorKind)) { in EmitNewArrayInitializer()
1096 getDestroyer(DtorKind)); in EmitNewArrayInitializer()
1262 if (!CleanupDominator && needsEHCleanup(DtorKind)) { in EmitNewArrayInitializer()
1265 getDestroyer(DtorKind)); in EmitNewArrayInitializer()
DCGDecl.cpp2485 if (QualType::DestructionKind DtorKind = in EmitParmDecl() local
2487 assert((DtorKind == QualType::DK_cxx_destructor || in EmitParmDecl()
2488 DtorKind == QualType::DK_nontrivial_c_struct) && in EmitParmDecl()
2490 pushDestroy(DtorKind, DeclPtr, Ty); in EmitParmDecl()
DCGExpr.cpp4488 if (QualType::DestructionKind DtorKind = E->getType().isDestructedType()) in EmitCompoundLiteralLValue() local
4489 pushLifetimeExtendedDestroy(getCleanupKind(DtorKind), DeclPtr, in EmitCompoundLiteralLValue()
4490 E->getType(), getDestroyer(DtorKind), in EmitCompoundLiteralLValue()
4491 DtorKind & EHCleanup); in EmitCompoundLiteralLValue()
DCGCall.cpp4227 QualType::DestructionKind DtorKind = Ty.isDestructedType(); in Emit() local
4228 if (DtorKind == QualType::DK_cxx_destructor) { in Emit()
DCGObjCMac.cpp1773 QualType::DestructionKind DtorKind = QT.isDestructedType(); in complete() local
1774 switch (DtorKind) { in complete()
DCGOpenMPRuntime.cpp3707 if (QualType::DestructionKind DtorKind = in emitDestructorsFunction() local
3710 CGF.pushDestroy(DtorKind, FieldLValue.getAddress(CGF), Field->getType()); in emitDestructorsFunction()