Lines Matching refs:UNROLL
3 …orce-vector-interleave=2 -force-vector-width=2 -instcombine -S | FileCheck %s --check-prefix=UNROLL
4 …rize -force-vector-interleave=2 -force-vector-width=2 -S | FileCheck %s --check-prefix=UNROLL-NO-IC
85 ; UNROLL-NO-IC-LABEL: @scalarize_induction_variable_01(
86 ; UNROLL-NO-IC: vector.body:
87 ; UNROLL-NO-IC: %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
88 ; UNROLL-NO-IC: %[[i0:.+]] = add i64 %index, 0
89 ; UNROLL-NO-IC: %[[i1:.+]] = add i64 %index, 1
90 ; UNROLL-NO-IC: %[[i2:.+]] = add i64 %index, 2
91 ; UNROLL-NO-IC: %[[i3:.+]] = add i64 %index, 3
92 ; UNROLL-NO-IC: getelementptr inbounds i64, i64* %a, i64 %[[i0]]
93 ; UNROLL-NO-IC: getelementptr inbounds i64, i64* %a, i64 %[[i1]]
94 ; UNROLL-NO-IC: getelementptr inbounds i64, i64* %a, i64 %[[i2]]
95 ; UNROLL-NO-IC: getelementptr inbounds i64, i64* %a, i64 %[[i3]]
103 ; UNROLL-LABEL: @scalarize_induction_variable_01(
104 ; UNROLL: vector.body:
105 ; UNROLL: %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
106 ; UNROLL-NOT: add i64 {{.*}}, 4
107 ; UNROLL: %[[g1:.+]] = getelementptr inbounds i64, i64* %a, i64 %index
108 ; UNROLL: getelementptr i64, i64* %[[g1]], i64 2
147 ; UNROLL-NO-IC-LABEL: @scalarize_induction_variable_02(
148 ; UNROLL-NO-IC: vector.body:
149 ; UNROLL-NO-IC: %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
150 ; UNROLL-NO-IC: %offset.idx = shl i64 %index, 3
151 ; UNROLL-NO-IC: %[[i0:.+]] = add i64 %offset.idx, 0
152 ; UNROLL-NO-IC: %[[i1:.+]] = add i64 %offset.idx, 8
153 ; UNROLL-NO-IC: %[[i2:.+]] = add i64 %offset.idx, 16
154 ; UNROLL-NO-IC: %[[i3:.+]] = add i64 %offset.idx, 24
155 ; UNROLL-NO-IC: getelementptr inbounds float, float* %a, i64 %[[i0]]
156 ; UNROLL-NO-IC: getelementptr inbounds float, float* %a, i64 %[[i1]]
157 ; UNROLL-NO-IC: getelementptr inbounds float, float* %a, i64 %[[i2]]
158 ; UNROLL-NO-IC: getelementptr inbounds float, float* %a, i64 %[[i3]]
159 ; UNROLL-NO-IC: getelementptr inbounds float, float* %b, i64 %[[i0]]
160 ; UNROLL-NO-IC: getelementptr inbounds float, float* %b, i64 %[[i1]]
161 ; UNROLL-NO-IC: getelementptr inbounds float, float* %b, i64 %[[i2]]
162 ; UNROLL-NO-IC: getelementptr inbounds float, float* %b, i64 %[[i3]]
172 ; UNROLL-LABEL: @scalarize_induction_variable_02(
173 ; UNROLL: vector.body:
174 ; UNROLL: %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
175 ; UNROLL: %[[i0:.+]] = shl i64 %index, 3
176 ; UNROLL: %[[i1:.+]] = or i64 %[[i0]], 8
177 ; UNROLL: %[[i2:.+]] = or i64 %[[i0]], 16
178 ; UNROLL: %[[i3:.+]] = or i64 %[[i0]], 24
179 ; UNROLL: getelementptr inbounds float, float* %a, i64 %[[i0]]
180 ; UNROLL: getelementptr inbounds float, float* %a, i64 %[[i1]]
181 ; UNROLL: getelementptr inbounds float, float* %a, i64 %[[i2]]
182 ; UNROLL: getelementptr inbounds float, float* %a, i64 %[[i3]]
445 ; UNROLL-LABEL: veciv
446 ; UNROLL: vector.body:
447 ; UNROLL: %index = phi i32 [ 0, %vector.ph ], [ %index.next, %vector.body ]
448 ; UNROLL: %vec.ind = phi <2 x i32> [ <i32 0, i32 1>, %vector.ph ], [ %step.add1, %vector.body ]
449 ; UNROLL: %step.add = add <2 x i32> %vec.ind, <i32 2, i32 2>
450 ; UNROLL: %step.add1 = add <2 x i32> %vec.ind, <i32 4, i32 4>
451 ; UNROLL: %index.next = add i32 %index, 4
452 ; UNROLL: %[[CMP:.*]] = icmp eq i32 %index.next
453 ; UNROLL: br i1 %[[CMP]]
507 ; UNROLL-LABEL: nonprimary
508 ; UNROLL-LABEL: vector.ph
509 ; UNROLL: %[[INSERT:.*]] = insertelement <2 x i32> undef, i32 %i, i32 0
510 ; UNROLL: %[[SPLAT:.*]] = shufflevector <2 x i32> %[[INSERT]], <2 x i32> undef, <2 x i32> zeroiniti…
511 ; UNROLL: %[[START:.*]] = add <2 x i32> %[[SPLAT]], <i32 0, i32 42>
512 ; UNROLL-LABEL: vector.body:
513 ; UNROLL: %index = phi i32 [ 0, %vector.ph ], [ %index.next, %vector.body ]
514 ; UNROLL: %vec.ind = phi <2 x i32> [ %[[START]], %vector.ph ], [ %step.add1, %vector.body ]
515 ; UNROLL: %step.add = add <2 x i32> %vec.ind, <i32 84, i32 84>
516 ; UNROLL: %step.add1 = add <2 x i32> %vec.ind, <i32 168, i32 168>
517 ; UNROLL: %index.next = add i32 %index, 4
518 ; UNROLL: %[[CMP:.*]] = icmp eq i32 %index.next
519 ; UNROLL: br i1 %[[CMP]]