Searched refs:DtorKind (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGDeclCXX.cpp | 78 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 D | CGObjCRuntime.cpp | 447 QualType::DestructionKind DtorKind = QT.isDestructedType(); in destroyCalleeDestroyedArguments() local 448 switch (DtorKind) { in destroyCalleeDestroyedArguments()
|
| H A D | CGExprAgg.cpp | 684 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 D | CGExprCXX.cpp | 1000 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 D | CGDecl.cpp | 2503 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 D | CGExpr.cpp | 4578 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 D | CGCall.cpp | 4300 QualType::DestructionKind DtorKind = Ty.isDestructedType(); in Emit() local 4301 if (DtorKind == QualType::DK_cxx_destructor) { in Emit()
|
| H A D | CGOpenMPRuntime.cpp | 3638 if (QualType::DestructionKind DtorKind = in emitDestructorsFunction() local 3641 CGF.pushDestroy(DtorKind, FieldLValue.getAddress(CGF), Field->getType()); in emitDestructorsFunction()
|