Lines Matching refs:first
67 ; Test that `%add` is moved in for.first.preheader, and the two loops for.first
71 ; CHECK-LABEL: for.first.guard:
72 ; CHECK: br i1 %cmp.guard, label %for.first.preheader, label %for.end
73 ; CHECK-LABEL: for.first.preheader:
75 ; CHECK-NEXT: br label %for.first
76 ; CHECK-LABEL: for.first:
77 ; CHECK: br i1 %cmp.j, label %for.first, label %for.second.exit
83 for.first.guard:
85 br i1 %cmp.guard, label %for.first.preheader, label %for.second.guard
87 for.first.preheader:
88 br label %for.first
90 for.first:
91 %i = phi i64 [ %inc.i, %for.first ], [ 0, %for.first.preheader ]
96 br i1 %cmp.i, label %for.first, label %for.first.exit
98 for.first.exit:
123 ; Test that `%add` is moved in for.second.exit, and the two loops for.first
127 ; CHECK-LABEL: for.first.guard:
128 ; CHECK: br i1 %cmp.guard, label %for.first.preheader, label %for.end
129 ; CHECK-LABEL: for.first.preheader:
130 ; CHECK-NEXT: br label %for.first
131 ; CHECK-LABEL: for.first:
132 ; CHECK: br i1 %cmp.j, label %for.first, label %for.second.exit
139 for.first.guard:
141 br i1 %cmp.guard, label %for.first.preheader, label %for.second.guard
143 for.first.preheader:
144 br label %for.first
146 for.first:
147 %i.04 = phi i64 [ %inc, %for.first ], [ 0, %for.first.preheader ]
152 br i1 %cmp, label %for.first, label %for.first.exit
154 for.first.exit:
179 ; Test that `%add` is moved in for.first.guard, and the two loops for.first
183 ; CHECK-LABEL: for.first.guard:
186 ; CHECK: br i1 %cmp.guard, label %for.first.preheader, label %for.end
187 ; CHECK-LABEL: for.first.preheader:
188 ; CHECK-NEXT: br label %for.first
189 ; CHECK-LABEL: for.first:
190 ; CHECK: br i1 %cmp.j, label %for.first, label %for.second.exit
196 for.first.guard:
198 br i1 %cmp.guard, label %for.first.preheader, label %for.second.guard
200 for.first.preheader:
201 br label %for.first
203 for.first:
204 %i.04 = phi i64 [ %inc, %for.first ], [ 0, %for.first.preheader ]
209 br i1 %cmp, label %for.first, label %for.first.exit
211 for.first.exit:
237 ; from for.second.guard to for.first.guard, and the two loops for.first and
241 ; CHECK-LABEL: for.first.guard:
243 ; CHECK: br i1 %cmp.guard, label %for.first.preheader, label %for.end
244 ; CHECK-LABEL: for.first.preheader:
245 ; CHECK-NEXT: br label %for.first
246 ; CHECK-LABEL: for.first:
247 ; CHECK: br i1 %cmp.j, label %for.first, label %for.second.exit
251 ; CHECK-NEXT: %j.lcssa = phi i64 [ 0, %for.first.guard ], [ %j.02, %for.second.exit ]
255 for.first.guard:
257 br i1 %cmp.guard, label %for.first.preheader, label %for.second.guard
259 for.first.preheader:
260 br label %for.first
262 for.first:
263 %i.04 = phi i64 [ %inc, %for.first ], [ 0, %for.first.preheader ]
268 br i1 %cmp, label %for.first, label %for.first.exit
270 for.first.exit: