Searched refs:dtorKind (Results 1 – 9 of 9) sorted by relevance
/external/clang/lib/CodeGen/ |
D | CGDecl.cpp | 1201 QualType::DestructionKind dtorKind) { in emitAutoVarTypeCleanup() argument 1202 assert(dtorKind != QualType::DK_none); in emitAutoVarTypeCleanup() 1214 switch (dtorKind) { in emitAutoVarTypeCleanup() 1247 if (!destroyer) destroyer = getDestroyer(dtorKind); in emitAutoVarTypeCleanup() 1277 if (QualType::DestructionKind dtorKind = D.getType().isDestructedType()) in EmitAutoVarCleanups() local 1278 emitAutoVarTypeCleanup(emission, dtorKind); in EmitAutoVarCleanups() 1319 void CodeGenFunction::pushEHDestroy(QualType::DestructionKind dtorKind, in pushEHDestroy() argument 1321 assert(dtorKind && "cannot push destructor for trivial type"); in pushEHDestroy() 1322 assert(needsEHCleanup(dtorKind)); in pushEHDestroy() 1324 pushDestroy(EHCleanup, addr, type, getDestroyer(dtorKind), true); in pushEHDestroy() [all …]
|
D | CGDeclCXX.cpp | 71 QualType::DestructionKind dtorKind = type.isDestructedType(); in EmitDeclDestroy() local 73 switch (dtorKind) { in EmitDeclDestroy() 93 if (dtorKind == QualType::DK_cxx_destructor && in EmitDeclDestroy() 104 CGF.getDestroyer(dtorKind), in EmitDeclDestroy() 105 CGF.needsEHCleanup(dtorKind)); in EmitDeclDestroy()
|
D | CGExprAgg.cpp | 391 QualType::DestructionKind dtorKind = elementType.isDestructedType(); in EmitArrayInit() local 395 if (CGF.needsEHCleanup(dtorKind)) { in EmitArrayInit() 404 CGF.getDestroyer(dtorKind)); in EmitArrayInit() 409 dtorKind = QualType::DK_none; in EmitArrayInit() 502 if (dtorKind) CGF.DeactivateCleanupBlock(cleanup, cleanupDominator); in EmitArrayInit() 1203 if (QualType::DestructionKind dtorKind in VisitInitListExpr() local 1206 if (CGF.needsEHCleanup(dtorKind)) { in VisitInitListExpr() 1211 CGF.getDestroyer(dtorKind), false); in VisitInitListExpr()
|
D | CGClass.cpp | 642 QualType::DestructionKind dtorKind = FieldType.isDestructedType(); in EmitInitializerForField() local 643 if (needsEHCleanup(dtorKind)) in EmitInitializerForField() 644 pushEHDestroy(dtorKind, LHS.getAddress(), FieldType); in EmitInitializerForField() 962 QualType::DestructionKind dtorKind = FieldType.isDestructedType(); in pushEHDestructors() local 963 if (CGF.needsEHCleanup(dtorKind)) in pushEHDestructors() 964 CGF.pushEHDestroy(dtorKind, LHS.getAddress(), FieldType); in pushEHDestructors() 1484 QualType::DestructionKind dtorKind = type.isDestructedType(); in EnterDtorCleanups() local 1485 if (!dtorKind) continue; in EnterDtorCleanups() 1491 CleanupKind cleanupKind = getCleanupKind(dtorKind); in EnterDtorCleanups() 1493 getDestroyer(dtorKind), in EnterDtorCleanups()
|
D | CGExprCXX.cpp | 856 QualType::DestructionKind dtorKind = elementType.isDestructedType(); in EmitNewArrayInitializer() local 864 if (needsEHCleanup(dtorKind)) { in EmitNewArrayInitializer() 872 getDestroyer(dtorKind)); in EmitNewArrayInitializer() 925 if (!cleanupDominator && needsEHCleanup(dtorKind)) { in EmitNewArrayInitializer() 927 getDestroyer(dtorKind)); in EmitNewArrayInitializer() 1563 if (QualType::DestructionKind dtorKind = elementType.isDestructedType()) { in EmitArrayDelete() local 1573 CGF.getDestroyer(dtorKind), in EmitArrayDelete() 1575 CGF.needsEHCleanup(dtorKind)); in EmitArrayDelete()
|
D | CGBlocks.cpp | 596 QualType::DestructionKind dtorKind = in enterBlockScope() local 598 if (dtorKind == QualType::DK_none) continue; in enterBlockScope() 604 if (dtorKind == QualType::DK_objc_strong_lifetime) { in enterBlockScope() 607 destroyer = CGF.getDestroyer(dtorKind); in enterBlockScope() 619 bool useArrayEHCleanup = CGF.needsEHCleanup(dtorKind); in enterBlockScope()
|
D | CGObjC.cpp | 1325 QualType::DestructionKind dtorKind = type.isDestructedType(); in emitCXXDestructMethod() local 1326 if (!dtorKind) continue; in emitCXXDestructMethod() 1332 if (dtorKind == QualType::DK_objc_strong_lifetime) { in emitCXXDestructMethod() 1337 destroyer = CGF.getDestroyer(dtorKind); in emitCXXDestructMethod() 1340 CleanupKind cleanupKind = CGF.getCleanupKind(dtorKind); in emitCXXDestructMethod()
|
D | CodeGenFunction.h | 1021 void pushDestroy(QualType::DestructionKind dtorKind, 1023 void pushEHDestroy(QualType::DestructionKind dtorKind, 1762 QualType::DestructionKind dtorKind);
|
D | CGCall.cpp | 228 CXXDtorType dtorKind) { in arrangeCXXDestructor() argument 232 GlobalDecl GD(D, dtorKind); in arrangeCXXDestructor() 236 TheCXXABI.BuildDestructorSignature(D, dtorKind, resultType, argTypes); in arrangeCXXDestructor()
|