Lines Matching refs:constant
3 /// Check that a constant is properly propagated when only one edge is taken.
7 // CHECK: %[[CST:.*]] = arith.constant 1 : i32
11 %cond = arith.constant true
13 %1 = arith.constant 1 : i32
21 /// Check that a constant is properly propagated when both edges produce the
26 // CHECK: %[[CST:.*]] = arith.constant 1 : i32
31 %1 = arith.constant 1 : i32
34 %2 = arith.constant 1 : i32
49 %1 = arith.constant 1 : i32
66 %1 = arith.constant 1 : i32
69 %2 = arith.constant 2 : i32
79 // CHECK: %[[CST:.*]] = arith.constant 0 : i32
83 %s0 = arith.constant 0 : i32
99 %s0 = arith.constant 1 : i32
113 // CHECK: %[[CST:.*]] = arith.constant 1 : i32
118 %cst_1 = arith.constant 1 : i32
120 %cst_20 = arith.constant 20 : i32
123 %1 = arith.constant 1 : i32
139 // CHECK: %c2_i32 = arith.constant 2 : i32
142 %c2_i32 = arith.constant 2 : i32
158 // CHECK: %[[C1:.*]] = arith.constant 1 : i32
159 %s0 = arith.constant 0 : i32
160 %s1 = arith.constant 1 : i32
171 // CHECK: %[[C1:.*]] = arith.constant 1 : i32
172 %s1 = arith.constant 1 : i32
183 // CHECK: %[[C0:.*]] = arith.constant 0 : i32
184 %s0 = arith.constant 0 : i32
195 // CHECK-DAG: %[[TRUE:.*]] = arith.constant true
196 // CHECK-DAG: %[[C0:.*]] = arith.constant 0
197 // CHECK-DAG: %[[C1:.*]] = arith.constant 1
198 %c0 = arith.constant 0 : index
199 %c1 = arith.constant 1 : index
217 // CHECK: %[[C0:.*]] = arith.constant 0
218 %c0 = arith.constant 0 : index
219 %c1 = arith.constant 1 : index