Lines Matching refs:ScopeInfo
505 auto *ScopeInfo = getCurFunction(); in buildCoroutinePromise() local
525 auto &Moves = ScopeInfo->CoroutineParameterMoves; in buildCoroutinePromise()
593 auto *ScopeInfo = S.getCurFunction(); in checkCoroutineContext() local
594 assert(ScopeInfo && "missing function scope for function"); in checkCoroutineContext()
596 if (ScopeInfo->FirstCoroutineStmtLoc.isInvalid() && !IsImplicit) in checkCoroutineContext()
597 ScopeInfo->setFirstCoroutineStmt(Loc, Keyword); in checkCoroutineContext()
599 if (ScopeInfo->CoroutinePromise) in checkCoroutineContext()
600 return ScopeInfo; in checkCoroutineContext()
605 ScopeInfo->CoroutinePromise = S.buildCoroutinePromise(Loc); in checkCoroutineContext()
606 if (!ScopeInfo->CoroutinePromise) in checkCoroutineContext()
609 return ScopeInfo; in checkCoroutineContext()
694 auto *ScopeInfo = getCurFunction(); in ActOnCoroutineBodyStart() local
695 assert(ScopeInfo->CoroutinePromise); in ActOnCoroutineBodyStart()
699 if (!ScopeInfo->NeedsCoroutineSuspends) in ActOnCoroutineBodyStart()
702 ScopeInfo->setNeedsCoroutineSuspends(false); in ActOnCoroutineBodyStart()
709 buildPromiseCall(*this, ScopeInfo->CoroutinePromise, Loc, Name, None); in ActOnCoroutineBodyStart()
736 ScopeInfo->setCoroutineSuspends(InitSuspend.get(), FinalSuspend.get()); in ActOnCoroutineBodyStart()
1668 auto *ScopeInfo = getCurFunction(); in buildCoroutineParameterMoves() local
1669 if (!ScopeInfo->CoroutineParameterMoves.empty()) in buildCoroutineParameterMoves()
1705 ScopeInfo->CoroutineParameterMoves.insert(std::make_pair(PD, Stmt.get())); in buildCoroutineParameterMoves()