Home
last modified time | relevance | path

Searched refs:pushCleanup (Results 1 – 25 of 33) sorted by relevance

12

/external/clang/lib/CodeGen/
DEHScopeStack.h264 void *pushCleanup(CleanupKind K, size_t DataSize);
273 template <class T, class... As> void pushCleanup(CleanupKind Kind, As... A) {
276 void *Buffer = pushCleanup(Kind, sizeof(T));
286 void *Buffer = pushCleanup(Kind, sizeof(T));
308 void *Buffer = pushCleanup(Kind, sizeof(T) + T::getExtraSize(N));
313 void *Buffer = pushCleanup(Kind, Size);
DCGDecl.cpp1350 EHStack.pushCleanup<DestroyNRVOVariable>(cleanupKind, addr, in emitAutoVarTypeCleanup()
1378 EHStack.pushCleanup<DestroyObject>(cleanupKind, addr, type, destroyer, in emitAutoVarTypeCleanup()
1397 EHStack.pushCleanup<CallLifetimeEnd>(NormalEHLifetimeMarker, in EmitAutoVarCleanups()
1408 EHStack.pushCleanup<ExtendGCLifetime>(NormalCleanup, &D); in EmitAutoVarCleanups()
1419 EHStack.pushCleanup<CallCleanupFunction>(NormalAndEHCleanup, F, &Info, &D); in EmitAutoVarCleanups()
1471 EHStack.pushCleanup<CallStackRestore>(Kind, SPMem); in pushStackRestore()
1484 EHStack.pushCleanup<DestroyObject>( in pushLifetimeExtendedDestroy()
1841 EHStack.pushCleanup<ConsumeARCParameter>(getARCCleanupKind(), ArgVal, in EmitParmDecl()
DCGObjCRuntime.cpp247 CGF.EHStack.pushCleanup<CallObjCEndCatch>(NormalAndEHCleanup, in EmitTryCatchStmt()
341 CGF.EHStack.pushCleanup<CallSyncExit>(NormalAndEHCleanup, syncExitFn, lock); in EmitAtSynchronizedStmt()
DCGClass.cpp561 CGF.EHStack.pushCleanup<CallBaseDtor>(EHCleanup, BaseClassDecl, in EmitBaseInitializer()
1820 EHStack.pushCleanup<CallDtorDeleteConditional>( in EnterDtorCleanups()
1823 EHStack.pushCleanup<CallDtorDelete>(NormalAndEHCleanup); in EnterDtorCleanups()
1841 EHStack.pushCleanup<SanitizeDtorVTable>(NormalAndEHCleanup, DD); in EnterDtorCleanups()
1853 EHStack.pushCleanup<CallBaseDtor>(NormalAndEHCleanup, in EnterDtorCleanups()
1867 EHStack.pushCleanup<SanitizeDtorVTable>(NormalAndEHCleanup, DD); in EnterDtorCleanups()
1881 EHStack.pushCleanup<CallBaseDtor>(NormalAndEHCleanup, in EnterDtorCleanups()
1890 EHStack.pushCleanup<SanitizeDtorMembers>(NormalAndEHCleanup, DD); in EnterDtorCleanups()
1903 EHStack.pushCleanup<DestroyField>(cleanupKind, Field, in EnterDtorCleanups()
2385 EHStack.pushCleanup<CallDelegatingCtorDtor>(EHCleanup, in EmitDelegatingCXXConstructorCall()
[all …]
DCGObjC.cpp549 EHStack.pushCleanup<FinishARCDealloc>(getARCCleanupKind()); in StartObjCMethod()
1395 CGF.EHStack.pushCleanup<DestroyIvar>(cleanupKind, self, ivar, destroyer, in emitCXXDestructMethod()
2398 EHStack.pushCleanup<CallObjCAutoreleasePoolObject>(NormalCleanup, Ptr); in EmitObjCAutoreleasePoolCleanup()
2400 EHStack.pushCleanup<CallObjCMRRAutoreleasePoolObject>(NormalCleanup, Ptr); in EmitObjCAutoreleasePoolCleanup()
3131 EHStack.pushCleanup<CallObjCAutoreleasePoolObject>(NormalCleanup, token); in EmitObjCAutoreleasePoolStmt()
3134 EHStack.pushCleanup<CallObjCMRRAutoreleasePoolObject>(NormalCleanup, token); in EmitObjCAutoreleasePoolStmt()
DCGException.cpp1132 CGF.EHStack.pushCleanup<CallEndCatchForFinally>(NormalAndEHCleanup, in Emit()
1235 CGF.EHStack.pushCleanup<PerformFinally>(NormalCleanup, body, in enter()
1787 EHStack.pushCleanup<PerformSEHFinally>(NormalAndEHCleanup, FinallyFunc); in EnterSEHTryStmt()
DCGExprCXX.cpp1540 EHStack.pushCleanup<CallObjectDelete>(NormalAndEHCleanup, CompletePtr, in pushCallObjectDeleteCleanup()
1569 CGF.EHStack.pushCleanup<CallObjectDelete>(NormalAndEHCleanup, in EmitObjectDelete()
1674 CGF.EHStack.pushCleanup<CallArrayDelete>(NormalAndEHCleanup, in EmitArrayDelete()
DCGCleanup.cpp186 void *EHScopeStack::pushCleanup(CleanupKind Kind, size_t Size) { in pushCleanup() function in EHScopeStack
DMicrosoftCXXABI.cpp904 CGF.EHStack.pushCleanup<CatchRetScope>(NormalCleanup, CPI); in emitBeginCatch()
910 CGF.EHStack.pushCleanup<CatchRetScope>(NormalCleanup, CPI); in emitBeginCatch()
2438 CGF.EHStack.pushCleanup<ResetGuardBit>(EHCleanup, GuardAddr, GuardNum); in EmitGuardedInit()
2483 CGF.EHStack.pushCleanup<CallInitThreadAbort>(EHCleanup, GuardAddr); in EmitGuardedInit()
DItaniumCXXABI.cpp2069 CGF.EHStack.pushCleanup<CallGuardAbort>(EHCleanup, guard); in EmitGuardedInit()
3593 CGF.EHStack.pushCleanup<CallEndCatch>(NormalAndEHCleanup, EndMightThrow); in CallBeginCatch()
DCGBlocks.cpp2283 EHStack.pushCleanup<CallBlockRelease>(NormalAndEHCleanup, in enterByrefCleanup()
DCodeGenFunction.h410 return EHStack.pushCleanup<T>(kind, A...); in pushFullExprCleanup()
DCGOpenMPRuntime.cpp689 CGF.EHStack.pushCleanup<CleanupTy>(NormalAndEHCleanup, PrePostAction); in operator ()()
6568 CGF.EHStack.pushCleanup<DoacrossCleanupTy>(NormalAndEHCleanup, FiniRTLFn, in emitDoacrossInit()
/external/llvm-project/clang/lib/CodeGen/
DEHScopeStack.h261 void *pushCleanup(CleanupKind K, size_t DataSize);
270 template <class T, class... As> void pushCleanup(CleanupKind Kind, As... A) {
273 void *Buffer = pushCleanup(Kind, sizeof(T));
283 void *Buffer = pushCleanup(Kind, sizeof(T));
305 void *Buffer = pushCleanup(Kind, sizeof(T) + T::getExtraSize(N));
310 void *Buffer = pushCleanup(Kind, Size);
DCGObjCRuntime.cpp251 CGF.EHStack.pushCleanup<CallObjCEndCatch>(NormalAndEHCleanup, in EmitTryCatchStmt()
265 CGF.EHStack.pushCleanup<CatchRetScope>(NormalCleanup, CPI); in EmitTryCatchStmt()
347 CGF.EHStack.pushCleanup<CallSyncExit>(NormalAndEHCleanup, syncExitFn, lock); in EmitAtSynchronizedStmt()
DCGDecl.cpp1614 EHStack.pushCleanup<CallLifetimeEnd>(NormalEHLifetimeMarker, in EmitAutoVarAlloca()
1983 EHStack.pushCleanup<DestroyNRVOVariableCXX>(cleanupKind, addr, type, dtor, in emitAutoVarTypeCleanup()
2008 EHStack.pushCleanup<DestroyNRVOVariableC>(cleanupKind, addr, in emitAutoVarTypeCleanup()
2021 EHStack.pushCleanup<DestroyObject>(cleanupKind, addr, type, destroyer, in emitAutoVarTypeCleanup()
2044 EHStack.pushCleanup<ExtendGCLifetime>(NormalCleanup, &D); in EmitAutoVarCleanups()
2055 EHStack.pushCleanup<CallCleanupFunction>(NormalAndEHCleanup, F, &Info, &D); in EmitAutoVarCleanups()
2117 EHStack.pushCleanup<CallStackRestore>(Kind, SPMem); in pushStackRestore()
2131 EHStack.pushCleanup<DestroyObject>( in pushLifetimeExtendedDestroy()
2152 EHStack.pushCleanup<ConditionalCleanupType>( in pushLifetimeExtendedDestroy()
2546 EHStack.pushCleanup<ConsumeARCParameter>(getARCCleanupKind(), ArgVal, in EmitParmDecl()
DCGClass.cpp595 CGF.EHStack.pushCleanup<CallBaseDtor>(EHCleanup, BaseClassDecl, in EmitBaseInitializer()
1811 EHStack.pushCleanup<CallDtorDeleteConditional>( in EnterDtorCleanups()
1821 EHStack.pushCleanup<CallDtorDelete>(NormalAndEHCleanup); in EnterDtorCleanups()
1840 EHStack.pushCleanup<SanitizeDtorVTable>(NormalAndEHCleanup, DD); in EnterDtorCleanups()
1852 EHStack.pushCleanup<CallBaseDtor>(NormalAndEHCleanup, in EnterDtorCleanups()
1866 EHStack.pushCleanup<SanitizeDtorVTable>(NormalAndEHCleanup, DD); in EnterDtorCleanups()
1880 EHStack.pushCleanup<CallBaseDtor>(NormalAndEHCleanup, in EnterDtorCleanups()
1889 EHStack.pushCleanup<SanitizeDtorMembers>(NormalAndEHCleanup, DD); in EnterDtorCleanups()
1902 EHStack.pushCleanup<DestroyField>(cleanupKind, Field, in EnterDtorCleanups()
2433 EHStack.pushCleanup<CallDelegatingCtorDtor>(EHCleanup, in EmitDelegatingCXXConstructorCall()
[all …]
DCGCoroutine.cpp605 EHStack.pushCleanup<CallCoroDelete>(NormalAndEHCleanup, S.getDeallocate()); in EmitCoroutineBody()
630 EHStack.pushCleanup<CallCoroEnd>(EHCleanup); in EmitCoroutineBody()
DCGException.cpp1321 CGF.EHStack.pushCleanup<CallEndCatchForFinally>(NormalAndEHCleanup, in Emit()
1421 CGF.EHStack.pushCleanup<PerformFinally>(NormalCleanup, body, in enter()
2057 EHStack.pushCleanup<PerformSEHFinally>(Kind, FinallyFunc); in pushSEHCleanup()
2069 EHStack.pushCleanup<PerformSEHFinally>(NormalAndEHCleanup, FinallyFunc); in EnterSEHTryStmt()
DCGObjC.cpp794 EHStack.pushCleanup<FinishARCDealloc>(getARCCleanupKind()); in StartObjCMethod()
1647 CGF.EHStack.pushCleanup<DestroyIvar>(cleanupKind, self, ivar, destroyer, in emitCXXDestructMethod()
2811 EHStack.pushCleanup<CallObjCAutoreleasePoolObject>(NormalCleanup, Ptr); in EmitObjCAutoreleasePoolCleanup()
2813 EHStack.pushCleanup<CallObjCMRRAutoreleasePoolObject>(NormalCleanup, Ptr); in EmitObjCAutoreleasePoolCleanup()
3577 EHStack.pushCleanup<CallObjCAutoreleasePoolObject>(NormalCleanup, token); in EmitObjCAutoreleasePoolStmt()
3580 EHStack.pushCleanup<CallObjCMRRAutoreleasePoolObject>(NormalCleanup, token); in EmitObjCAutoreleasePoolStmt()
DCGExprCXX.cpp1865 EHStack.pushCleanup<CallObjectDelete>(NormalAndEHCleanup, CompletePtr, in pushCallObjectDeleteCleanup()
1947 CGF.EHStack.pushCleanup<CallObjectDelete>(NormalAndEHCleanup, in EmitObjectDelete()
2023 CGF.EHStack.pushCleanup<CallArrayDelete>(NormalAndEHCleanup, in EmitArrayDelete()
DCGCleanup.cpp178 void *EHScopeStack::pushCleanup(CleanupKind Kind, size_t Size) { in pushCleanup() function in EHScopeStack
DMicrosoftCXXABI.cpp896 CGF.EHStack.pushCleanup<CatchRetScope>(NormalCleanup, CPI); in emitBeginCatch()
902 CGF.EHStack.pushCleanup<CatchRetScope>(NormalCleanup, CPI); in emitBeginCatch()
2585 CGF.EHStack.pushCleanup<ResetGuardBit>(EHCleanup, GuardAddr, GuardNum); in EmitGuardedInit()
2631 CGF.EHStack.pushCleanup<CallInitThreadAbort>(EHCleanup, GuardAddr); in EmitGuardedInit()
DItaniumCXXABI.cpp2459 CGF.EHStack.pushCleanup<CallGuardAbort>(EHCleanup, guard); in EmitGuardedInit()
4322 CGF.EHStack.pushCleanup<CallEndCatch>(NormalAndEHCleanup, EndMightThrow); in CallBeginCatch()
4619 CGF.EHStack.pushCleanup<CatchRetScope>( in emitBeginCatch()
DCGBlocks.cpp2868 EHStack.pushCleanup<CallBlockRelease>(Kind, Addr, Flags, LoadBlockVarAddr, in enterByrefCleanup()

12