Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/CodeGen/
DCGDeclCXX.cpp78 QualType::DestructionKind DtorKind = D.needsDestruction(CGF.getContext()); in EmitDeclDestroy() local
82 switch (DtorKind) { in EmitDeclDestroy()
140 .generateDestroyHelper(Addr, Type, CGF.getDestroyer(DtorKind), in EmitDeclDestroy()
141 CGF.needsEHCleanup(DtorKind), &D); in EmitDeclDestroy()
DCGExprAgg.cpp677 if (QualType::DestructionKind DtorKind = E->getType().isDestructedType()) in VisitCompoundLiteralExpr() local
679 CGF.getCleanupKind(DtorKind), Slot.getAddress(), E->getType(), in VisitCompoundLiteralExpr()
680 CGF.getDestroyer(DtorKind), DtorKind & EHCleanup); in VisitCompoundLiteralExpr()
1345 if (QualType::DestructionKind DtorKind = in VisitLambdaExpr() local
1348 if (CGF.needsEHCleanup(DtorKind)) { in VisitLambdaExpr()
1356 CGF.getDestroyer(DtorKind), false); in VisitLambdaExpr()
DCGExprCXX.cpp994 QualType::DestructionKind DtorKind = ElementType.isDestructedType(); in EmitNewArrayInitializer() local
1080 if (needsEHCleanup(DtorKind)) { in EmitNewArrayInitializer()
1090 getDestroyer(DtorKind)); in EmitNewArrayInitializer()
1254 if (!CleanupDominator && needsEHCleanup(DtorKind)) { in EmitNewArrayInitializer()
1257 getDestroyer(DtorKind)); in EmitNewArrayInitializer()
DCGDecl.cpp2474 if (QualType::DestructionKind DtorKind = in EmitParmDecl() local
2476 assert((DtorKind == QualType::DK_cxx_destructor || in EmitParmDecl()
2477 DtorKind == QualType::DK_nontrivial_c_struct) && in EmitParmDecl()
2479 pushDestroy(DtorKind, DeclPtr, Ty); in EmitParmDecl()
DCGExpr.cpp4476 if (QualType::DestructionKind DtorKind = E->getType().isDestructedType()) in EmitCompoundLiteralLValue() local
4477 pushLifetimeExtendedDestroy(getCleanupKind(DtorKind), DeclPtr, in EmitCompoundLiteralLValue()
4478 E->getType(), getDestroyer(DtorKind), in EmitCompoundLiteralLValue()
4479 DtorKind & EHCleanup); in EmitCompoundLiteralLValue()
DCGCall.cpp3921 QualType::DestructionKind DtorKind = Ty.isDestructedType(); in Emit() local
3922 if (DtorKind == QualType::DK_cxx_destructor) { in Emit()
DCGOpenMPRuntime.cpp3657 if (QualType::DestructionKind DtorKind = in emitDestructorsFunction() local
3660 CGF.pushDestroy(DtorKind, FieldLValue.getAddress(CGF), Field->getType()); in emitDestructorsFunction()
/external/clang/lib/CodeGen/
DCGExprCXX.cpp846 QualType::DestructionKind DtorKind = ElementType.isDestructedType(); in EmitNewArrayInitializer() local
869 if (needsEHCleanup(DtorKind)) { in EmitNewArrayInitializer()
879 getDestroyer(DtorKind)); in EmitNewArrayInitializer()
1067 if (!CleanupDominator && needsEHCleanup(DtorKind)) { in EmitNewArrayInitializer()
1070 getDestroyer(DtorKind)); in EmitNewArrayInitializer()
DCGOpenMPRuntime.cpp3395 if (auto DtorKind = Field->getType().isDestructedType()) { in emitDestructorsFunction() local
3397 CGF.pushDestroy(DtorKind, FieldLValue.getAddress(), Field->getType()); in emitDestructorsFunction()