Lines Matching refs:ScopeInfo

532   auto *ScopeInfo = getCurFunction();  in buildCoroutinePromise()  local
552 auto &Moves = ScopeInfo->CoroutineParameterMoves; in buildCoroutinePromise()
616 auto *ScopeInfo = S.getCurFunction(); in checkCoroutineContext() local
617 assert(ScopeInfo && "missing function scope for function"); in checkCoroutineContext()
619 if (ScopeInfo->FirstCoroutineStmtLoc.isInvalid() && !IsImplicit) in checkCoroutineContext()
620 ScopeInfo->setFirstCoroutineStmt(Loc, Keyword); in checkCoroutineContext()
622 if (ScopeInfo->CoroutinePromise) in checkCoroutineContext()
623 return ScopeInfo; in checkCoroutineContext()
628 ScopeInfo->CoroutinePromise = S.buildCoroutinePromise(Loc); in checkCoroutineContext()
629 if (!ScopeInfo->CoroutinePromise) in checkCoroutineContext()
632 return ScopeInfo; in checkCoroutineContext()
713 auto *ScopeInfo = getCurFunction(); in ActOnCoroutineBodyStart() local
714 assert(ScopeInfo->CoroutinePromise); in ActOnCoroutineBodyStart()
718 if (!ScopeInfo->NeedsCoroutineSuspends) in ActOnCoroutineBodyStart()
721 ScopeInfo->setNeedsCoroutineSuspends(false); in ActOnCoroutineBodyStart()
728 buildPromiseCall(*this, ScopeInfo->CoroutinePromise, Loc, Name, None); in ActOnCoroutineBodyStart()
754 ScopeInfo->setCoroutineSuspends(InitSuspend.get(), FinalSuspend.get()); in ActOnCoroutineBodyStart()
1624 auto *ScopeInfo = getCurFunction(); in buildCoroutineParameterMoves() local
1625 if (!ScopeInfo->CoroutineParameterMoves.empty()) in buildCoroutineParameterMoves()
1653 ScopeInfo->CoroutineParameterMoves.insert(std::make_pair(PD, Stmt.get())); in buildCoroutineParameterMoves()