Home
last modified time | relevance | path

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

/external/clang/lib/CodeGen/
DCGCleanup.cpp265 EHCleanupScope &cleanup = cast<EHCleanupScope>(*EHStack.begin()); in initFullExprCleanup()
283 for (unsigned I = 0, E = CGF.EHStack.getNumBranchFixups(); I != E; ++I) { in ResolveAllBranchFixups()
285 BranchFixup &Fixup = CGF.EHStack.getBranchFixup(I); in ResolveAllBranchFixups()
310 CGF.EHStack.clearFixups(); in ResolveAllBranchFixups()
337 if (!EHStack.getNumBranchFixups()) return; in ResolveBranchFixups()
339 assert(EHStack.hasNormalCleanups() && in ResolveBranchFixups()
345 for (unsigned I = 0, E = EHStack.getNumBranchFixups(); I != E; ++I) { in ResolveBranchFixups()
347 BranchFixup &Fixup = EHStack.getBranchFixup(I); in ResolveBranchFixups()
370 EHStack.popNullFixups(); in ResolveBranchFixups()
377 while (EHStack.stable_begin() != Old) { in PopCleanupBlocks()
[all …]
DCGException.cpp381 EHScopeStack::stable_iterator cleanup = CGF.EHStack.stable_begin(); in EmitAnyExprToExn()
503 EHStack.pushTerminate(); in EmitStartEHSpec()
507 EHFilterScope *Filter = EHStack.pushFilter(NumExceptions); in EmitStartEHSpec()
570 EHStack.popTerminate(); in EmitEndEHSpec()
573 EHFilterScope &filterScope = cast<EHFilterScope>(*EHStack.begin()); in EmitEndEHSpec()
575 EHStack.popFilter(); in EmitEndEHSpec()
587 EHCatchScope *CatchScope = EHStack.pushCatch(NumHandlers); in EnterCXXTryStmt()
620 if (si == EHStack.stable_end()) in getEHDispatchBlock()
624 EHScope &scope = *EHStack.find(si); in getEHDispatchBlock()
677 assert(EHStack.requiresLandingPad()); in getInvokeDestImpl()
[all …]
DCGObjCRuntime.cpp211 EHCatchScope *Catch = CGF.EHStack.pushCatch(Handlers.size()); in EmitTryCatchStmt()
246 CGF.EHStack.pushCleanup<CallObjCEndCatch>(NormalAndEHCleanup, in EmitTryCatchStmt()
333 CGF.EHStack.pushCleanup<CallSyncExit>(NormalAndEHCleanup, syncExitFn, lock); in EmitAtSynchronizedStmt()
DCodeGenFunction.h243 EHScopeStack EHStack; variable
322 return EHStack.pushCleanup<T>(kind, a0); in pushFullExprCleanup()
327 EHStack.pushCleanup<CleanupType>(kind, a0_saved); in pushFullExprCleanup()
339 return EHStack.pushCleanup<T>(kind, a0, a1); in pushFullExprCleanup()
345 EHStack.pushCleanup<CleanupType>(kind, a0_saved, a1_saved); in pushFullExprCleanup()
357 return EHStack.pushCleanup<T>(kind, a0, a1, a2); in pushFullExprCleanup()
365 EHStack.pushCleanup<CleanupType>(kind, a0_saved, a1_saved, a2_saved); in pushFullExprCleanup()
377 return EHStack.pushCleanup<T>(kind, a0, a1, a2, a3); in pushFullExprCleanup()
386 EHStack.pushCleanup<CleanupType>(kind, a0_saved, a1_saved, in pushFullExprCleanup()
470 CleanupStackDepth = CGF.EHStack.stable_begin(); in RunCleanupsScope()
[all …]
DCGDecl.cpp945 EHStack.pushCleanup<CallStackRestore>(NormalCleanup, Stack); in EmitAutoVarAlloca()
1224 EHStack.pushCleanup<DestroyNRVOVariable>(cleanupKind, addr, dtor, in emitAutoVarTypeCleanup()
1252 EHStack.pushCleanup<DestroyObject>(cleanupKind, addr, type, destroyer, in emitAutoVarTypeCleanup()
1271 EHStack.pushCleanup<CallLifetimeEnd>(NormalCleanup, in EmitAutoVarCleanups()
1283 EHStack.pushCleanup<ExtendGCLifetime>(NormalCleanup, &D); in EmitAutoVarCleanups()
1294 EHStack.pushCleanup<CallCleanupFunction>(NormalAndEHCleanup, F, &Info, &D); in EmitAutoVarCleanups()
1355 EHStack.pushCleanup<DestroyObject>( in pushLifetimeExtendedDestroy()
1707 EHStack.pushCleanup<ConsumeARCParameter>(getARCCleanupKind(), Arg, in EmitParmDecl()
DCGExprCXX.cpp873 cleanup = EHStack.stable_begin(); in EmitNewArrayInitializer()
928 cleanup = EHStack.stable_begin(); in EmitNewArrayInitializer()
1163 CallDeleteDuringNew *Cleanup = CGF.EHStack in EnterNewDeleteCleanup()
1180 CallDeleteDuringConditionalNew *Cleanup = CGF.EHStack in EnterNewDeleteCleanup()
1301 operatorDeleteCleanup = EHStack.stable_begin(); in EmitCXXNewExpr()
1426 CGF.EHStack.pushCleanup<CallObjectDelete>(NormalAndEHCleanup, in EmitObjectDelete()
1448 CGF.EHStack.pushCleanup<CallObjectDelete>(NormalAndEHCleanup, in EmitObjectDelete()
1557 CGF.EHStack.pushCleanup<CallArrayDelete>(NormalAndEHCleanup, in EmitArrayDelete()
DCGClass.cpp423 CGF.EHStack.pushCleanup<CallBaseDtor>(EHCleanup, BaseClassDecl, in EmitBaseInitializer()
1418 EHStack.pushCleanup<CallDtorDeleteConditional>( in EnterDtorCleanups()
1421 EHStack.pushCleanup<CallDtorDelete>(NormalAndEHCleanup); in EnterDtorCleanups()
1448 EHStack.pushCleanup<CallBaseDtor>(NormalAndEHCleanup, in EnterDtorCleanups()
1473 EHStack.pushCleanup<CallBaseDtor>(NormalAndEHCleanup, in EnterDtorCleanups()
1492 EHStack.pushCleanup<DestroyField>(cleanupKind, field, in EnterDtorCleanups()
1793 EHStack.pushCleanup<CallDelegatingCtorDtor>(EHCleanup, in EmitDelegatingCXXConstructorCall()
1838 EHStack.pushCleanup<CallLocalDtor>(NormalAndEHCleanup, D, Addr); in PushDestructorCleanup()
DCGStmt.cpp254 if (!EHStack.empty()) in SimplifyForwardingBlocks()
340 if (EHStack.hasNormalCleanups() && CurLexicalScope) in EmitLabel()
354 Dest.setScopeDepth(EHStack.stable_begin()); in EmitLabel()
366 = CGF.EHStack.getInnermostNormalCleanup(); in rescopeLabels()
DCodeGenFunction.cpp220 if (EHStack.stable_begin() != PrologueCleanupDepth) { in FinishFunction()
246 assert(EHStack.empty() && in FinishFunction()
582 PrologueCleanupDepth = EHStack.stable_begin(); in StartFunction()
DCGObjC.cpp497 EHStack.pushCleanup<FinishARCDealloc>(getARCCleanupKind()); in StartObjCMethod()
1342 CGF.EHStack.pushCleanup<DestroyIvar>(cleanupKind, self, ivar, destroyer, in emitCXXDestructMethod()
2345 EHStack.pushCleanup<CallObjCAutoreleasePoolObject>(NormalCleanup, Ptr); in EmitObjCAutoreleasePoolCleanup()
2347 EHStack.pushCleanup<CallObjCMRRAutoreleasePoolObject>(NormalCleanup, Ptr); in EmitObjCAutoreleasePoolCleanup()
2821 EHStack.pushCleanup<CallObjCAutoreleasePoolObject>(NormalCleanup, token); in EmitObjCAutoreleasePoolStmt()
2824 EHStack.pushCleanup<CallObjCMRRAutoreleasePoolObject>(NormalCleanup, token); in EmitObjCAutoreleasePoolStmt()
DCGExprAgg.cpp405 cleanup = CGF.EHStack.stable_begin(); in EmitArrayInit()
1212 cleanups.push_back(CGF.EHStack.stable_begin()); in VisitInitListExpr()
DCGBlocks.cpp627 capture.setCleanup(CGF.EHStack.stable_begin()); in enterBlockScope()
1735 EHScopeStack::stable_iterator cleanupDepth = CGF.EHStack.stable_begin(); in emitDispose()
2249 EHStack.pushCleanup<CallBlockRelease>(NormalAndEHCleanup, emission.Address); in enterByrefCleanup()
DItaniumCXXABI.cpp1217 CGF.EHStack.pushCleanup<CallGuardAbort>(EHCleanup, guard); in EmitGuardedInit()
DCGCall.cpp2049 args.addArgCleanupDeactivation(EHStack.getInnermostEHScope(), IsActive); in EmitCallArg()
DCGObjCMac.cpp3866 CGF.EHStack.pushCleanup<PerformFragileFinally>(NormalAndEHCleanup, &S, in EmitTryOrSynchronizedStmt()