Home
last modified time | relevance | path

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

/freebsd-14.2/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()
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()
[all …]