Home
last modified time | relevance | path

Searched refs:dtorKind (Results 1 – 8 of 8) sorted by relevance

/minix/external/bsd/llvm/dist/clang/lib/CodeGen/
H A DCGDecl.cpp1234 QualType::DestructionKind dtorKind) { in emitAutoVarTypeCleanup() argument
1235 assert(dtorKind != QualType::DK_none); in emitAutoVarTypeCleanup()
1247 switch (dtorKind) { in emitAutoVarTypeCleanup()
1280 if (!destroyer) destroyer = getDestroyer(dtorKind); in emitAutoVarTypeCleanup()
1311 emitAutoVarTypeCleanup(emission, dtorKind); in EmitAutoVarCleanups()
1354 assert(dtorKind && "cannot push destructor for trivial type"); in pushEHDestroy()
1355 assert(needsEHCleanup(dtorKind)); in pushEHDestroy()
1357 pushDestroy(EHCleanup, addr, type, getDestroyer(dtorKind), true); in pushEHDestroy()
1364 assert(dtorKind && "cannot push destructor for trivial type"); in pushDestroy()
1366 CleanupKind cleanupKind = getCleanupKind(dtorKind); in pushDestroy()
[all …]
H A DCGDeclCXX.cpp73 QualType::DestructionKind dtorKind = type.isDestructedType(); in EmitDeclDestroy() local
75 switch (dtorKind) { in EmitDeclDestroy()
95 if (dtorKind == QualType::DK_cxx_destructor && in EmitDeclDestroy()
107 .generateDestroyHelper(addr, type, CGF.getDestroyer(dtorKind), in EmitDeclDestroy()
108 CGF.needsEHCleanup(dtorKind), &D); in EmitDeclDestroy()
H A DCGExprAgg.cpp414 QualType::DestructionKind dtorKind = elementType.isDestructedType(); in EmitArrayInit() local
418 if (CGF.needsEHCleanup(dtorKind)) { in EmitArrayInit()
427 CGF.getDestroyer(dtorKind)); in EmitArrayInit()
432 dtorKind = QualType::DK_none; in EmitArrayInit()
519 if (dtorKind) CGF.DeactivateCleanupBlock(cleanup, cleanupDominator); in EmitArrayInit()
1233 if (QualType::DestructionKind dtorKind in VisitInitListExpr() local
1236 if (CGF.needsEHCleanup(dtorKind)) { in VisitInitListExpr()
1241 CGF.getDestroyer(dtorKind), false); in VisitInitListExpr()
H A DCGClass.cpp653 QualType::DestructionKind dtorKind = FieldType.isDestructedType(); in EmitInitializerForField() local
654 if (needsEHCleanup(dtorKind)) in EmitInitializerForField()
655 pushEHDestroy(dtorKind, LHS.getAddress(), FieldType); in EmitInitializerForField()
1084 QualType::DestructionKind dtorKind = FieldType.isDestructedType(); in pushEHDestructors() local
1085 if (CGF.needsEHCleanup(dtorKind)) in pushEHDestructors()
1086 CGF.pushEHDestroy(dtorKind, LHS.getAddress(), FieldType); in pushEHDestructors()
1591 QualType::DestructionKind dtorKind = type.isDestructedType(); in EnterDtorCleanups() local
1592 if (!dtorKind) continue; in EnterDtorCleanups()
1598 CleanupKind cleanupKind = getCleanupKind(dtorKind); in EnterDtorCleanups()
1600 getDestroyer(dtorKind), in EnterDtorCleanups()
H A DCGBlocks.cpp609 QualType::DestructionKind dtorKind = in enterBlockScope() local
611 if (dtorKind == QualType::DK_none) continue; in enterBlockScope()
617 if (dtorKind == QualType::DK_objc_strong_lifetime) { in enterBlockScope()
620 destroyer = CGF.getDestroyer(dtorKind); in enterBlockScope()
632 bool useArrayEHCleanup = CGF.needsEHCleanup(dtorKind); in enterBlockScope()
H A DCGObjC.cpp1326 QualType::DestructionKind dtorKind = type.isDestructedType(); in emitCXXDestructMethod() local
1327 if (!dtorKind) continue; in emitCXXDestructMethod()
1333 if (dtorKind == QualType::DK_objc_strong_lifetime) { in emitCXXDestructMethod()
1338 destroyer = CGF.getDestroyer(dtorKind); in emitCXXDestructMethod()
1341 CleanupKind cleanupKind = CGF.getCleanupKind(dtorKind); in emitCXXDestructMethod()
H A DCGExprCXX.cpp1566 if (QualType::DestructionKind dtorKind = elementType.isDestructedType()) { in EmitArrayDelete() local
1576 CGF.getDestroyer(dtorKind), in EmitArrayDelete()
1578 CGF.needsEHCleanup(dtorKind)); in EmitArrayDelete()
H A DCodeGenFunction.h1118 void pushDestroy(QualType::DestructionKind dtorKind,
1120 void pushEHDestroy(QualType::DestructionKind dtorKind,
1901 QualType::DestructionKind dtorKind);