Searched refs:SubStmts (Results 1 – 6 of 6) sorted by relevance
112 Stmt **SubStmts = getStoredStmts(); in CoroutineBodyStmt() local113 SubStmts[CoroutineBodyStmt::Body] = Args.Body; in CoroutineBodyStmt()114 SubStmts[CoroutineBodyStmt::Promise] = Args.Promise; in CoroutineBodyStmt()115 SubStmts[CoroutineBodyStmt::InitSuspend] = Args.InitialSuspend; in CoroutineBodyStmt()116 SubStmts[CoroutineBodyStmt::FinalSuspend] = Args.FinalSuspend; in CoroutineBodyStmt()117 SubStmts[CoroutineBodyStmt::OnException] = Args.OnException; in CoroutineBodyStmt()118 SubStmts[CoroutineBodyStmt::OnFallthrough] = Args.OnFallthrough; in CoroutineBodyStmt()119 SubStmts[CoroutineBodyStmt::Allocate] = Args.Allocate; in CoroutineBodyStmt()120 SubStmts[CoroutineBodyStmt::Deallocate] = Args.Deallocate; in CoroutineBodyStmt()121 SubStmts[CoroutineBodyStmt::ResultDecl] = Args.ResultDecl; in CoroutineBodyStmt()[all …]
307 Stmt* SubStmts[END_EXPR]; variable313 SubStmts[SYNC_EXPR] = synchExpr; in ObjCAtSynchronizedStmt()314 SubStmts[SYNC_BODY] = synchBody; in ObjCAtSynchronizedStmt()324 return reinterpret_cast<CompoundStmt*>(SubStmts[SYNC_BODY]); in getSynchBody()327 return reinterpret_cast<CompoundStmt*>(SubStmts[SYNC_BODY]); in getSynchBody()329 void setSynchBody(Stmt *S) { SubStmts[SYNC_BODY] = S; } in setSynchBody()332 return reinterpret_cast<Expr*>(SubStmts[SYNC_EXPR]); in getSynchExpr()335 return reinterpret_cast<Expr*>(SubStmts[SYNC_EXPR]); in getSynchExpr()337 void setSynchExpr(Stmt *S) { SubStmts[SYNC_EXPR] = S; } in setSynchExpr()349 return child_range(&SubStmts[0], &SubStmts[0]+END_EXPR); in children()[all …]
477 Stmt *SubStmts[SubStmt::Count]; variable487 SubStmts[SubStmt::Operand] = Operand; in Stmt()488 SubStmts[SubStmt::PromiseCall] = PromiseCall; in Stmt()497 Expr *getOperand() const { return static_cast<Expr*>(SubStmts[Operand]); } in getOperand()503 return static_cast<Expr*>(SubStmts[PromiseCall]); in getPromiseCall()515 return child_range(SubStmts, SubStmts + SubStmt::Count); in children()519 return const_child_range(SubStmts, SubStmts + SubStmt::Count); in children()
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()200 const Stmt *getLoopStmt() const { return SubStmts[LOOP_STMT]; } in getLoopStmt()204 SubStmts[LOOP_STMT] = S; in setLoopStmt()216 return cast<CapturedStmt>(SubStmts[DISTANCE_FUNC]); in getDistanceFunc()219 return cast<CapturedStmt>(SubStmts[DISTANCE_FUNC]); in getDistanceFunc()223 SubStmts[DISTANCE_FUNC] = S; in setDistanceFunc()237 return cast<CapturedStmt>(SubStmts[LOOPVAR_FUNC]); in getLoopVarFunc()[all …]
476 for (auto &SubStmt: S->SubStmts) in VisitCoreturnStmt()2385 for (Stmt *&SubStmt : S->SubStmts) in VisitOMPCanonicalLoop()
2383 for (Stmt *SubStmt : S->SubStmts) in VisitOMPCanonicalLoop()