Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGDecl.cpp1315 QualType::DestructionKind dtorKind) { in emitAutoVarTypeCleanup() argument
1316 assert(dtorKind != QualType::DK_none); in emitAutoVarTypeCleanup()
1328 switch (dtorKind) { in emitAutoVarTypeCleanup()
1361 if (!destroyer) destroyer = getDestroyer(dtorKind); in emitAutoVarTypeCleanup()
1393 if (QualType::DestructionKind dtorKind = D.getType().isDestructedType()) in EmitAutoVarCleanups() local
1394 emitAutoVarTypeCleanup(emission, dtorKind); in EmitAutoVarCleanups()
1435 void CodeGenFunction::pushEHDestroy(QualType::DestructionKind dtorKind, in pushEHDestroy() argument
1437 assert(dtorKind && "cannot push destructor for trivial type"); in pushEHDestroy()
1438 assert(needsEHCleanup(dtorKind)); in pushEHDestroy()
1440 pushDestroy(EHCleanup, addr, type, getDestroyer(dtorKind), true); in pushEHDestroy()
[all …]
DCGDeclCXX.cpp70 QualType::DestructionKind dtorKind = type.isDestructedType(); in EmitDeclDestroy() local
72 switch (dtorKind) { in EmitDeclDestroy()
92 if (dtorKind == QualType::DK_cxx_destructor && in EmitDeclDestroy()
104 .generateDestroyHelper(addr, type, CGF.getDestroyer(dtorKind), in EmitDeclDestroy()
105 CGF.needsEHCleanup(dtorKind), &D); in EmitDeclDestroy()
DCGExprAgg.cpp422 QualType::DestructionKind dtorKind = elementType.isDestructedType(); in EmitArrayInit() local
426 if (CGF.needsEHCleanup(dtorKind)) { in EmitArrayInit()
436 CGF.getDestroyer(dtorKind)); in EmitArrayInit()
441 dtorKind = QualType::DK_none; in EmitArrayInit()
530 if (dtorKind) CGF.DeactivateCleanupBlock(cleanup, cleanupDominator); in EmitArrayInit()
1250 if (QualType::DestructionKind dtorKind in VisitInitListExpr() local
1253 if (CGF.needsEHCleanup(dtorKind)) { in VisitInitListExpr()
1261 CGF.getDestroyer(dtorKind), false); in VisitInitListExpr()
DCGClass.cpp739 QualType::DestructionKind dtorKind = FieldType.isDestructedType(); in EmitMemberInitializer() local
740 if (CGF.needsEHCleanup(dtorKind)) in EmitMemberInitializer()
741 CGF.pushEHDestroy(dtorKind, LHS.getAddress(), FieldType); in EmitMemberInitializer()
797 QualType::DestructionKind dtorKind = FieldType.isDestructedType(); in EmitInitializerForField() local
798 if (needsEHCleanup(dtorKind)) in EmitInitializerForField()
799 pushEHDestroy(dtorKind, LHS.getAddress(), FieldType); in EmitInitializerForField()
1213 QualType::DestructionKind dtorKind = FieldType.isDestructedType(); in pushEHDestructors() local
1214 if (!CGF.needsEHCleanup(dtorKind)) in pushEHDestructors()
1218 CGF.pushEHDestroy(dtorKind, FieldLHS.getAddress(), FieldType); in pushEHDestructors()
1897 QualType::DestructionKind dtorKind = type.isDestructedType(); in EnterDtorCleanups() local
[all …]
DCGBlocks.cpp593 QualType::DestructionKind dtorKind = in enterBlockScope() local
595 if (dtorKind == QualType::DK_none) continue; in enterBlockScope()
601 if (dtorKind == QualType::DK_objc_strong_lifetime) { in enterBlockScope()
604 destroyer = CGF.getDestroyer(dtorKind); in enterBlockScope()
617 bool useArrayEHCleanup = CGF.needsEHCleanup(dtorKind); in enterBlockScope()
DCGObjC.cpp1384 QualType::DestructionKind dtorKind = type.isDestructedType(); in emitCXXDestructMethod() local
1385 if (!dtorKind) continue; in emitCXXDestructMethod()
1391 if (dtorKind == QualType::DK_objc_strong_lifetime) { in emitCXXDestructMethod()
1396 destroyer = CGF.getDestroyer(dtorKind); in emitCXXDestructMethod()
1399 CleanupKind cleanupKind = CGF.getCleanupKind(dtorKind); in emitCXXDestructMethod()
DCGExprCXX.cpp1672 if (QualType::DestructionKind dtorKind = elementType.isDestructedType()) { in EmitArrayDelete() local
1687 CGF.getDestroyer(dtorKind), in EmitArrayDelete()
1689 CGF.needsEHCleanup(dtorKind)); in EmitArrayDelete()
DCodeGenFunction.h1177 void pushDestroy(QualType::DestructionKind dtorKind,
1179 void pushEHDestroy(QualType::DestructionKind dtorKind,
2056 QualType::DestructionKind dtorKind);