Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGDecl.cpp1327 QualType::DestructionKind dtorKind) { in emitAutoVarTypeCleanup() argument
1328 assert(dtorKind != QualType::DK_none); in emitAutoVarTypeCleanup()
1340 switch (dtorKind) { in emitAutoVarTypeCleanup()
1373 if (!destroyer) destroyer = getDestroyer(dtorKind); in emitAutoVarTypeCleanup()
1402 if (QualType::DestructionKind dtorKind = D.getType().isDestructedType()) in EmitAutoVarCleanups() local
1403 emitAutoVarTypeCleanup(emission, dtorKind); in EmitAutoVarCleanups()
1444 void CodeGenFunction::pushEHDestroy(QualType::DestructionKind dtorKind, in pushEHDestroy() argument
1446 assert(dtorKind && "cannot push destructor for trivial type"); in pushEHDestroy()
1447 assert(needsEHCleanup(dtorKind)); in pushEHDestroy()
1449 pushDestroy(EHCleanup, addr, type, getDestroyer(dtorKind), true); in pushEHDestroy()
[all …]
DCGExprAgg.cpp423 QualType::DestructionKind dtorKind = elementType.isDestructedType(); in EmitArrayInit() local
427 if (CGF.needsEHCleanup(dtorKind)) { in EmitArrayInit()
437 CGF.getDestroyer(dtorKind)); in EmitArrayInit()
442 dtorKind = QualType::DK_none; in EmitArrayInit()
531 if (dtorKind) CGF.DeactivateCleanupBlock(cleanup, cleanupDominator); in EmitArrayInit()
1207 if (QualType::DestructionKind dtorKind = in VisitInitListExpr() local
1209 CGF.pushDestroy(dtorKind, V, Base.getType()); in VisitInitListExpr()
1283 if (QualType::DestructionKind dtorKind in VisitInitListExpr() local
1286 if (CGF.needsEHCleanup(dtorKind)) { in VisitInitListExpr()
1294 CGF.getDestroyer(dtorKind), false); in VisitInitListExpr()
DCGDeclCXX.cpp70 QualType::DestructionKind dtorKind = type.isDestructedType(); in EmitDeclDestroy() local
72 switch (dtorKind) { in EmitDeclDestroy()
112 .generateDestroyHelper(addr, type, CGF.getDestroyer(dtorKind), in EmitDeclDestroy()
113 CGF.needsEHCleanup(dtorKind), &D); in EmitDeclDestroy()
DCGClass.cpp740 QualType::DestructionKind dtorKind = FieldType.isDestructedType(); in EmitMemberInitializer() local
741 if (CGF.needsEHCleanup(dtorKind)) in EmitMemberInitializer()
742 CGF.pushEHDestroy(dtorKind, LHS.getAddress(), FieldType); in EmitMemberInitializer()
798 QualType::DestructionKind dtorKind = FieldType.isDestructedType(); in EmitInitializerForField() local
799 if (needsEHCleanup(dtorKind)) in EmitInitializerForField()
800 pushEHDestroy(dtorKind, LHS.getAddress(), FieldType); in EmitInitializerForField()
1211 QualType::DestructionKind dtorKind = FieldType.isDestructedType(); in pushEHDestructors() local
1212 if (!CGF.needsEHCleanup(dtorKind)) in pushEHDestructors()
1216 CGF.pushEHDestroy(dtorKind, FieldLHS.getAddress(), FieldType); in pushEHDestructors()
1895 QualType::DestructionKind dtorKind = type.isDestructedType(); in EnterDtorCleanups() local
[all …]
DCGBlocks.cpp598 QualType::DestructionKind dtorKind = in enterBlockScope() local
600 if (dtorKind == QualType::DK_none) continue; in enterBlockScope()
606 if (dtorKind == QualType::DK_objc_strong_lifetime) { in enterBlockScope()
609 destroyer = CGF.getDestroyer(dtorKind); in enterBlockScope()
622 bool useArrayEHCleanup = CGF.needsEHCleanup(dtorKind); in enterBlockScope()
DCGObjC.cpp1378 QualType::DestructionKind dtorKind = type.isDestructedType(); in emitCXXDestructMethod() local
1379 if (!dtorKind) continue; in emitCXXDestructMethod()
1385 if (dtorKind == QualType::DK_objc_strong_lifetime) { in emitCXXDestructMethod()
1390 destroyer = CGF.getDestroyer(dtorKind); in emitCXXDestructMethod()
1393 CleanupKind cleanupKind = CGF.getCleanupKind(dtorKind); in emitCXXDestructMethod()
DCGExprCXX.cpp1680 if (QualType::DestructionKind dtorKind = elementType.isDestructedType()) { in EmitArrayDelete() local
1695 CGF.getDestroyer(dtorKind), in EmitArrayDelete()
1697 CGF.needsEHCleanup(dtorKind)); in EmitArrayDelete()
DCodeGenFunction.h1258 void pushDestroy(QualType::DestructionKind dtorKind,
1260 void pushEHDestroy(QualType::DestructionKind dtorKind,
2185 QualType::DestructionKind dtorKind);