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.cpp113 static SmallString<32> buildSuspendPrefixStr(CGCoroData &Coro, AwaitKind Kind) { in buildSuspendPrefixStr() argument
120 No = ++Coro.AwaitNum; in buildSuspendPrefixStr()
123 No = ++Coro.YieldNum; in buildSuspendPrefixStr()
223 static LValueOrRValue emitSuspendExpression(CodeGenFunction &CGF, CGCoroData &Coro, in emitSuspendExpression() argument
234 auto Prefix = buildSuspendPrefixStr(Coro, Kind); in emitSuspendExpression()
328 auto *Switch = Builder.CreateSwitch(SuspendResult, Coro.SuspendBB, 2); in emitSuspendExpression()
334 CGF.EmitBranchThroughCleanup(Coro.CleanupJD); in emitSuspendExpression()
342 if (Coro.ExceptionHandler && Kind == AwaitKind::Init && in emitSuspendExpression()
344 Coro.ResumeEHVar = in emitSuspendExpression()
346 Builder.CreateFlagStore(true, Coro.ResumeEHVar); in emitSuspendExpression()
[all …]