Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCoroutine.cpp91 CodeGenFunction::CGCoroInfo &CurCoro, in createCoroData() argument
94 if (CurCoro.Data) { in createCoroData()
95 if (CurCoro.Data->CoroIdExpr) in createCoroData()
107 CurCoro.Data = std::make_unique<CGCoroData>(); in createCoroData()
108 CurCoro.Data->CoroId = CoroId; in createCoroData()
109 CurCoro.Data->CoroIdExpr = CoroIdExpr; in createCoroData()
253 CGF.CurCoro.InSuspendBlock = true; in emitSuspendExpression()
255 assert(CGF.CurCoro.Data && CGF.CurCoro.Data->CoroBegin && in emitSuspendExpression()
262 SuspendIntrinsicCallArgs.push_back(CGF.CurCoro.Data->CoroBegin); in emitSuspendExpression()
298 CGF.CurCoro.InSuspendBlock = false; in emitSuspendExpression()
[all …]
H A DCodeGenFunction.h361 CGCoroInfo CurCoro;
363 bool isCoroutine() const { return CurCoro.Data != nullptr; }
366 return isCoroutine() && CurCoro.InSuspendBlock;