Searched refs:dtorKind (Results 1 – 8 of 8) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGDecl.cpp | 2139 QualType::DestructionKind dtorKind) { in emitAutoVarTypeCleanup() argument 2140 assert(dtorKind != QualType::DK_none); in emitAutoVarTypeCleanup() 2152 switch (dtorKind) { in emitAutoVarTypeCleanup() 2195 if (!destroyer) destroyer = getDestroyer(dtorKind); in emitAutoVarTypeCleanup() 2217 if (QualType::DestructionKind dtorKind = D.needsDestruction(getContext())) in EmitAutoVarCleanups() local 2218 emitAutoVarTypeCleanup(emission, dtorKind); in EmitAutoVarCleanups() 2269 void CodeGenFunction::pushEHDestroy(QualType::DestructionKind dtorKind, in pushEHDestroy() argument 2271 assert(dtorKind && "cannot push destructor for trivial type"); in pushEHDestroy() 2272 assert(needsEHCleanup(dtorKind)); in pushEHDestroy() 2274 pushDestroy(EHCleanup, addr, type, getDestroyer(dtorKind), true); in pushEHDestroy() [all …]
|
| H A D | CGExprAgg.cpp | 650 QualType::DestructionKind dtorKind = elementType.isDestructedType(); in EmitArrayInit() local 655 if (dtorKind) { in EmitArrayInit() 668 CGF.getDestroyer(dtorKind)); in EmitArrayInit() 1839 if (QualType::DestructionKind dtorKind = in VisitCXXParenListOrInitListExpr() local 1841 CGF.pushDestroyAndDeferDeactivation(dtorKind, V, Base.getType()); in VisitCXXParenListOrInitListExpr() 1931 if (QualType::DestructionKind dtorKind in VisitCXXParenListOrInitListExpr() local 1934 if (dtorKind) { in VisitCXXParenListOrInitListExpr() 1937 CGF.getDestroyer(dtorKind), false); in VisitCXXParenListOrInitListExpr() 2034 QualType::DestructionKind dtorKind = elementType.isDestructedType(); in VisitArrayInitLoopExpr() local 2036 if (CGF.needsEHCleanup(dtorKind) && !InnerLoop) { in VisitArrayInitLoopExpr() [all …]
|
| H A D | CGClass.cpp | 678 QualType::DestructionKind dtorKind = FieldType.isDestructedType(); in EmitMemberInitializer() local 679 if (CGF.needsEHCleanup(dtorKind)) in EmitMemberInitializer() 680 CGF.pushEHDestroy(dtorKind, LHS.getAddress(), FieldType); in EmitMemberInitializer() 717 QualType::DestructionKind dtorKind = FieldType.isDestructedType(); in EmitInitializerForField() local 718 if (needsEHCleanup(dtorKind)) in EmitInitializerForField() 719 pushEHDestroy(dtorKind, LHS.getAddress(), FieldType); in EmitInitializerForField() 1131 QualType::DestructionKind dtorKind = FieldType.isDestructedType(); in pushEHDestructors() local 1132 if (!CGF.needsEHCleanup(dtorKind)) in pushEHDestructors() 1136 CGF.pushEHDestroy(dtorKind, FieldLHS.getAddress(), FieldType); in pushEHDestructors() 1961 QualType::DestructionKind dtorKind = type.isDestructedType(); in EnterDtorCleanups() local [all …]
|
| H A D | CGBlocks.cpp | 1062 QualType::DestructionKind dtorKind = type.isDestructedType(); in EmitBlockLiteral() local 1063 if (dtorKind == QualType::DK_none) in EmitBlockLiteral() 1080 } else if (dtorKind == QualType::DK_objc_strong_lifetime) { in EmitBlockLiteral() 1083 destroyer = getDestroyer(dtorKind); in EmitBlockLiteral() 1087 bool useArrayEHCleanup = needsEHCleanup(dtorKind); in EmitBlockLiteral()
|
| H A D | CGExprCXX.cpp | 2095 if (QualType::DestructionKind dtorKind = elementType.isDestructedType()) { in EmitArrayDelete() local 2110 CGF.getDestroyer(dtorKind), in EmitArrayDelete() 2112 CGF.needsEHCleanup(dtorKind)); in EmitArrayDelete()
|
| H A D | CGObjC.cpp | 1728 QualType::DestructionKind dtorKind = type.isDestructedType(); in emitCXXDestructMethod() local 1729 if (!dtorKind) continue; in emitCXXDestructMethod() 1735 if (dtorKind == QualType::DK_objc_strong_lifetime) { in emitCXXDestructMethod() 1740 destroyer = CGF.getDestroyer(dtorKind); in emitCXXDestructMethod() 1743 CleanupKind cleanupKind = CGF.getCleanupKind(dtorKind); in emitCXXDestructMethod()
|
| H A D | CodeGenFunction.h | 2211 void pushDestroy(QualType::DestructionKind dtorKind, Address addr, 2213 void pushEHDestroy(QualType::DestructionKind dtorKind, Address addr, 2217 void pushDestroyAndDeferDeactivation(QualType::DestructionKind dtorKind, 2225 void pushLifetimeExtendedDestroy(QualType::DestructionKind dtorKind, 3473 QualType::DestructionKind dtorKind);
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenClass.cpp | 309 QualType::DestructionKind dtorKind = fieldType.isDestructedType(); in emitInitializerForField() local 310 (void)dtorKind; in emitInitializerForField()
|