Searched refs:dtorKind (Results 1 – 7 of 7) sorted by relevance
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGExprAgg.cpp | 529 if (CGF.needsEHCleanup(dtorKind)) { in EmitArrayInit() 544 dtorKind = QualType::DK_none; in EmitArrayInit() 1667 if (QualType::DestructionKind dtorKind = in VisitInitListExpr() local 1669 CGF.pushDestroy(dtorKind, V, Base.getType()); in VisitInitListExpr() 1743 if (QualType::DestructionKind dtorKind in VisitInitListExpr() local 1746 if (CGF.needsEHCleanup(dtorKind)) { in VisitInitListExpr() 1748 CGF.getDestroyer(dtorKind), false); in VisitInitListExpr() 1820 if (CGF.needsEHCleanup(dtorKind) && !InnerLoop) { in VisitArrayInitLoopExpr() 1825 CGF.getDestroyer(dtorKind)); in VisitArrayInitLoopExpr() 1828 dtorKind = QualType::DK_none; in VisitArrayInitLoopExpr() [all …]
|
| H A D | CGDecl.cpp | 1978 QualType::DestructionKind dtorKind) { in emitAutoVarTypeCleanup() argument 1979 assert(dtorKind != QualType::DK_none); in emitAutoVarTypeCleanup() 1991 switch (dtorKind) { in emitAutoVarTypeCleanup() 2034 if (!destroyer) destroyer = getDestroyer(dtorKind); in emitAutoVarTypeCleanup() 2057 emitAutoVarTypeCleanup(emission, dtorKind); in EmitAutoVarCleanups() 2110 assert(dtorKind && "cannot push destructor for trivial type"); in pushEHDestroy() 2111 assert(needsEHCleanup(dtorKind)); in pushEHDestroy() 2113 pushDestroy(EHCleanup, addr, type, getDestroyer(dtorKind), true); in pushEHDestroy() 2120 assert(dtorKind && "cannot push destructor for trivial type"); in pushDestroy() 2122 CleanupKind cleanupKind = getCleanupKind(dtorKind); in pushDestroy() [all …]
|
| H A D | CGClass.cpp | 680 QualType::DestructionKind dtorKind = FieldType.isDestructedType(); in EmitMemberInitializer() local 681 if (CGF.needsEHCleanup(dtorKind)) in EmitMemberInitializer() 682 CGF.pushEHDestroy(dtorKind, LHS.getAddress(CGF), FieldType); in EmitMemberInitializer() 719 QualType::DestructionKind dtorKind = FieldType.isDestructedType(); in EmitInitializerForField() local 720 if (needsEHCleanup(dtorKind)) in EmitInitializerForField() 721 pushEHDestroy(dtorKind, LHS.getAddress(*this), FieldType); in EmitInitializerForField() 1128 if (!CGF.needsEHCleanup(dtorKind)) in pushEHDestructors() 1132 CGF.pushEHDestroy(dtorKind, FieldLHS.getAddress(CGF), FieldType); in pushEHDestructors() 1916 QualType::DestructionKind dtorKind = type.isDestructedType(); in EnterDtorCleanups() local 1917 if (!dtorKind) in EnterDtorCleanups() [all …]
|
| H A D | CGBlocks.cpp | 1052 QualType::DestructionKind dtorKind = type.isDestructedType(); in EmitBlockLiteral() local 1053 if (dtorKind == QualType::DK_none) in EmitBlockLiteral() 1070 } else if (dtorKind == QualType::DK_objc_strong_lifetime) { in EmitBlockLiteral() 1073 destroyer = getDestroyer(dtorKind); in EmitBlockLiteral() 1077 bool useArrayEHCleanup = needsEHCleanup(dtorKind); in EmitBlockLiteral()
|
| H A D | CGExprCXX.cpp | 2032 if (QualType::DestructionKind dtorKind = elementType.isDestructedType()) { in EmitArrayDelete() local 2047 CGF.getDestroyer(dtorKind), in EmitArrayDelete() 2049 CGF.needsEHCleanup(dtorKind)); in EmitArrayDelete()
|
| H A D | CGObjC.cpp | 1638 QualType::DestructionKind dtorKind = type.isDestructedType(); in emitCXXDestructMethod() local 1639 if (!dtorKind) continue; in emitCXXDestructMethod() 1645 if (dtorKind == QualType::DK_objc_strong_lifetime) { in emitCXXDestructMethod() 1650 destroyer = CGF.getDestroyer(dtorKind); in emitCXXDestructMethod() 1653 CleanupKind cleanupKind = CGF.getCleanupKind(dtorKind); in emitCXXDestructMethod()
|
| H A D | CodeGenFunction.h | 2048 void pushDestroy(QualType::DestructionKind dtorKind, 2050 void pushEHDestroy(QualType::DestructionKind dtorKind, 3125 QualType::DestructionKind dtorKind);
|