Lines Matching refs:loop
1 ; RUN: opt -verify-loop-info -irce-print-changed-loops -irce < %s 2>&1 | FileCheck %s
8 ; CHECK: irce: in function inner_loop: constrained Loop at depth 1 containing: %loop<header><exitin…
13 br i1 %first.itr.check, label %loop, label %exit
15 loop: ; preds = %in.bounds, %entry
21 in.bounds: ; preds = %loop
25 br i1 %next, label %loop, label %exit
27 out.of.bounds: ; preds = %loop
36 ; CHECK: irce: in function with_parent: constrained Loop at depth 2 containing: %loop.i<header><exi…
39 br label %loop
41 loop: ; preds = %inner_loop.exit, %entry
47 br i1 %first.itr.check.i, label %loop.i, label %exit.i
49 loop.i: ; preds = %in.bounds.i, %loop
50 %idx.i = phi i32 [ 0, %loop ], [ %idx.next.i, %in.bounds.i ]
55 in.bounds.i: ; preds = %loop.i
59 br i1 %next.i, label %loop.i, label %exit.i
61 out.of.bounds.i: ; preds = %loop.i
64 exit.i: ; preds = %in.bounds.i, %loop
68 br i1 %next, label %loop, label %exit
76 ; CHECK: irce: in function with_grandparent: constrained Loop at depth 3 containing: %loop.i.i<head…
79 br label %loop
81 loop: ; preds = %with_parent.exit, %entry
85 br label %loop.i
87 loop.i: ; preds = %inner_loop.exit.i, %loop
88 %idx.i = phi i32 [ 0, %loop ], [ %idx.next.i, %inner_loop.exit.i ]
93 br i1 %first.itr.check.i.i, label %loop.i.i, label %exit.i.i
95 loop.i.i: ; preds = %in.bounds.i.i, %loop.i
96 %idx.i.i = phi i32 [ 0, %loop.i ], [ %idx.next.i.i, %in.bounds.i.i ]
101 in.bounds.i.i: ; preds = %loop.i.i
105 br i1 %next.i.i, label %loop.i.i, label %exit.i.i
107 out.of.bounds.i.i: ; preds = %loop.i.i
110 exit.i.i: ; preds = %in.bounds.i.i, %loop.i
114 br i1 %next.i, label %loop.i, label %with_parent.exit
117 br i1 %next, label %loop, label %exit
125 ; CHECK: irce: in function with_sibling: constrained Loop at depth 2 containing: %loop.i<header><ex…
126 ; CHECK: irce: in function with_sibling: constrained Loop at depth 2 containing: %loop.i6<header><e…
129 br label %loop
131 loop: ; preds = %inner_loop.exit12, %entry
137 br i1 %first.itr.check.i, label %loop.i, label %exit.i
139 loop.i: ; preds = %in.bounds.i, %loop
140 %idx.i = phi i32 [ 0, %loop ], [ %idx.next.i, %in.bounds.i ]
145 in.bounds.i: ; preds = %loop.i
149 br i1 %next.i, label %loop.i, label %exit.i
151 out.of.bounds.i: ; preds = %loop.i
154 exit.i: ; preds = %in.bounds.i, %loop
160 br i1 %first.itr.check.i2, label %loop.i6, label %exit.i11
162 loop.i6: ; preds = %in.bounds.i9, %inner_loop.exit
168 in.bounds.i9: ; preds = %loop.i6
172 br i1 %next.i8, label %loop.i6, label %exit.i11
174 out.of.bounds.i10: ; preds = %loop.i6
181 br i1 %next, label %loop, label %exit
189 ; CHECK: irce: in function with_cousin: constrained Loop at depth 3 containing: %loop.i.i<header><e…
190 ; CHECK: irce: in function with_cousin: constrained Loop at depth 3 containing: %loop.i.i10<header>…
193 br label %loop
195 loop: ; preds = %with_parent.exit17, %entry
199 br label %loop.i
201 loop.i: ; preds = %inner_loop.exit.i, %loop
202 %idx.i = phi i32 [ 0, %loop ], [ %idx.next.i, %inner_loop.exit.i ]
207 br i1 %first.itr.check.i.i, label %loop.i.i, label %exit.i.i
209 loop.i.i: ; preds = %in.bounds.i.i, %loop.i
210 %idx.i.i = phi i32 [ 0, %loop.i ], [ %idx.next.i.i, %in.bounds.i.i ]
215 in.bounds.i.i: ; preds = %loop.i.i
219 br i1 %next.i.i, label %loop.i.i, label %exit.i.i
221 out.of.bounds.i.i: ; preds = %loop.i.i
224 exit.i.i: ; preds = %in.bounds.i.i, %loop.i
228 br i1 %next.i, label %loop.i, label %with_parent.exit
231 br label %loop.i6
233 loop.i6: ; preds = %inner_loop.exit.i16, %with_parent.exit
239 br i1 %first.itr.check.i.i5, label %loop.i.i10, label %exit.i.i15
241 loop.i.i10: ; preds = %in.bounds.i.i13, %loop.i6
242 %idx.i.i7 = phi i32 [ 0, %loop.i6 ], [ %idx.next.i.i8, %in.bounds.i.i13 ]
247 in.bounds.i.i13: ; preds = %loop.i.i10
251 br i1 %next.i.i12, label %loop.i.i10, label %exit.i.i15
253 out.of.bounds.i.i14: ; preds = %loop.i.i10
256 exit.i.i15: ; preds = %in.bounds.i.i13, %loop.i6
260 br i1 %next.i3, label %loop.i6, label %with_parent.exit17
263 br i1 %next, label %loop, label %exit
271 ; CHECK: irce: in function with_uncle: constrained Loop at depth 2 containing: %loop.i<header><exit…
272 ; CHECK: irce: in function with_uncle: constrained Loop at depth 3 containing: %loop.i.i<header><ex…
275 br label %loop
277 loop: ; preds = %with_parent.exit, %entry
283 br i1 %first.itr.check.i, label %loop.i, label %exit.i
285 loop.i: ; preds = %in.bounds.i, %loop
286 %idx.i = phi i32 [ 0, %loop ], [ %idx.next.i, %in.bounds.i ]
291 in.bounds.i: ; preds = %loop.i
295 br i1 %next.i, label %loop.i, label %exit.i
297 out.of.bounds.i: ; preds = %loop.i
300 exit.i: ; preds = %in.bounds.i, %loop
304 br label %loop.i4
306 loop.i4: ; preds = %inner_loop.exit.i, %inner_loop.exit
312 br i1 %first.itr.check.i.i, label %loop.i.i, label %exit.i.i
314 loop.i.i: ; preds = %in.bounds.i.i, %loop.i4
315 %idx.i.i = phi i32 [ 0, %loop.i4 ], [ %idx.next.i.i, %in.bounds.i.i ]
320 in.bounds.i.i: ; preds = %loop.i.i
324 br i1 %next.i.i, label %loop.i.i, label %exit.i.i
326 out.of.bounds.i.i: ; preds = %loop.i.i
329 exit.i.i: ; preds = %in.bounds.i.i, %loop.i4
333 br i1 %next.i3, label %loop.i4, label %with_parent.exit
336 br i1 %next, label %loop, label %exit