Home
last modified time | relevance | path

Searched refs:EHStack (Results 1 – 17 of 17) sorted by relevance

/external/clang/lib/CodeGen/
DCGCleanup.cpp298 EHCleanupScope &cleanup = cast<EHCleanupScope>(*EHStack.begin()); in initFullExprCleanup()
329 for (unsigned I = 0, E = CGF.EHStack.getNumBranchFixups(); I != E; ++I) { in ResolveAllBranchFixups()
331 BranchFixup &Fixup = CGF.EHStack.getBranchFixup(I); in ResolveAllBranchFixups()
357 CGF.EHStack.clearFixups(); in ResolveAllBranchFixups()
384 if (!EHStack.getNumBranchFixups()) return; in ResolveBranchFixups()
386 assert(EHStack.hasNormalCleanups() && in ResolveBranchFixups()
392 for (unsigned I = 0, E = EHStack.getNumBranchFixups(); I != E; ++I) { in ResolveBranchFixups()
394 BranchFixup &Fixup = EHStack.getBranchFixup(I); in ResolveBranchFixups()
417 EHStack.popNullFixups(); in ResolveBranchFixups()
424 while (EHStack.stable_begin() != Old) { in PopCleanupBlocks()
[all …]
DCGException.cpp361 EHScopeStack::stable_iterator cleanup = EHStack.stable_begin(); in EmitAnyExprToExn()
433 EHStack.pushTerminate(); in EmitStartEHSpec()
445 EHStack.pushTerminate(); in EmitStartEHSpec()
453 EHFilterScope *Filter = EHStack.pushFilter(NumExceptions); in EmitStartEHSpec()
512 EHStack.popTerminate(); in EmitEndEHSpec()
523 EHStack.popTerminate(); in EmitEndEHSpec()
530 EHFilterScope &filterScope = cast<EHFilterScope>(*EHStack.begin()); in EmitEndEHSpec()
532 EHStack.popFilter(); in EmitEndEHSpec()
544 EHCatchScope *CatchScope = EHStack.pushCatch(NumHandlers); in EnterCXXTryStmt()
582 if (si == EHStack.stable_end()) in getEHDispatchBlock()
[all …]
DCGObjCRuntime.cpp212 EHCatchScope *Catch = CGF.EHStack.pushCatch(Handlers.size()); in EmitTryCatchStmt()
247 CGF.EHStack.pushCleanup<CallObjCEndCatch>(NormalAndEHCleanup, in EmitTryCatchStmt()
341 CGF.EHStack.pushCleanup<CallSyncExit>(NormalAndEHCleanup, syncExitFn, lock); in EmitAtSynchronizedStmt()
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()
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 …]
DCGExprCXX.cpp880 Cleanup = EHStack.stable_begin(); in EmitNewArrayInitializer()
1071 Cleanup = EHStack.stable_begin(); in EmitNewArrayInitializer()
1285 CallDeleteDuringNew *Cleanup = CGF.EHStack in EnterNewDeleteCleanup()
1303 CallDeleteDuringConditionalNew *Cleanup = CGF.EHStack in EnterNewDeleteCleanup()
1427 operatorDeleteCleanup = EHStack.stable_begin(); in EmitCXXNewExpr()
1540 EHStack.pushCleanup<CallObjectDelete>(NormalAndEHCleanup, CompletePtr, in pushCallObjectDeleteCleanup()
1569 CGF.EHStack.pushCleanup<CallObjectDelete>(NormalAndEHCleanup, in EmitObjectDelete()
1674 CGF.EHStack.pushCleanup<CallArrayDelete>(NormalAndEHCleanup, in EmitArrayDelete()
DCodeGenFunction.h299 EHScopeStack EHStack; variable
410 return EHStack.pushCleanup<T>(kind, A...); in pushFullExprCleanup()
417 EHStack.pushCleanupTuple<CleanupType>(kind, Saved); in pushFullExprCleanup()
501 CleanupStackDepth = CGF.EHStack.stable_begin(); in RunCleanupsScope()
520 return CGF.EHStack.stable_begin() != CleanupStackDepth; in requiresCleanups()
702 EHStack.getInnermostNormalCleanup(), in getJumpDestInCurrentScope()
1232 if (!EHStack.requiresLandingPad()) return nullptr; in getInvokeDest()
DCGExprAgg.cpp438 cleanup = CGF.EHStack.stable_begin(); in EmitArrayInit()
1210 cleanups.push_back(CGF.EHStack.stable_begin()); in VisitInitListExpr()
1295 cleanups.push_back(CGF.EHStack.stable_begin()); in VisitInitListExpr()
DCGStmt.cpp381 if (!EHStack.empty()) in SimplifyForwardingBlocks()
467 if (EHStack.hasNormalCleanups() && CurLexicalScope) in EmitLabel()
481 Dest.setScopeDepth(EHStack.stable_begin()); in EmitLabel()
494 = CGF.EHStack.getInnermostNormalCleanup(); in rescopeLabels()
DCodeGenFunction.cpp304 bool HasCleanups = EHStack.stable_begin() != PrologueCleanupDepth; in FinishFunction()
306 HasCleanups && EHStack.containsOnlyLifetimeMarkers(PrologueCleanupDepth); in FinishFunction()
334 assert(EHStack.empty() && in FinishFunction()
838 PrologueCleanupDepth = EHStack.stable_begin(); in StartFunction()
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()
DCGBlocks.cpp630 capture.setCleanup(CGF.EHStack.stable_begin()); in enterBlockScope()
1769 EHScopeStack::stable_iterator cleanupDepth = CGF.EHStack.stable_begin(); in emitDispose()
2283 EHStack.pushCleanup<CallBlockRelease>(NormalAndEHCleanup, in enterByrefCleanup()
DItaniumCXXABI.cpp2069 CGF.EHStack.pushCleanup<CallGuardAbort>(EHCleanup, guard); in EmitGuardedInit()
3593 CGF.EHStack.pushCleanup<CallEndCatch>(NormalAndEHCleanup, EndMightThrow); in CallBeginCatch()
3757 CGF.EHStack.pushTerminate(); in InitCatchParam()
3767 CGF.EHStack.popTerminate(); in InitCatchParam()
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()
DCGOpenMPRuntime.cpp689 CGF.EHStack.pushCleanup<CleanupTy>(NormalAndEHCleanup, PrePostAction); in operator ()()
711 CGF.EHStack.pushTerminate(); in EmitBody()
713 CGF.EHStack.popTerminate(); in EmitBody()
6568 CGF.EHStack.pushCleanup<DoacrossCleanupTy>(NormalAndEHCleanup, FiniRTLFn, in emitDoacrossInit()
DCGCall.cpp2292 EHStack.pushCleanup<CopyBackSwiftError>(NormalCleanup, temp, arg); in EmitFunctionProlog()
3316 args.addArgCleanupDeactivation(EHStack.getInnermostEHScope(), IsActive); in EmitCallArg()
DCGObjCMac.cpp4086 CGF.EHStack.pushCleanup<PerformFragileFinally>(NormalAndEHCleanup, &S, in EmitTryOrSynchronizedStmt()