Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGDeclCXX.cpp78 QualType::DestructionKind DtorKind = D.needsDestruction(CGF.getContext()); in EmitDeclDestroy() local
82 switch (DtorKind) { in EmitDeclDestroy()
141 .generateDestroyHelper(Addr, Type, CGF.getDestroyer(DtorKind), in EmitDeclDestroy()
142 CGF.needsEHCleanup(DtorKind), &D); in EmitDeclDestroy()
H A DCGObjCRuntime.cpp447 QualType::DestructionKind DtorKind = QT.isDestructedType(); in destroyCalleeDestroyedArguments() local
448 switch (DtorKind) { in destroyCalleeDestroyedArguments()
H A DCGExprAgg.cpp684 if (QualType::DestructionKind DtorKind = E->getType().isDestructedType()) in VisitCompoundLiteralExpr() local
686 CGF.getCleanupKind(DtorKind), Slot.getAddress(), E->getType(), in VisitCompoundLiteralExpr()
687 CGF.getDestroyer(DtorKind), DtorKind & EHCleanup); in VisitCompoundLiteralExpr()
1353 if (QualType::DestructionKind DtorKind = in VisitLambdaExpr() local
1356 if (CGF.needsEHCleanup(DtorKind)) { in VisitLambdaExpr()
1364 CGF.getDestroyer(DtorKind), false); in VisitLambdaExpr()
H A DCGExprCXX.cpp1000 QualType::DestructionKind DtorKind = ElementType.isDestructedType(); in EmitNewArrayInitializer() local
1082 if (needsEHCleanup(DtorKind)) { in EmitNewArrayInitializer()
1092 getDestroyer(DtorKind)); in EmitNewArrayInitializer()
1258 if (!CleanupDominator && needsEHCleanup(DtorKind)) { in EmitNewArrayInitializer()
1261 getDestroyer(DtorKind)); in EmitNewArrayInitializer()
H A DCGDecl.cpp2503 if (QualType::DestructionKind DtorKind = in EmitParmDecl() local
2505 assert((DtorKind == QualType::DK_cxx_destructor || in EmitParmDecl()
2506 DtorKind == QualType::DK_nontrivial_c_struct) && in EmitParmDecl()
2508 pushDestroy(DtorKind, DeclPtr, Ty); in EmitParmDecl()
H A DCGExpr.cpp4578 if (QualType::DestructionKind DtorKind = E->getType().isDestructedType()) in EmitCompoundLiteralLValue() local
4579 pushLifetimeExtendedDestroy(getCleanupKind(DtorKind), DeclPtr, in EmitCompoundLiteralLValue()
4580 E->getType(), getDestroyer(DtorKind), in EmitCompoundLiteralLValue()
4581 DtorKind & EHCleanup); in EmitCompoundLiteralLValue()
H A DCGCall.cpp4300 QualType::DestructionKind DtorKind = Ty.isDestructedType(); in Emit() local
4301 if (DtorKind == QualType::DK_cxx_destructor) { in Emit()
H A DCGOpenMPRuntime.cpp3638 if (QualType::DestructionKind DtorKind = in emitDestructorsFunction() local
3641 CGF.pushDestroy(DtorKind, FieldLValue.getAddress(CGF), Field->getType()); in emitDestructorsFunction()