Searched refs:scast (Results 1 – 7 of 7) sorted by relevance
/external/llvm-project/mlir/test/Dialect/Quant/ |
D | canonicalize.mlir | 9 %1 = "quant.scast"(%cst) : (tensor<4xi8>) -> tensor<4x!quant.uniform<u8:f32, 7.812500e-03:128>> 10 %2 = "quant.scast"(%1) : (tensor<4x!quant.uniform<u8:f32, 7.812500e-03:128>>) -> tensor<4xi8> 19 // CHECK-NEXT: scast 22 %1 = "quant.scast"(%cst) : (tensor<4xi8>) -> tensor<4x!quant.uniform<u8:f32, 7.812500e-03:128>>
|
D | convert-const.mlir | 15 …// CHECK-NEXT: %0 = "quant.scast"(%cst) : (tensor<4xi8>) -> tensor<4x!quant.uniform<u8:f32, 7.8125… 27 …// CHECK-NEXT: %0 = "quant.scast"(%cst) : (tensor<4xi8>) -> tensor<4x!quant.uniform<i8:f32, 7.8125… 39 …// CHECK-NEXT: %0 = "quant.scast"(%cst) : (tensor<4xi8>) -> tensor<4x!quant.uniform<i8:f32, 7.8125… 87 // CHECK-NEXT: %0 = "quant.scast"(%c64_i8) : (i8) -> !quant.uniform<i8:f32, 7.812500e-03> 150 // CHECK: "quant.scast"(%[[cst0]]) : (tensor<7xi8>) -> tensor<7x!quant.uniform<i8:f32, 1.000000e+00… 151 // CHECK: "quant.scast"(%[[cst]]) : (tensor<7xi8>) -> tensor<7x!quant.uniform<i8<-127:127>:f32, 1.0… 152 // CHECK: "quant.scast"(%[[cst0]]) : (tensor<7xi8>) -> tensor<7x!quant.uniform<u8:f32, 1.000000e+00… 153 // CHECK: "quant.scast"(%[[cst1]]) : (tensor<7xi8>) -> tensor<7x!quant.uniform<u8<1:255>:f32, 1.000… 181 // CHECK: "quant.scast"(%[[cst]]) : (tensor<2x3xi8>) -> tensor<2x3x!quant.uniform<i8:f32:0, {7.8125… 182 // CHECK: "quant.scast"(%cst_0) : (tensor<2x3xi8>) -> tensor<2x3x!quant.uniform<i8:f32:1, {7.812500…
|
/external/swiftshader/src/Renderer/ |
D | Surface.cpp | 100 *(char*)element = scast<8>(r); in write() 106 *(short*)element = scast<16>(r); in write() 161 *(unsigned int*)element = (static_cast<unsigned int>(scast<8>(a)) << 24) | in write() 162 (static_cast<unsigned int>(scast<8>(b)) << 16) | in write() 163 (static_cast<unsigned int>(scast<8>(g)) << 8) | in write() 164 (static_cast<unsigned int>(scast<8>(r)) << 0); in write() 181 (static_cast<unsigned int>(scast<8>(b)) << 16) | in write() 182 (static_cast<unsigned int>(scast<8>(g)) << 8) | in write() 183 (static_cast<unsigned int>(scast<8>(r)) << 0); in write() 202 *(unsigned short*)element = (static_cast<unsigned short>(scast<8>(g)) << 8) | in write() [all …]
|
/external/swiftshader/src/System/ |
D | Math.hpp | 294 inline int scast(float x) in scast() function
|
/external/swiftshader/src/Common/ |
D | Math.hpp | 326 inline int scast(float x) in scast() function
|
/external/llvm-project/mlir/include/mlir/Dialect/Quant/ |
D | QuantOps.td | 69 // A StorageCast (scast) represents a cast from or to a type based on the 80 def quant_StorageCastOp : quant_Op<"scast", [NoSideEffect]> {
|
/external/llvm-project/mlir/docs/ |
D | Quantization.md | 208 * scast : Convert between a QuantizedType and its storage type
|