Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCRuntime.cpp446 QualType::DestructionKind DtorKind = QT.isDestructedType(); in destroyCalleeDestroyedArguments() local
447 switch (DtorKind) { in destroyCalleeDestroyedArguments()
H A DCGDeclCXX.cpp79 QualType::DestructionKind DtorKind = D.needsDestruction(CGF.getContext()); in EmitDeclDestroy() local
83 switch (DtorKind) { in EmitDeclDestroy()
141 .generateDestroyHelper(Addr, Type, CGF.getDestroyer(DtorKind), in EmitDeclDestroy()
142 CGF.needsEHCleanup(DtorKind), &D); in EmitDeclDestroy()
H A DCGExprAgg.cpp707 if (QualType::DestructionKind DtorKind = E->getType().isDestructedType()) in VisitCompoundLiteralExpr() local
709 CGF.getCleanupKind(DtorKind), Slot.getAddress(), E->getType(), in VisitCompoundLiteralExpr()
710 CGF.getDestroyer(DtorKind), DtorKind & EHCleanup); in VisitCompoundLiteralExpr()
1374 if (QualType::DestructionKind DtorKind = in VisitLambdaExpr() local
1377 if (CGF.needsEHCleanup(DtorKind)) { in VisitLambdaExpr()
1385 CGF.getDestroyer(DtorKind), false); in VisitLambdaExpr()
H A DCGExprCXX.cpp1007 QualType::DestructionKind DtorKind = ElementType.isDestructedType(); in EmitNewArrayInitializer() local
1106 if (needsEHCleanup(DtorKind)) { in EmitNewArrayInitializer()
1116 getDestroyer(DtorKind)); in EmitNewArrayInitializer()
1280 if (!CleanupDominator && needsEHCleanup(DtorKind)) { in EmitNewArrayInitializer()
1283 getDestroyer(DtorKind)); in EmitNewArrayInitializer()
H A DCGDecl.cpp2591 if (QualType::DestructionKind DtorKind = in EmitParmDecl() local
2593 assert((DtorKind == QualType::DK_cxx_destructor || in EmitParmDecl()
2594 DtorKind == QualType::DK_nontrivial_c_struct) && in EmitParmDecl()
2596 pushDestroy(DtorKind, DeclPtr, Ty); in EmitParmDecl()
H A DCGExpr.cpp4959 if (QualType::DestructionKind DtorKind = E->getType().isDestructedType()) in EmitCompoundLiteralLValue() local
4960 pushLifetimeExtendedDestroy(getCleanupKind(DtorKind), DeclPtr, in EmitCompoundLiteralLValue()
4961 E->getType(), getDestroyer(DtorKind), in EmitCompoundLiteralLValue()
4962 DtorKind & EHCleanup); in EmitCompoundLiteralLValue()
H A DCGCall.cpp4580 QualType::DestructionKind DtorKind = Ty.isDestructedType(); in Emit() local
4581 if (DtorKind == QualType::DK_cxx_destructor) { in Emit()
H A DCGOpenMPRuntime.cpp3121 if (QualType::DestructionKind DtorKind = in emitDestructorsFunction() local
3124 CGF.pushDestroy(DtorKind, FieldLValue.getAddress(CGF), Field->getType()); in emitDestructorsFunction()