Searched refs:dcast (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/fs.enum/ |
| H A D | check_bitmask_types.h | 19 static constexpr UT dcast(EnumType e) { return static_cast<UT>(e); } in dcast() function 42 static_assert(dcast(Val1 & Val2) == (UVal1 & UVal2), ""); in check() 45 static_assert(dcast(Val1 | Val2) == (UVal1 | UVal2), ""); in check() 48 static_assert(dcast(Val1 ^ Val2) == (UVal1 ^ UVal2), ""); in check() 50 static_assert(dcast(~Zero) == unpromote(~UZero), ""); in check() 51 static_assert(dcast(~Val1) == unpromote(~UVal1), ""); in check() 57 assert(dcast(eref) == (UVal1 & UVal2)); in check() 63 assert(dcast(eref) == (UVal1 | UVal2)); in check() 69 assert(dcast(eref) == (UVal1 ^ UVal2)); in check()
|
| /llvm-project-15.0.7/mlir/test/Dialect/Quant/ |
| H A D | convert-const.mlir | 18 %2 = "quant.dcast"(%1) : (tensor<4x!quant.uniform<u8:f32, 7.812500e-03:128>>) -> (tensor<4xf32>) 30 %2 = "quant.dcast"(%1) : (tensor<4x!quant.uniform<i8:f32, 7.812500e-03:-1>>) -> (tensor<4xf32>) 42 %2 = "quant.dcast"(%1) : (tensor<4x!quant.uniform<i8:f32, 7.812500e-03>>) -> (tensor<4xf32>) 53 %2 = "quant.dcast"(%1) : (tensor<4x!quant.uniform<i8:f32, 7.812500e-03>>) -> (tensor<4xf32>) 64 %2 = "quant.dcast"(%1) : (tensor<7x!quant.uniform<i8:f32, 7.812500e-03>>) -> (tensor<7xf32>) 90 %2 = "quant.dcast"(%1) : (!quant.uniform<i8:f32, 7.812500e-03>) -> (f32) 102 %2 = "quant.dcast"(%1) : (tensor<7x!quant.uniform<u4:f32, 1.250000e-01:8>>) -> (tensor<7xf32>) 125 %2 = "quant.dcast"(%1) : (tensor<7x!quant.uniform<i4:f32, 1.250000e-01>>) -> (tensor<7xf32>) 157 %2 = "quant.dcast"(%1) : (tensor<7x!quant.uniform<i8:f32, 1.0>>) -> (tensor<7xf32>) 165 %6 = "quant.dcast"(%5) : (tensor<7x!quant.uniform<u8:f32, 1.0>>) -> (tensor<7xf32>) [all …]
|
| H A D | convert-fakequant.mlir | 10 // CHECK-NEXT: "quant.dcast"(%[[qc]]) : (tensor<8x4x3x!quant.uniform<u8:f32, 1.000000e+00>>) 25 …// CHECK-NEXT: "quant.dcast"(%[[qc]]) : (tensor<8x4x3x!quant.uniform<u8<1:255>:f32, 1.000000e+00:1… 40 …// CHECK-NEXT: %1 = "quant.dcast"(%0) : (tensor<8x4x3x!quant.uniform<u8:f32, 0.0039215686274509803… 70 // CHECK-NEXT: %1 = "quant.dcast"(%0) : (tensor<8x4x3x!quant.uniform<u8:f32, 7.812500e-03:128>>) 85 // CHECK-NEXT: "quant.dcast"(%[[qc]]) : (tensor<8x4x3x!quant.uniform<i8:f32, 1.000000e+00:-128>>) 115 …// CHECK-NEXT: %1 = "quant.dcast"(%0) : (tensor<8x4x3x!quant.uniform<i8:f32, 0.0039215686274509803… 145 // CHECK-NEXT: %1 = "quant.dcast"(%0) : (tensor<8x4x3x!quant.uniform<i8:f32, 7.812500e-03>>) 161 // CHECK-NEXT: %1 = "quant.dcast"(%0) : (tensor<8x4x3x!quant.uniform<i16:f32, 3.0517578125E-5>>) 176 // CHECK-NEXT: %1 = "quant.dcast"(%0) : (tensor<!quant.uniform<u8:f32, 0.0039215686274509803>>) 207 …// CHECK-NEXT: "quant.dcast"(%[[qc]]) : (tensor<8x4x3x!quant.uniform<i8:f32, 0.0039215686274509803… [all …]
|
| /llvm-project-15.0.7/compiler-rt/test/cfi/ |
| H A D | stats.cpp | 28 extern "C" __attribute__((noinline)) A *dcast(A *a) { in dcast() function 50 dcast(&a); in main()
|
| /llvm-project-15.0.7/compiler-rt/test/cfi/cross-dso/ |
| H A D | stats.cpp | 36 extern "C" __attribute__((noinline)) A *dcast(A *a) { in dcast() function 58 dcast(&a); in main()
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | cfi-stats.cpp | 32 extern "C" void dcast(A *a) { in dcast() function
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/Quant/ |
| H A D | QuantOps.td | 45 // qcast/dcast at points where a transition to a quantized type is 55 // A DequantizeCast op (dcast) represents the inverse of a qcast, 58 // Like qcasts, a dcast is allowed to have both its operand and result 65 def quant_DequantizeCastOp : quant_Op<"dcast", [NoSideEffect]> {
|
| /llvm-project-15.0.7/mlir/docs/ |
| H A D | Quantization.md | 211 * dcast : Convert from a QuantizedType to its expressed type 240 a sequence of *qcast* (quantize) followed by *dcast* (dequantize) with an
|