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.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.cpp718 if (QualType::DestructionKind DtorKind = E->getType().isDestructedType()) in VisitCompoundLiteralExpr() local
720 CGF.getCleanupKind(DtorKind), Slot.getAddress(), E->getType(), in VisitCompoundLiteralExpr()
721 CGF.getDestroyer(DtorKind), DtorKind & EHCleanup); in VisitCompoundLiteralExpr()
1392 if (QualType::DestructionKind DtorKind = in VisitLambdaExpr() local
1395 if (DtorKind) in VisitLambdaExpr()
1398 CGF.getDestroyer(DtorKind), false); in VisitLambdaExpr()
H A DCGExprCXX.cpp1010 QualType::DestructionKind DtorKind = ElementType.isDestructedType(); in EmitNewArrayInitializer() local
1108 if (DtorKind) { in EmitNewArrayInitializer()
1120 getDestroyer(DtorKind)); in EmitNewArrayInitializer()
1286 if (!pushedCleanup && needsEHCleanup(DtorKind)) { in EmitNewArrayInitializer()
1291 ElementAlign, getDestroyer(DtorKind)); in EmitNewArrayInitializer()
H A DCGDecl.cpp2651 if (QualType::DestructionKind DtorKind = in EmitParmDecl() local
2653 assert((DtorKind == QualType::DK_cxx_destructor || in EmitParmDecl()
2654 DtorKind == QualType::DK_nontrivial_c_struct) && in EmitParmDecl()
2656 pushDestroy(DtorKind, DeclPtr, Ty); in EmitParmDecl()
H A DCGExpr.cpp5019 if (QualType::DestructionKind DtorKind = E->getType().isDestructedType()) in EmitCompoundLiteralLValue() local
5020 pushLifetimeExtendedDestroy(getCleanupKind(DtorKind), DeclPtr, in EmitCompoundLiteralLValue()
5021 E->getType(), getDestroyer(DtorKind), in EmitCompoundLiteralLValue()
5022 DtorKind & EHCleanup); in EmitCompoundLiteralLValue()
H A DCGCall.cpp4602 QualType::DestructionKind DtorKind = Ty.isDestructedType(); in Emit() local
4603 if (DtorKind == QualType::DK_cxx_destructor) { in Emit()
H A DCGOpenMPRuntime.cpp3136 if (QualType::DestructionKind DtorKind = in emitDestructorsFunction() local
3139 CGF.pushDestroy(DtorKind, FieldLValue.getAddress(), Field->getType()); in emitDestructorsFunction()