Searched refs:SubStmts (Results 1 – 6 of 6) sorted by relevance
111 Stmt **SubStmts = getStoredStmts(); in CoroutineBodyStmt() local112 SubStmts[CoroutineBodyStmt::Body] = Args.Body; in CoroutineBodyStmt()113 SubStmts[CoroutineBodyStmt::Promise] = Args.Promise; in CoroutineBodyStmt()115 SubStmts[CoroutineBodyStmt::FinalSuspend] = Args.FinalSuspend; in CoroutineBodyStmt()116 SubStmts[CoroutineBodyStmt::OnException] = Args.OnException; in CoroutineBodyStmt()118 SubStmts[CoroutineBodyStmt::Allocate] = Args.Allocate; in CoroutineBodyStmt()119 SubStmts[CoroutineBodyStmt::Deallocate] = Args.Deallocate; in CoroutineBodyStmt()120 SubStmts[CoroutineBodyStmt::ReturnValue] = Args.ReturnValue; in CoroutineBodyStmt()121 SubStmts[CoroutineBodyStmt::ResultDecl] = Args.ResultDecl; in CoroutineBodyStmt()122 SubStmts[CoroutineBodyStmt::ReturnStmt] = Args.ReturnStmt; in CoroutineBodyStmt()[all …]
281 Stmt* SubStmts[END_EXPR]; variable287 SubStmts[SYNC_EXPR] = synchExpr; in ObjCAtSynchronizedStmt()288 SubStmts[SYNC_BODY] = synchBody; in ObjCAtSynchronizedStmt()298 return reinterpret_cast<CompoundStmt*>(SubStmts[SYNC_BODY]); in getSynchBody()301 return reinterpret_cast<CompoundStmt*>(SubStmts[SYNC_BODY]); in getSynchBody()303 void setSynchBody(Stmt *S) { SubStmts[SYNC_BODY] = S; } in setSynchBody()306 return reinterpret_cast<Expr*>(SubStmts[SYNC_EXPR]); in getSynchExpr()309 return reinterpret_cast<Expr*>(SubStmts[SYNC_EXPR]); in getSynchExpr()311 void setSynchExpr(Stmt *S) { SubStmts[SYNC_EXPR] = S; } in setSynchExpr()323 return child_range(&SubStmts[0], &SubStmts[0]+END_EXPR); in children()[all …]
460 Stmt *SubStmts[SubStmt::Count]; variable470 SubStmts[SubStmt::Operand] = Operand; in Stmt()471 SubStmts[SubStmt::PromiseCall] = PromiseCall; in Stmt()480 Expr *getOperand() const { return static_cast<Expr*>(SubStmts[Operand]); } in getOperand()486 return static_cast<Expr*>(SubStmts[PromiseCall]); in getPromiseCall()499 return child_range(SubStmts + SubStmt::PromiseCall, in children()500 SubStmts + SubStmt::Count); in children()501 return child_range(SubStmts, SubStmts + SubStmt::Count); in children()506 return const_child_range(SubStmts + SubStmt::PromiseCall, in children()507 SubStmts + SubStmt::Count); in children()[all …]
157 Stmt *SubStmts[LastSubStmt + 1] = {};190 return child_range(&SubStmts[0], &SubStmts[0] + LastSubStmt + 1); in children()193 return const_child_range(&SubStmts[0], &SubStmts[0] + LastSubStmt + 1); in children()199 Stmt *getLoopStmt() { return SubStmts[LOOP_STMT]; } in getLoopStmt()204 SubStmts[LOOP_STMT] = S; in setLoopStmt()223 SubStmts[DISTANCE_FUNC] = S; in setDistanceFunc()237 return cast<CapturedStmt>(SubStmts[LOOPVAR_FUNC]); in getLoopVarFunc()244 SubStmts[LOOPVAR_FUNC] = S; in setLoopVarFunc()251 return cast<DeclRefExpr>(SubStmts[LOOPVAR_REF]); in getLoopVarRef()254 return cast<DeclRefExpr>(SubStmts[LOOPVAR_REF]); in getLoopVarRef()[all …]
466 for (auto &SubStmt: S->SubStmts) in VisitCoreturnStmt()2279 for (Stmt *&SubStmt : S->SubStmts) in VisitOMPCanonicalLoop()
2176 for (Stmt *SubStmt : S->SubStmts) in VisitOMPCanonicalLoop()