Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGCleanup.cpp267 EHCleanupScope &cleanup = cast<EHCleanupScope>(*EHStack.begin()); in initFullExprCleanup()
285 for (unsigned I = 0, E = CGF.EHStack.getNumBranchFixups(); I != E; ++I) { in ResolveAllBranchFixups()
287 BranchFixup &Fixup = CGF.EHStack.getBranchFixup(I); in ResolveAllBranchFixups()
313 CGF.EHStack.clearFixups(); in ResolveAllBranchFixups()
340 if (!EHStack.getNumBranchFixups()) return; in ResolveBranchFixups()
342 assert(EHStack.hasNormalCleanups() && in ResolveBranchFixups()
348 for (unsigned I = 0, E = EHStack.getNumBranchFixups(); I != E; ++I) { in ResolveBranchFixups()
350 BranchFixup &Fixup = EHStack.getBranchFixup(I); in ResolveBranchFixups()
373 EHStack.popNullFixups(); in ResolveBranchFixups()
380 while (EHStack.stable_begin() != Old) { in PopCleanupBlocks()
[all …]
DCGException.cpp371 EHScopeStack::stable_iterator cleanup = EHStack.stable_begin(); in EmitAnyExprToExn()
442 EHStack.pushTerminate(); in EmitStartEHSpec()
454 EHStack.pushTerminate(); in EmitStartEHSpec()
462 EHFilterScope *Filter = EHStack.pushFilter(NumExceptions); in EmitStartEHSpec()
521 EHStack.popTerminate(); in EmitEndEHSpec()
532 EHStack.popTerminate(); in EmitEndEHSpec()
539 EHFilterScope &filterScope = cast<EHFilterScope>(*EHStack.begin()); in EmitEndEHSpec()
541 EHStack.popFilter(); in EmitEndEHSpec()
553 EHCatchScope *CatchScope = EHStack.pushCatch(NumHandlers); in EnterCXXTryStmt()
588 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()
334 CGF.EHStack.pushCleanup<CallSyncExit>(NormalAndEHCleanup, syncExitFn, lock); in EmitAtSynchronizedStmt()
DCGDecl.cpp1264 EHStack.pushCleanup<DestroyNRVOVariable>(cleanupKind, addr, dtor, in emitAutoVarTypeCleanup()
1292 EHStack.pushCleanup<DestroyObject>(cleanupKind, addr, type, destroyer, in emitAutoVarTypeCleanup()
1311 EHStack.pushCleanup<CallLifetimeEnd>(NormalCleanup, in EmitAutoVarCleanups()
1323 EHStack.pushCleanup<ExtendGCLifetime>(NormalCleanup, &D); in EmitAutoVarCleanups()
1334 EHStack.pushCleanup<CallCleanupFunction>(NormalAndEHCleanup, F, &Info, &D); in EmitAutoVarCleanups()
1386 EHStack.pushCleanup<CallStackRestore>(Kind, SPMem); in pushStackRestore()
1399 EHStack.pushCleanup<DestroyObject>( in pushLifetimeExtendedDestroy()
1759 EHStack.pushCleanup<ConsumeARCParameter>(getARCCleanupKind(), Arg, in EmitParmDecl()
DCGExprCXX.cpp832 Cleanup = EHStack.stable_begin(); in EmitNewArrayInitializer()
994 Cleanup = EHStack.stable_begin(); in EmitNewArrayInitializer()
1208 CallDeleteDuringNew *Cleanup = CGF.EHStack in EnterNewDeleteCleanup()
1225 CallDeleteDuringConditionalNew *Cleanup = CGF.EHStack in EnterNewDeleteCleanup()
1321 operatorDeleteCleanup = EHStack.stable_begin(); in EmitCXXNewExpr()
1426 EHStack.pushCleanup<CallObjectDelete>(NormalAndEHCleanup, CompletePtr, in pushCallObjectDeleteCleanup()
1455 CGF.EHStack.pushCleanup<CallObjectDelete>(NormalAndEHCleanup, in EmitObjectDelete()
1564 CGF.EHStack.pushCleanup<CallArrayDelete>(NormalAndEHCleanup, in EmitArrayDelete()
DCGClass.cpp437 CGF.EHStack.pushCleanup<CallBaseDtor>(EHCleanup, BaseClassDecl, in EmitBaseInitializer()
1535 EHStack.pushCleanup<CallDtorDeleteConditional>( in EnterDtorCleanups()
1538 EHStack.pushCleanup<CallDtorDelete>(NormalAndEHCleanup); in EnterDtorCleanups()
1562 EHStack.pushCleanup<CallBaseDtor>(NormalAndEHCleanup, in EnterDtorCleanups()
1584 EHStack.pushCleanup<CallBaseDtor>(NormalAndEHCleanup, in EnterDtorCleanups()
1600 EHStack.pushCleanup<DestroyField>(cleanupKind, Field, in EnterDtorCleanups()
1905 EHStack.pushCleanup<CallDelegatingCtorDtor>(EHCleanup, in EmitDelegatingCXXConstructorCall()
1938 EHStack.pushCleanup<CallLocalDtor>(NormalAndEHCleanup, D, Addr); in PushDestructorCleanup()
DCodeGenFunction.h280 EHScopeStack EHStack; variable
369 return EHStack.pushCleanup<T>(kind, A...); in pushFullExprCleanup()
376 EHStack.pushCleanupTuple<CleanupType>(kind, Saved); in pushFullExprCleanup()
459 CleanupStackDepth = CGF.EHStack.stable_begin(); in RunCleanupsScope()
478 return CGF.EHStack.stable_begin() != CleanupStackDepth; in requiresCleanups()
623 EHStack.getInnermostNormalCleanup(), in getJumpDestInCurrentScope()
1064 if (!EHStack.requiresLandingPad()) return nullptr; in getInvokeDest()
DCGOpenMPRuntime.cpp244 CGF.EHStack.pushTerminate(); in EmitBody()
249 CGF.EHStack.popTerminate(); in EmitBody()
1055 CGF.EHStack.pushCleanup<CallEndCleanup>( in emitCriticalRegion()
1093 CGF.EHStack.pushCleanup<CallEndCleanup>( in emitMasterRegion()
1198 CGF.EHStack.pushCleanup<CallEndCleanup>( in emitSingleRegion()
1807 CGF.EHStack.pushCleanup<CallEndCleanup>( in emitReduction()
DCGStmt.cpp323 if (!EHStack.empty()) in SimplifyForwardingBlocks()
408 if (EHStack.hasNormalCleanups() && CurLexicalScope) in EmitLabel()
422 Dest.setScopeDepth(EHStack.stable_begin()); in EmitLabel()
436 = CGF.EHStack.getInnermostNormalCleanup(); in rescopeLabels()
DCGObjC.cpp487 EHStack.pushCleanup<FinishARCDealloc>(getARCCleanupKind()); in StartObjCMethod()
1339 CGF.EHStack.pushCleanup<DestroyIvar>(cleanupKind, self, ivar, destroyer, in emitCXXDestructMethod()
2347 EHStack.pushCleanup<CallObjCAutoreleasePoolObject>(NormalCleanup, Ptr); in EmitObjCAutoreleasePoolCleanup()
2349 EHStack.pushCleanup<CallObjCMRRAutoreleasePoolObject>(NormalCleanup, Ptr); in EmitObjCAutoreleasePoolCleanup()
2824 EHStack.pushCleanup<CallObjCAutoreleasePoolObject>(NormalCleanup, token); in EmitObjCAutoreleasePoolStmt()
2827 EHStack.pushCleanup<CallObjCMRRAutoreleasePoolObject>(NormalCleanup, token); in EmitObjCAutoreleasePoolStmt()
DCodeGenFunction.cpp247 if (EHStack.stable_begin() != PrologueCleanupDepth) { in FinishFunction()
275 assert(EHStack.empty() && in FinishFunction()
716 PrologueCleanupDepth = EHStack.stable_begin(); in StartFunction()
DCGExprAgg.cpp433 cleanup = CGF.EHStack.stable_begin(); in EmitArrayInit()
1249 cleanups.push_back(CGF.EHStack.stable_begin()); in VisitInitListExpr()
DCGBlocks.cpp640 capture.setCleanup(CGF.EHStack.stable_begin()); in enterBlockScope()
1749 EHScopeStack::stable_iterator cleanupDepth = CGF.EHStack.stable_begin(); in emitDispose()
2264 EHStack.pushCleanup<CallBlockRelease>(NormalAndEHCleanup, emission.Address); in enterByrefCleanup()
DItaniumCXXABI.cpp1883 CGF.EHStack.pushCleanup<CallGuardAbort>(EHCleanup, guard); in EmitGuardedInit()
3358 CGF.EHStack.pushCleanup<CallEndCatch>(NormalAndEHCleanup, EndMightThrow); in CallBeginCatch()
3518 CGF.EHStack.pushTerminate(); in InitCatchParam()
3529 CGF.EHStack.popTerminate(); in InitCatchParam()
DCGCall.cpp2681 StackCleanup = CGF.EHStack.getInnermostEHScope(); in allocateArgumentMemory()
2845 args.addArgCleanupDeactivation(EHStack.getInnermostEHScope(), IsActive); in EmitCallArg()
DMicrosoftCXXABI.cpp817 CGF.EHStack.pushCleanup<CallEndCatchMSVC>(NormalAndEHCleanup); in emitBeginCatch()
827 CGF.EHStack.pushCleanup<CallEndCatchMSVC>(NormalAndEHCleanup); in emitBeginCatch()
DCGObjCMac.cpp3801 CGF.EHStack.pushCleanup<PerformFragileFinally>(NormalAndEHCleanup, &S, in EmitTryOrSynchronizedStmt()