Searched defs:LoopState (Results 1 – 1 of 1) sorted by relevance
29 struct LoopState { struct31 enum Kind { Normal, Unrolled } K;32 const Stmt *LoopStmt;33 const LocationContext *LCtx;34 unsigned maxStep;35 LoopState(Kind InK, const Stmt *S, const LocationContext *L, unsigned N) in LoopState() function39 static LoopState getNormal(const Stmt *S, const LocationContext *L, in getNormal()43 static LoopState getUnrolled(const Stmt *S, const LocationContext *L, in getUnrolled()47 bool isUnrolled() const { return K == Unrolled; } in isUnrolled()48 unsigned getMaxStep() const { return maxStep; } in getMaxStep()[all …]