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()
175 static LValueOrRValue emitSuspendExpression(CodeGenFunction &CGF, CGCoroData &Coro, in emitSuspendExpression() argument
185 auto Prefix = buildSuspendPrefixStr(Coro, Kind); in emitSuspendExpression()
218 auto *Switch = Builder.CreateSwitch(SuspendResult, Coro.SuspendBB, 2); in emitSuspendExpression()
224 CGF.EmitBranchThroughCleanup(Coro.CleanupJD); in emitSuspendExpression()
232 if (Coro.ExceptionHandler && Kind == AwaitKind::Init && in emitSuspendExpression()
234 Coro.ResumeEHVar = in emitSuspendExpression()
236 Builder.CreateFlagStore(true, Coro.ResumeEHVar); in emitSuspendExpression()
240 CXXCatchStmt(Loc, /*exDecl=*/nullptr, Coro.ExceptionHandler); in emitSuspendExpression()
254 Builder.CreateFlagStore(false, Coro.ResumeEHVar); in emitSuspendExpression()