Lines Matching refs:arith

8   // CHECK-DAG: %[[scalingCstInit:.*]] = arith.constant 8.000000e+00 : f32
9 // CHECK-DAG: %[[bracketLowerBound4:.*]] = arith.constant 4 : index
10 // CHECK-DAG: %[[scalingCst4:.*]] = arith.constant 4.000000e+00 : f32
11 // CHECK-DAG: %[[bracketLowerBound8:.*]] = arith.constant 8 : index
12 // CHECK-DAG: %[[scalingCst8:.*]] = arith.constant 2.000000e+00 : f32
13 // CHECK-DAG: %[[bracketLowerBound16:.*]] = arith.constant 16 : index
14 // CHECK-DAG: %[[scalingCst16:.*]] = arith.constant 1.000000e+00 : f32
15 // CHECK-DAG: %[[bracketLowerBound32:.*]] = arith.constant 32 : index
16 // CHECK-DAG: %[[scalingCst32:.*]] = arith.constant 8.000000e-01 : f32
17 // CHECK-DAG: %[[bracketLowerBound64:.*]] = arith.constant 64 : index
18 // CHECK-DAG: %[[scalingCst64:.*]] = arith.constant 6.000000e-01 : f32
20 …// CHECK: %[[inBracket4:.*]] = arith.cmpi sgt, %[[workersIndex]], %[[bracketLowerBound4]] : in…
21 …// CHECK: %[[scalingFactor4:.*]] = arith.select %[[inBracket4]], %[[scalingCst4]], %[[scalingC…
22 …// CHECK: %[[inBracket8:.*]] = arith.cmpi sgt, %[[workersIndex]], %[[bracketLowerBound8]] : in…
23 …// CHECK: %[[scalingFactor8:.*]] = arith.select %[[inBracket8]], %[[scalingCst8]], %[[scalingF…
24 …// CHECK: %[[inBracket16:.*]] = arith.cmpi sgt, %[[workersIndex]], %[[bracketLowerBound16]] : …
25 …// CHECK: %[[scalingFactor16:.*]] = arith.select %[[inBracket16]], %[[scalingCst16]], %[[scali…
26 …// CHECK: %[[inBracket32:.*]] = arith.cmpi sgt, %[[workersIndex]], %[[bracketLowerBound32]] : …
27 …// CHECK: %[[scalingFactor32:.*]] = arith.select %[[inBracket32]], %[[scalingCst32]], %[[scali…
28 …// CHECK: %[[inBracket64:.*]] = arith.cmpi sgt, %[[workersIndex]], %[[bracketLowerBound64]] : …
29 …// CHECK: %[[scalingFactor64:.*]] = arith.select %[[inBracket64]], %[[scalingCst64]], %[[scali…
30 // CHECK: %[[workersInt:.*]] = arith.index_cast %[[workersIndex]] : index to i32
31 // CHECK: %[[workersFloat:.*]] = arith.sitofp %[[workersInt]] : i32 to f32
32 // CHECK: %[[scaledFloat:.*]] = arith.mulf %[[scalingFactor64]], %[[workersFloat]] : f32
33 // CHECK: %[[scaledInt:.*]] = arith.fptosi %[[scaledFloat]] : f32 to i32
34 // CHECK: %[[scaledIndex:.*]] = arith.index_cast %[[scaledInt]] : i32 to index
36 %lb = arith.constant 0 : index
37 %ub = arith.constant 100 : index
38 %st = arith.constant 1 : index
40 %one = arith.constant 1.0 : f32