Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGCleanup.cpp368 CGF.EHStack.clearFixups(); in ResolveAllBranchFixups()
397 assert(EHStack.hasNormalCleanups() && in ResolveBranchFixups()
428 EHStack.popNullFixups(); in ResolveBranchFixups()
790 EHStack.popCleanup(); in PopCleanupBlock()
806 EHStack.popCleanup(); in PopCleanupBlock()
937 EHStack.popCleanup(); in PopCleanupBlock()
1005 assert(EHStack.hasNormalCleanups() || EHStack.getNumBranchFixups() == 0); in PopCleanupBlock()
1033 EHStack.pushTerminate(); in PopCleanupBlock()
1051 EHStack.popTerminate(); in PopCleanupBlock()
1193 EHScope &scope = *EHStack.find(i); in IsUsedAsEHCleanup()
[all …]
H A DCGException.cpp527 EHStack.pushTerminate(); in EmitStartEHSpec()
603 EHStack.popFilter(); in EmitEndEHSpec()
607 EHStack.popTerminate(); in EmitEndEHSpec()
759 assert(!EHStack.empty()); in getInvokeDestImpl()
812 EHScope &innermostEHScope = *EHStack.find(EHStack.getInnermostEHScope()); in EmitLandingPad()
851 for (EHScopeStack::iterator I = EHStack.begin(), E = EHStack.end(); I != E; in EmitLandingPad()
1183 EHStack.popCatch(); in popCatchScope()
1195 EHStack.popCatch(); in ExitCXXTryStmt()
1207 EHStack.popCatch(); in ExitCXXTryStmt()
2220 EHStack.popCatch(); in ExitSEHTryStmt()
[all …]
H A DCGObjCRuntime.cpp188 EHCatchScope *Catch = CGF.EHStack.pushCatch(Handlers.size()); in EmitTryCatchStmt()
250 CGF.EHStack.pushCleanup<CallObjCEndCatch>(NormalAndEHCleanup, in EmitTryCatchStmt()
264 CGF.EHStack.pushCleanup<CatchRetScope>(NormalCleanup, CPI); in EmitTryCatchStmt()
346 CGF.EHStack.pushCleanup<CallSyncExit>(NormalAndEHCleanup, syncExitFn, lock); in EmitAtSynchronizedStmt()
H A DCGClass.cpp593 CGF.EHStack.pushCleanup<CallBaseDtor>(EHCleanup, BaseClassDecl, in EmitBaseInitializer()
1769 EHScopeStack &EHStack; member in __anon858dc5ae0411::SanitizeDtorCleanupBuilder
1776 : Context(Context), EHStack(EHStack), DD(DD), StartIndex(llvm::None) {} in SanitizeDtorCleanupBuilder()
1785 EHStack.pushCleanup<SanitizeDtorFieldRange>( in PushCleanupForField()
1821 EHStack.pushCleanup<CallDtorDeleteConditional>( in EnterDtorCleanups()
1831 EHStack.pushCleanup<CallDtorDelete>(NormalAndEHCleanup); in EnterDtorCleanups()
1850 EHStack.pushCleanup<SanitizeDtorVTable>(NormalAndEHCleanup, DD); in EnterDtorCleanups()
1882 EHStack.pushCleanup<SanitizeDtorVTable>(NormalAndEHCleanup, DD); in EnterDtorCleanups()
1926 EHStack.pushCleanup<DestroyField>( in EnterDtorCleanups()
2459 EHStack.pushCleanup<CallDelegatingCtorDtor>(EHCleanup, in EmitDelegatingCXXConstructorCall()
[all …]
H A DCGDecl.cpp1633 EHStack.pushCleanup<CallLifetimeEnd>(NormalEHLifetimeMarker, in EmitAutoVarAlloca()
2001 EHStack.pushCleanup<DestroyNRVOVariableCXX>(cleanupKind, addr, type, dtor, in emitAutoVarTypeCleanup()
2026 EHStack.pushCleanup<DestroyNRVOVariableC>(cleanupKind, addr, in emitAutoVarTypeCleanup()
2039 EHStack.pushCleanup<DestroyObject>(cleanupKind, addr, type, destroyer, in emitAutoVarTypeCleanup()
2062 EHStack.pushCleanup<ExtendGCLifetime>(NormalCleanup, &D); in EmitAutoVarCleanups()
2073 EHStack.pushCleanup<CallCleanupFunction>(NormalAndEHCleanup, F, &Info, &D); in EmitAutoVarCleanups()
2135 EHStack.pushCleanup<CallStackRestore>(Kind, SPMem); in pushStackRestore()
2149 EHStack.pushCleanup<DestroyObject>( in pushLifetimeExtendedDestroy()
2170 EHStack.pushCleanup<ConditionalCleanupType>( in pushLifetimeExtendedDestroy()
2510 EHStack.stable_begin(); in EmitParmDecl()
[all …]
H A DCGExprCXX.cpp1093 Cleanup = EHStack.stable_begin(); in EmitNewArrayInitializer()
1262 Cleanup = EHStack.stable_begin(); in EmitNewArrayInitializer()
1504 DirectCleanup *Cleanup = CGF.EHStack in EnterNewDeleteCleanup()
1535 ConditionalCleanup *Cleanup = CGF.EHStack in EnterNewDeleteCleanup()
1702 operatorDeleteCleanup = EHStack.stable_begin(); in EmitCXXNewExpr()
1868 EHStack.pushCleanup<CallObjectDelete>(NormalAndEHCleanup, CompletePtr, in pushCallObjectDeleteCleanup()
1950 CGF.EHStack.pushCleanup<CallObjectDelete>(NormalAndEHCleanup, in EmitObjectDelete()
2026 CGF.EHStack.pushCleanup<CallArrayDelete>(NormalAndEHCleanup, in EmitArrayDelete()
H A DCGCoroutine.cpp539 EHStack.pushCleanup<CallCoroDelete>(NormalAndEHCleanup, S.getDeallocate()); in EmitCoroutineBody()
589 EHStack.pushCleanup<CallCoroEnd>(EHCleanup); in EmitCoroutineBody()
H A DCGExprAgg.cpp293 LifetimeEndBlock = CGF.EHStack.stable_begin(); in withReturnValueSlot()
540 cleanup = CGF.EHStack.stable_begin(); in EmitArrayInit()
1365 Cleanups.push_back(CGF.EHStack.stable_begin()); in VisitLambdaExpr()
1670 addCleanup(CGF.EHStack.stable_begin()); in VisitInitListExpr()
1749 addCleanup(CGF.EHStack.stable_begin()); in VisitInitListExpr()
1826 cleanup = CGF.EHStack.stable_begin(); in VisitArrayInitLoopExpr()
H A DCodeGenFunction.cpp79 EHStack.setCGF(this); in CodeGenFunction()
355 bool HasCleanups = EHStack.stable_begin() != PrologueCleanupDepth; in FinishFunction()
357 HasCleanups && EHStack.containsOnlyLifetimeMarkers(PrologueCleanupDepth); in FinishFunction()
396 assert(EHStack.empty() && in FinishFunction()
1125 PrologueCleanupDepth = EHStack.stable_begin(); in StartFunction()
H A DCodeGenFunction.h619 EHScopeStack EHStack;
774 return EHStack.pushCleanup<T>(kind, A...);
781 EHStack.pushCleanupTuple<CleanupType>(kind, Saved);
891 CleanupStackDepth = CGF.EHStack.stable_begin();
908 return CGF.EHStack.stable_begin() != CleanupStackDepth;
1152 EHStack.getInnermostNormalCleanup(),
2019 if (!EHStack.requiresLandingPad()) return nullptr;
H A DCGStmt.cpp544 if (!EHStack.empty()) in SimplifyForwardingBlocks()
630 if (EHStack.hasNormalCleanups() && CurLexicalScope) in EmitLabel()
644 Dest.setScopeDepth(EHStack.stable_begin()); in EmitLabel()
666 = CGF.EHStack.getInnermostNormalCleanup(); in rescopeLabels()
H A DCGObjC.cpp796 EHStack.pushCleanup<FinishARCDealloc>(getARCCleanupKind()); in StartObjCMethod()
1655 CGF.EHStack.pushCleanup<DestroyIvar>(cleanupKind, self, ivar, destroyer, in emitCXXDestructMethod()
2846 EHStack.pushCleanup<CallObjCAutoreleasePoolObject>(NormalCleanup, Ptr); in EmitObjCAutoreleasePoolCleanup()
2848 EHStack.pushCleanup<CallObjCMRRAutoreleasePoolObject>(NormalCleanup, Ptr); in EmitObjCAutoreleasePoolCleanup()
3629 EHStack.pushCleanup<CallObjCAutoreleasePoolObject>(NormalCleanup, token); in EmitObjCAutoreleasePoolStmt()
3632 EHStack.pushCleanup<CallObjCMRRAutoreleasePoolObject>(NormalCleanup, token); in EmitObjCAutoreleasePoolStmt()
H A DCGBlocks.cpp2297 EHScopeStack::stable_iterator cleanupDepth = CGF.EHStack.stable_begin(); in emitDispose()
2327 EHScopeStack::stable_iterator cleanupDepth = CGF.EHStack.stable_begin(); in emitDispose()
2822 EHStack.pushCleanup<CallBlockRelease>(Kind, Addr, Flags, LoadBlockVarAddr, in enterByrefCleanup()
H A DItaniumCXXABI.cpp2501 CGF.EHStack.pushCleanup<CallGuardAbort>(EHCleanup, guard); in EmitGuardedInit()
4423 CGF.EHStack.pushCleanup<CallEndCatch>(NormalAndEHCleanup, EndMightThrow); in CallBeginCatch()
4589 CGF.EHStack.pushTerminate(); in InitCatchParam()
4600 CGF.EHStack.popTerminate(); in InitCatchParam()
4720 CGF.EHStack.pushCleanup<CatchRetScope>( in emitBeginCatch()
H A DMicrosoftCXXABI.cpp910 CGF.EHStack.pushCleanup<CatchRetScope>(NormalCleanup, CPI); in emitBeginCatch()
916 CGF.EHStack.pushCleanup<CatchRetScope>(NormalCleanup, CPI); in emitBeginCatch()
2689 CGF.EHStack.pushCleanup<ResetGuardBit>(EHCleanup, GuardAddr, GuardNum); in EmitGuardedInit()
2735 CGF.EHStack.pushCleanup<CallInitThreadAbort>(EHCleanup, GuardAddr); in EmitGuardedInit()
H A DCGCall.cpp2911 EHStack.pushCleanup<CopyBackSwiftError>(NormalCleanup, temp, arg); in EmitFunctionProlog()
4404 args.addArgCleanupDeactivation(EHStack.stable_begin(), IsActive); in EmitCallArg()
5454 for (auto it = EHStack.find(CurrentCleanupScopeDepth); it != EHStack.end(); in EmitCall()
H A DCGOpenMPRuntime.cpp599 CGF.EHStack.pushCleanup<CleanupTy>(NormalAndEHCleanup, PrePostAction); in operator ()()
1035 CGF.EHStack.pushTerminate(); in EmitBody()
1039 CGF.EHStack.popTerminate(); in EmitBody()
1425 if (!CGF.EHStack.requiresLandingPad() || !CGF.getLangOpts().Exceptions || in getThreadID()
12041 CGF.EHStack.pushCleanup<DoacrossCleanupTy>(NormalAndEHCleanup, FiniRTLFn, in emitDoacrossInit()
12229 CGF.EHStack.pushCleanup<OMPAllocateCleanupTy>( in getAddressOfLocalVariable()
H A DCGOpenMPRuntimeGPU.cpp3682 CGF.EHStack.pushCleanup<GlobalizationScope>(NormalAndEHCleanup); in emitFunctionProlog()
H A DCGObjCMac.cpp4631 CGF.EHStack.pushCleanup<PerformFragileFinally>(NormalAndEHCleanup, &S, in EmitTryOrSynchronizedStmt()
H A DCGStmtOpenMP.cpp1638 CGF.EHStack.pushCleanup<OMPAllocateCleanupTy>(NormalAndEHCleanup, FreeCI); in getAddressOfLocalVariable()