Searched refs:dtorKind (Results 1 – 7 of 7) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprAgg.cpp | 553 if (CGF.needsEHCleanup(dtorKind)) { in EmitArrayInit() 568 dtorKind = QualType::DK_none; in EmitArrayInit() 1714 if (QualType::DestructionKind dtorKind = in VisitCXXParenListOrInitListExpr() local 1716 CGF.pushDestroy(dtorKind, V, Base.getType()); in VisitCXXParenListOrInitListExpr() 1790 if (QualType::DestructionKind dtorKind in VisitCXXParenListOrInitListExpr() local 1793 if (CGF.needsEHCleanup(dtorKind)) { in VisitCXXParenListOrInitListExpr() 1795 CGF.getDestroyer(dtorKind), false); in VisitCXXParenListOrInitListExpr() 1867 if (CGF.needsEHCleanup(dtorKind) && !InnerLoop) { in VisitArrayInitLoopExpr() 1872 CGF.getDestroyer(dtorKind)); in VisitArrayInitLoopExpr() 1875 dtorKind = QualType::DK_none; in VisitArrayInitLoopExpr() [all …]
|
| H A D | CGDecl.cpp | 2043 QualType::DestructionKind dtorKind) { in emitAutoVarTypeCleanup() argument 2044 assert(dtorKind != QualType::DK_none); in emitAutoVarTypeCleanup() 2056 switch (dtorKind) { in emitAutoVarTypeCleanup() 2099 if (!destroyer) destroyer = getDestroyer(dtorKind); in emitAutoVarTypeCleanup() 2122 emitAutoVarTypeCleanup(emission, dtorKind); in EmitAutoVarCleanups() 2175 assert(dtorKind && "cannot push destructor for trivial type"); in pushEHDestroy() 2176 assert(needsEHCleanup(dtorKind)); in pushEHDestroy() 2178 pushDestroy(EHCleanup, addr, type, getDestroyer(dtorKind), true); in pushEHDestroy() 2185 assert(dtorKind && "cannot push destructor for trivial type"); in pushDestroy() 2187 CleanupKind cleanupKind = getCleanupKind(dtorKind); in pushDestroy() [all …]
|
| H A D | CGClass.cpp | 673 QualType::DestructionKind dtorKind = FieldType.isDestructedType(); in EmitMemberInitializer() local 674 if (CGF.needsEHCleanup(dtorKind)) in EmitMemberInitializer() 675 CGF.pushEHDestroy(dtorKind, LHS.getAddress(CGF), FieldType); in EmitMemberInitializer() 712 QualType::DestructionKind dtorKind = FieldType.isDestructedType(); in EmitInitializerForField() local 713 if (needsEHCleanup(dtorKind)) in EmitInitializerForField() 714 pushEHDestroy(dtorKind, LHS.getAddress(*this), FieldType); in EmitInitializerForField() 1122 if (!CGF.needsEHCleanup(dtorKind)) in pushEHDestructors() 1126 CGF.pushEHDestroy(dtorKind, FieldLHS.getAddress(CGF), FieldType); in pushEHDestructors() 1948 QualType::DestructionKind dtorKind = type.isDestructedType(); in EnterDtorCleanups() local 1949 if (!dtorKind) in EnterDtorCleanups() [all …]
|
| H A D | CGBlocks.cpp | 1023 QualType::DestructionKind dtorKind = type.isDestructedType(); in EmitBlockLiteral() local 1024 if (dtorKind == QualType::DK_none) in EmitBlockLiteral() 1041 } else if (dtorKind == QualType::DK_objc_strong_lifetime) { in EmitBlockLiteral() 1044 destroyer = getDestroyer(dtorKind); in EmitBlockLiteral() 1048 bool useArrayEHCleanup = needsEHCleanup(dtorKind); in EmitBlockLiteral()
|
| H A D | CGExprCXX.cpp | 2061 if (QualType::DestructionKind dtorKind = elementType.isDestructedType()) { in EmitArrayDelete() local 2076 CGF.getDestroyer(dtorKind), in EmitArrayDelete() 2078 CGF.needsEHCleanup(dtorKind)); in EmitArrayDelete()
|
| H A D | CGObjC.cpp | 1680 QualType::DestructionKind dtorKind = type.isDestructedType(); in emitCXXDestructMethod() local 1681 if (!dtorKind) continue; in emitCXXDestructMethod() 1687 if (dtorKind == QualType::DK_objc_strong_lifetime) { in emitCXXDestructMethod() 1692 destroyer = CGF.getDestroyer(dtorKind); in emitCXXDestructMethod() 1695 CleanupKind cleanupKind = CGF.getCleanupKind(dtorKind); in emitCXXDestructMethod()
|
| H A D | CodeGenFunction.h | 2110 void pushDestroy(QualType::DestructionKind dtorKind, 2112 void pushEHDestroy(QualType::DestructionKind dtorKind, 3211 QualType::DestructionKind dtorKind);
|