Searched refs:dtorKind (Results 1 – 7 of 7) sorted by relevance
/netbsd/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CGExprAgg.cpp | 524 if (CGF.needsEHCleanup(dtorKind)) { in EmitArrayInit() 539 dtorKind = QualType::DK_none; in EmitArrayInit() 1660 if (QualType::DestructionKind dtorKind = in VisitInitListExpr() local 1662 CGF.pushDestroy(dtorKind, V, Base.getType()); in VisitInitListExpr() 1736 if (QualType::DestructionKind dtorKind in VisitInitListExpr() local 1739 if (CGF.needsEHCleanup(dtorKind)) { in VisitInitListExpr() 1741 CGF.getDestroyer(dtorKind), false); in VisitInitListExpr() 1810 if (CGF.needsEHCleanup(dtorKind) && !InnerLoop) { in VisitArrayInitLoopExpr() 1815 CGF.getDestroyer(dtorKind)); in VisitArrayInitLoopExpr() 1818 dtorKind = QualType::DK_none; in VisitArrayInitLoopExpr() [all …]
|
H A D | CGDecl.cpp | 1963 QualType::DestructionKind dtorKind) { in emitAutoVarTypeCleanup() argument 1964 assert(dtorKind != QualType::DK_none); in emitAutoVarTypeCleanup() 1976 switch (dtorKind) { in emitAutoVarTypeCleanup() 2019 if (!destroyer) destroyer = getDestroyer(dtorKind); in emitAutoVarTypeCleanup() 2042 emitAutoVarTypeCleanup(emission, dtorKind); in EmitAutoVarCleanups() 2095 assert(dtorKind && "cannot push destructor for trivial type"); in pushEHDestroy() 2096 assert(needsEHCleanup(dtorKind)); in pushEHDestroy() 2098 pushDestroy(EHCleanup, addr, type, getDestroyer(dtorKind), true); in pushEHDestroy() 2105 assert(dtorKind && "cannot push destructor for trivial type"); in pushDestroy() 2107 CleanupKind cleanupKind = getCleanupKind(dtorKind); in pushDestroy() [all …]
|
H A D | CGClass.cpp | 682 QualType::DestructionKind dtorKind = FieldType.isDestructedType(); in EmitMemberInitializer() local 683 if (CGF.needsEHCleanup(dtorKind)) in EmitMemberInitializer() 684 CGF.pushEHDestroy(dtorKind, LHS.getAddress(CGF), FieldType); in EmitMemberInitializer() 721 QualType::DestructionKind dtorKind = FieldType.isDestructedType(); in EmitInitializerForField() local 722 if (needsEHCleanup(dtorKind)) in EmitInitializerForField() 723 pushEHDestroy(dtorKind, LHS.getAddress(*this), FieldType); in EmitInitializerForField() 1138 if (!CGF.needsEHCleanup(dtorKind)) in pushEHDestructors() 1894 QualType::DestructionKind dtorKind = type.isDestructedType(); in EnterDtorCleanups() local 1895 if (!dtorKind) continue; in EnterDtorCleanups() 1901 CleanupKind cleanupKind = getCleanupKind(dtorKind); in EnterDtorCleanups() [all …]
|
H A D | CGBlocks.cpp | 1045 QualType::DestructionKind dtorKind = type.isDestructedType(); in EmitBlockLiteral() local 1046 if (dtorKind == QualType::DK_none) in EmitBlockLiteral() 1063 } else if (dtorKind == QualType::DK_objc_strong_lifetime) { in EmitBlockLiteral() 1066 destroyer = getDestroyer(dtorKind); in EmitBlockLiteral() 1070 bool useArrayEHCleanup = needsEHCleanup(dtorKind); in EmitBlockLiteral()
|
H A D | CGExprCXX.cpp | 2034 if (QualType::DestructionKind dtorKind = elementType.isDestructedType()) { in EmitArrayDelete() local 2049 CGF.getDestroyer(dtorKind), in EmitArrayDelete() 2051 CGF.needsEHCleanup(dtorKind)); in EmitArrayDelete()
|
H A D | CGObjC.cpp | 1631 QualType::DestructionKind dtorKind = type.isDestructedType(); in emitCXXDestructMethod() local 1632 if (!dtorKind) continue; in emitCXXDestructMethod() 1638 if (dtorKind == QualType::DK_objc_strong_lifetime) { in emitCXXDestructMethod() 1643 destroyer = CGF.getDestroyer(dtorKind); in emitCXXDestructMethod() 1646 CleanupKind cleanupKind = CGF.getCleanupKind(dtorKind); in emitCXXDestructMethod()
|
H A D | CodeGenFunction.h | 1990 void pushDestroy(QualType::DestructionKind dtorKind, 1992 void pushEHDestroy(QualType::DestructionKind dtorKind, 3070 QualType::DestructionKind dtorKind);
|