Lines Matching refs:Coro
112 static SmallString<32> buildSuspendPrefixStr(CGCoroData &Coro, AwaitKind Kind) { in buildSuspendPrefixStr() argument
119 No = ++Coro.AwaitNum; in buildSuspendPrefixStr()
122 No = ++Coro.YieldNum; in buildSuspendPrefixStr()
209 static LValueOrRValue emitSuspendExpression(CodeGenFunction &CGF, CGCoroData &Coro, in emitSuspendExpression() argument
219 auto Prefix = buildSuspendPrefixStr(Coro, Kind); in emitSuspendExpression()
255 auto *Switch = Builder.CreateSwitch(SuspendResult, Coro.SuspendBB, 2); in emitSuspendExpression()
261 CGF.EmitBranchThroughCleanup(Coro.CleanupJD); in emitSuspendExpression()
269 if (Coro.ExceptionHandler && Kind == AwaitKind::Init && in emitSuspendExpression()
271 Coro.ResumeEHVar = in emitSuspendExpression()
273 Builder.CreateFlagStore(true, Coro.ResumeEHVar); in emitSuspendExpression()
277 CXXCatchStmt(Loc, /*exDecl=*/nullptr, Coro.ExceptionHandler); in emitSuspendExpression()
285 Builder.CreateFlagStore(false, Coro.ResumeEHVar); in emitSuspendExpression()