Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCRuntime.cpp445 QualType::DestructionKind DtorKind = QT.isDestructedType(); in destroyCalleeDestroyedArguments() local
446 switch (DtorKind) { in destroyCalleeDestroyedArguments()
H A DCGDeclCXX.cpp80 QualType::DestructionKind DtorKind = D.needsDestruction(CGF.getContext()); in EmitDeclDestroy() local
84 switch (DtorKind) { in EmitDeclDestroy()
142 .generateDestroyHelper(Addr, Type, CGF.getDestroyer(DtorKind), in EmitDeclDestroy()
143 CGF.needsEHCleanup(DtorKind), &D); in EmitDeclDestroy()
H A DCGExprAgg.cpp820 if (QualType::DestructionKind DtorKind = E->getType().isDestructedType()) in VisitCompoundLiteralExpr() local
822 CGF.getCleanupKind(DtorKind), Slot.getAddress(), E->getType(), in VisitCompoundLiteralExpr()
823 CGF.getDestroyer(DtorKind), DtorKind & EHCleanup); in VisitCompoundLiteralExpr()
1526 if (QualType::DestructionKind DtorKind = in VisitLambdaExpr() local
1529 if (DtorKind) in VisitLambdaExpr()
1532 CGF.getDestroyer(DtorKind), false); in VisitLambdaExpr()
H A DCGExprCXX.cpp1015 QualType::DestructionKind DtorKind = ElementType.isDestructedType(); in EmitNewArrayInitializer() local
1113 if (DtorKind) { in EmitNewArrayInitializer()
1125 getDestroyer(DtorKind)); in EmitNewArrayInitializer()
1291 if (!pushedCleanup && needsEHCleanup(DtorKind)) { in EmitNewArrayInitializer()
1296 ElementAlign, getDestroyer(DtorKind)); in EmitNewArrayInitializer()
H A DCGDecl.cpp2731 if (QualType::DestructionKind DtorKind = in EmitParmDecl() local
2733 assert((DtorKind == QualType::DK_cxx_destructor || in EmitParmDecl()
2734 DtorKind == QualType::DK_nontrivial_c_struct) && in EmitParmDecl()
2736 pushDestroy(DtorKind, DeclPtr, Ty); in EmitParmDecl()
H A DCGExpr.cpp5357 if (QualType::DestructionKind DtorKind = E->getType().isDestructedType()) in EmitCompoundLiteralLValue() local
5358 pushLifetimeExtendedDestroy(getCleanupKind(DtorKind), DeclPtr, in EmitCompoundLiteralLValue()
5359 E->getType(), getDestroyer(DtorKind), in EmitCompoundLiteralLValue()
5360 DtorKind & EHCleanup); in EmitCompoundLiteralLValue()
H A DCGCall.cpp4778 QualType::DestructionKind DtorKind = Ty.isDestructedType(); in Emit() local
4779 if (DtorKind == QualType::DK_cxx_destructor) { in Emit()
H A DCGOpenMPRuntime.cpp3112 if (QualType::DestructionKind DtorKind = in emitDestructorsFunction() local
3115 CGF.pushDestroy(DtorKind, FieldLValue.getAddress(), Field->getType()); in emitDestructorsFunction()