Lines Matching refs:arith
4 %c0 = arith.constant 0 : index
5 %c1 = arith.constant 1 : index
6 %c4 = arith.constant 4 : index
8 %0 = arith.addi %arg2, %i : index
9 %1 = arith.muli %0, %c4 : index
11 %3 = arith.muli %2, %2 : i32
19 // CHECK: %[[C0:.*]] = arith.constant 0 : index
20 // CHECK: %[[C1:.*]] = arith.constant 1 : index
21 // CHECK: %[[C4:.*]] = arith.constant 4 : index
22 // CHECK: %[[I0:.*]] = arith.addi %[[ARG2]], %[[C0]] : index
23 // CHECK: %[[I1:.*]] = arith.addi %[[ARG2]], %[[ARG1]] : index
24 // CHECK: %[[I2:.*]] = arith.muli %[[I1]], %[[C4]] : index
25 // CHECK: %[[I3:.*]] = arith.muli %[[C1]], %[[C4]] : index
28 // CHECK: %[[I5:.*]] = arith.muli %[[I4]], %[[I4]] : i32
32 %c0 = arith.constant 0 : index
33 %c1 = arith.constant 1 : index
34 %c4 = arith.constant 4 : index
35 %c10 = arith.constant 10 : index
38 %0 = arith.addi %arg2, %i : index
39 %1 = arith.muli %0, %c4 : index
41 %3 = arith.muli %2, %2 : i32
50 // CHECK: %[[C0:.*]] = arith.constant 0 : index
51 // CHECK: %[[C1:.*]] = arith.constant 1 : index
52 // CHECK: %[[C4:.*]] = arith.constant 4 : index
53 // CHECK: %[[C10:.*]] = arith.constant 10 : index
55 // CHECK: %[[I0:.*]] = arith.addi %[[ARG2]], %[[C0]] : index
56 // CHECK: %[[I1:.*]] = arith.addi %[[ARG2]], %[[ARG1]] : index
57 // CHECK: %[[I2:.*]] = arith.muli %[[I1]], %[[C4]] : index
58 // CHECK: %[[I3:.*]] = arith.muli %[[C1]], %[[C4]] : index
61 // CHECK: %[[I5:.*]] = arith.muli %[[I4]], %[[I4]] : i32
65 %c0 = arith.constant 0 : index
66 %c1 = arith.constant 1 : index
67 %c4 = arith.constant 4 : index
68 %c10 = arith.constant 10 : index
71 %0 = arith.addi %arg2, %i : index
72 %1 = arith.muli %0, %c4 : index
74 %3 = arith.muli %2, %2 : i32
83 // CHECK: %[[C0:.*]] = arith.constant 0 : index
84 // CHECK: %[[C1:.*]] = arith.constant 1 : index
85 // CHECK: %[[C4:.*]] = arith.constant 4 : index
86 // CHECK: %[[C10:.*]] = arith.constant 10 : index
87 // CHECK: %[[I0:.*]] = arith.addi %[[ARG2]], %[[C0]] : index
88 // CHECK: %[[I1:.*]] = arith.addi %[[ARG2]], %[[C10]] : index
90 // CHECK: %[[I1:.*]] = arith.addi %[[ARG2]], %[[ARG1]] : index
91 // CHECK: %[[I2:.*]] = arith.muli %[[I1]], %[[C4]] : index
92 // CHECK: %[[I3:.*]] = arith.muli %[[C1]], %[[C4]] : index
95 // CHECK: %[[I5:.*]] = arith.muli %[[I4]], %[[I4]] : i32
99 // perform the optimization, as is the case with the arith.muli below. (If
102 %c0 = arith.constant 0 : index
103 %c1 = arith.constant 1 : index
104 %c4 = arith.constant 4 : index
106 %0 = arith.addi %arg2, %i : index
107 %1 = arith.addi %arg2, %c4 : index
108 %2 = arith.muli %0, %1 : index
110 %4 = arith.muli %3, %3 : i32
118 // CHECK: %[[C0:.*]] = arith.constant 0 : index
119 // CHECK: %[[C1:.*]] = arith.constant 1 : index
120 // CHECK: %[[C4:.*]] = arith.constant 4 : index
121 // CHECK: %[[I0:.*]] = arith.addi %[[ARG2]], %[[C0]] : index
122 // CHECK: %[[I1:.*]] = arith.addi %[[ARG2]], %[[ARG1]] : index
124 // CHECK: %[[I2:.*]] = arith.addi %[[ARG2]], %[[C4]] : index
125 // CHECK: %[[I3:.*]] = arith.muli %[[I]], %[[I2]] : index
127 // CHECK: %[[I5:.*]] = arith.muli %[[I4]], %[[I4]] : i32