Searched refs:DtorKind (Results 1 – 9 of 9) sorted by relevance
/external/llvm-project/clang/lib/CodeGen/ |
D | CGDeclCXX.cpp | 78 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()
|
D | CGExprAgg.cpp | 677 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()
|
D | CGExprCXX.cpp | 994 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()
|
D | CGDecl.cpp | 2474 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()
|
D | CGExpr.cpp | 4476 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()
|
D | CGCall.cpp | 3921 QualType::DestructionKind DtorKind = Ty.isDestructedType(); in Emit() local 3922 if (DtorKind == QualType::DK_cxx_destructor) { in Emit()
|
D | CGOpenMPRuntime.cpp | 3657 if (QualType::DestructionKind DtorKind = in emitDestructorsFunction() local 3660 CGF.pushDestroy(DtorKind, FieldLValue.getAddress(CGF), Field->getType()); in emitDestructorsFunction()
|
/external/clang/lib/CodeGen/ |
D | CGExprCXX.cpp | 846 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()
|
D | CGOpenMPRuntime.cpp | 3395 if (auto DtorKind = Field->getType().isDestructedType()) { in emitDestructorsFunction() local 3397 CGF.pushDestroy(DtorKind, FieldLValue.getAddress(), Field->getType()); in emitDestructorsFunction()
|