Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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()
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()
[all …]
/llvm-project-15.0.7/clang/test/CodeGenCoroutines/
H A Dcoro-halo.cpp25 iterator(std::coroutine_handle<promise_type> Coro, bool Done) in iterator()
26 : _Coro(Coro), _Done(Done) {} in iterator()
/llvm-project-15.0.7/libcxx/test/std/language.support/support.coroutines/end.to.end/
H A Dgenerator.pass.cpp39 iterator(std::coroutine_handle<promise_type> Coro, bool Done) in iterator()
40 : Coro_(Coro), Done_(Done) {} in iterator()
/llvm-project-15.0.7/libcxx/test/std/experimental/language.support/support.coroutines/end.to.end/
H A Dgenerator.pass.cpp39 iterator(std::experimental::coroutine_handle<promise_type> Coro, bool Done) in iterator()
40 : _Coro(Coro), _Done(Done) {} in iterator()