Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCoroutine.cpp112 static SmallString<32> buildSuspendPrefixStr(CGCoroData &Coro, AwaitKind Kind) { in buildSuspendPrefixStr() argument
119 No = ++Coro.AwaitNum; in buildSuspendPrefixStr()
122 No = ++Coro.YieldNum; in buildSuspendPrefixStr()
222 static LValueOrRValue emitSuspendExpression(CodeGenFunction &CGF, CGCoroData &Coro, in emitSuspendExpression() argument
233 auto Prefix = buildSuspendPrefixStr(Coro, Kind); in emitSuspendExpression()
327 auto *Switch = Builder.CreateSwitch(SuspendResult, Coro.SuspendBB, 2); in emitSuspendExpression()
333 CGF.EmitBranchThroughCleanup(Coro.CleanupJD); in emitSuspendExpression()
341 if (Coro.ExceptionHandler && Kind == AwaitKind::Init && in emitSuspendExpression()
343 Coro.ResumeEHVar = in emitSuspendExpression()
345 Builder.CreateFlagStore(true, Coro.ResumeEHVar); in emitSuspendExpression()
[all …]