Lines Matching refs:loop
8 br label %loop
10 loop:
11 %loop.iv = phi i32 [ 0, %entry ], [ %loop.iv.inc, %loop ]
12 %iv = phi i32 [ %start, %entry ], [ %iv.next, %loop ]
13 ; CHECK: %iv = phi i32 [ %start, %entry ], [ %iv.next, %loop ]
14 ; CHECK-NEXT: --> {%start,+,%step}<%loop> U: [0,128) S: [0,128)
16 %loop.iv.inc = add i32 %loop.iv, 1
17 %be.cond = icmp ne i32 %loop.iv.inc, 128
18 br i1 %be.cond, label %loop, label %leave
29 br label %loop
31 loop:
32 %loop.iv = phi i32 [ 0, %entry ], [ %loop.iv.inc, %loop ]
33 %iv = phi i32 [ %start, %entry ], [ %iv.next, %loop ]
36 ; CHECK-NEXT: --> {(1 + %start)<nuw><nsw>,+,%step}<%loop> U: [1,122) S: [1,122)
38 ; CHECK-NEXT: --> {(2 + %start)<nuw><nsw>,+,%step}<%loop> U: [2,123) S: [2,123)
40 ; CHECK-NEXT: --> {(3 + %start)<nuw><nsw>,+,%step}<%loop> U: [3,124) S: [3,124)
42 ; CHECK-NEXT: --> {(4 + %start)<nuw><nsw>,+,%step}<%loop> U: [4,125) S: [4,125)
44 ; CHECK-NEXT: --> {(5 + %start)<nuw><nsw>,+,%step}<%loop> U: [5,126) S: [5,126)
46 ; CHECK-NEXT: --> {(6 + %start)<nuw><nsw>,+,%step}<%loop> U: [6,127) S: [6,127)
48 ; CHECK-NEXT: --> {(7 + %start)<nuw><nsw>,+,%step}<%loop> U: [7,128) S: [7,128)
59 ; CHECK-NEXT: --> {(-1 + %start)<nsw>,+,%step}<%loop> U: [-1,120) S: [-1,120)
61 ; CHECK-NEXT: --> {(-2 + %start)<nsw>,+,%step}<%loop> U: [-2,119) S: [-2,119)
63 ; CHECK-NEXT: --> {(-3 + %start)<nsw>,+,%step}<%loop> U: [-3,118) S: [-3,118)
65 ; CHECK-NEXT: --> {(-4 + %start)<nsw>,+,%step}<%loop> U: [-4,117) S: [-4,117)
67 ; CHECK-NEXT: --> {(-5 + %start)<nsw>,+,%step}<%loop> U: [-5,116) S: [-5,116)
69 ; CHECK-NEXT: --> {(-6 + %start)<nsw>,+,%step}<%loop> U: [-6,115) S: [-6,115)
71 ; CHECK-NEXT: --> {(-7 + %start)<nsw>,+,%step}<%loop> U: [-7,114) S: [-7,114)
82 %loop.iv.inc = add i32 %loop.iv, 1
83 %be.cond = icmp sgt i32 %loop.iv, 14
84 br i1 %be.cond, label %leave, label %loop
95 br label %loop
97 loop:
98 %loop.iv = phi i32 [ 0, %entry ], [ %loop.iv.inc, %loop ]
99 %iv = phi i32 [ %start, %entry ], [ %iv.next, %loop ]
103 ; CHECK-NEXT: --> {(sext i32 %start to i64),+,(sext i32 %step to i64)}<nsw><%loop> U: [0,128) S:…
104 %loop.iv.inc = add i32 %loop.iv, 1
105 %be.cond = icmp ne i32 %loop.iv.inc, 128
106 br i1 %be.cond, label %loop, label %leave
124 br label %loop
126 loop:
127 %loop.iv = phi i16 [ 0, %entry ], [ %loop.iv.inc, %loop ]
128 %iv = phi i16 [ %start, %entry ], [ %iv.next, %loop ]
131 ; CHECK-NEXT: --> {(zext i16 %start to i64),+,(zext i16 %step to i64)}<nuw><%loop> U: [0,64644) S…
133 %loop.iv.inc = add i16 %loop.iv, 1
134 %be.cond = icmp ne i16 %loop.iv.inc, 128
135 br i1 %be.cond, label %loop, label %leave
147 ; backedge taken count of the loop has the same bitwidth as the
152 br label %loop
154 loop:
155 %loop.iv = phi i32 [ 0, %entry ], [ %loop.iv.inc, %loop ]
156 %iv = phi i32 [ %start, %entry ], [ %iv.next, %loop ]
159 ; CHECK-NEXT: --> {(trunc i32 %start to i16),+,(trunc i32 %step to i16)}<%loop> U: full-set S: f…
161 %loop.iv.inc = add i32 %loop.iv, 1
162 %be.cond = icmp ne i32 %loop.iv.inc, 128
163 br i1 %be.cond, label %loop, label %leave
174 br label %loop
176 loop:
177 %loop.iv = phi i16 [ 0, %entry ], [ %loop.iv.inc, %loop ]
178 %iv = phi i32 [ %start, %entry ], [ %iv.next, %loop ]
181 ; CHECK-NEXT: --> {(trunc i32 %start to i16),+,(trunc i32 %step to i16)}<%loop> U: [0,128) S: [0,…
184 %loop.iv.inc = add i16 %loop.iv, 1
185 %be.cond = icmp ne i16 %loop.iv.inc, 128
186 br i1 %be.cond, label %loop, label %leave
197 br label %loop
199 loop:
200 %loop.iv = phi i16 [ 0, %entry ], [ %loop.iv.inc, %loop ]
201 %iv = phi i32 [ %start, %entry ], [ %iv.next, %loop ]
202 ; CHECK: %iv = phi i32 [ %start, %entry ], [ %iv.next, %loop ]
203 ; CHECK-NEXT: --> {%start,+,(1 + %step)<nuw><nsw>}<%loop> U: [0,128) S: [0,128)
209 ; CHECK-NEXT: --> {(sext i32 %start to i64),+,(1 + (sext i32 %step to i64))<nsw>}<nsw><%loop> U: …
210 %loop.iv.inc = add i16 %loop.iv, 1
211 %be.cond = icmp ne i16 %loop.iv.inc, 128
212 br i1 %be.cond, label %loop, label %leave
223 br label %loop
225 loop:
226 %loop.iv = phi i16 [ 0, %entry ], [ %loop.iv.inc, %loop ]
227 %iv = phi i32 [ %start, %entry ], [ %iv.next, %loop ]
230 ; CHECK-NEXT: --> {(trunc i32 %start to i16),+,(trunc i32 %step to i16)}<%loop> U: [0,128) S: [0,…
235 ; CHECK-NEXT: --> {(1 + (trunc i32 %start to i16))<nuw><nsw>,+,(trunc i32 %step to i16)}<%loop> U…
239 ; CHECK-NEXT: --> {(2 + (trunc i32 %start to i16))<nuw><nsw>,+,(trunc i32 %step to i16)}<%loop> U…
241 %loop.iv.inc = add i16 %loop.iv, 1
242 %be.cond = icmp ne i16 %loop.iv.inc, 128
243 br i1 %be.cond, label %loop, label %leave