/external/libcxx/test/std/input.output/filesystems/fs.enum/ |
D | check_bitmask_types.hpp | 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()
|
/external/llvm-project/libcxx/test/std/input.output/filesystems/fs.enum/ |
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()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/lite/ |
D | tfl_to_std.cc | 30 auto dcast = b.create<quant::DequantizeCastOp>( in ConvertTFLQuantOpsToMlirQuantOps() local 32 dq.output().replaceAllUsesWith(dcast); in ConvertTFLQuantOpsToMlirQuantOps() 48 auto dcast = b.create<DequantizeOp>(dq.getLoc(), dq.getResult().getType(), in ConvertMlirQuantOpsToTFLQuantOps() local 50 dq.getResult().replaceAllUsesWith(dcast); in ConvertMlirQuantOpsToTFLQuantOps() 52 dcast->setAttr(mlir::quant::kVolatileOpAttrName, extra_attr); in ConvertMlirQuantOpsToTFLQuantOps()
|
/external/llvm-project/mlir/test/Dialect/Quant/ |
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>) 78 %2 = "quant.dcast"(%1) : (tensor<7x2x!quant.uniform<i8:f32, 7.812500e-03>>) -> (tensor<7x2xf32>) 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>) 114 %2 = "quant.dcast"(%1) : (tensor<7x!quant.uniform<i4:f32, 1.250000e-01:-1>>) -> (tensor<7xf32>) 125 %2 = "quant.dcast"(%1) : (tensor<7x!quant.uniform<i4:f32, 1.250000e-01>>) -> (tensor<7xf32>) [all …]
|
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… 55 …// CHECK-NEXT: %1 = "quant.dcast"(%0) : (tensor<8x4x3x!quant.uniform<u8<1:255>:f32, 0.003937007874… 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>>) 100 …// CHECK-NEXT: "quant.dcast"(%[[qc]]) : (tensor<8x4x3x!quant.uniform<i8<-127:127>:f32, 1.000000e+0… 115 …// CHECK-NEXT: %1 = "quant.dcast"(%0) : (tensor<8x4x3x!quant.uniform<i8:f32, 0.0039215686274509803… 130 …// CHECK-NEXT: %1 = "quant.dcast"(%0) : (tensor<8x4x3x!quant.uniform<i8<-127:127>:f32, 0.003937007… 145 // CHECK-NEXT: %1 = "quant.dcast"(%0) : (tensor<8x4x3x!quant.uniform<i8:f32, 7.812500e-03>>) [all …]
|
/external/llvm-project/compiler-rt/test/cfi/ |
D | stats.cpp | 28 extern "C" __attribute__((noinline)) A *dcast(A *a) { in dcast() function 50 dcast(&a); in main()
|
/external/compiler-rt/test/cfi/ |
D | stats.cpp | 25 extern "C" __attribute__((noinline)) A *dcast(A *a) { in dcast() function 47 dcast(&a); in main()
|
/external/compiler-rt/test/cfi/cross-dso/ |
D | stats.cpp | 30 extern "C" __attribute__((noinline)) A *dcast(A *a) { in dcast() function 52 dcast(&a); in main()
|
/external/llvm-project/compiler-rt/test/cfi/cross-dso/ |
D | stats.cpp | 36 extern "C" __attribute__((noinline)) A *dcast(A *a) { in dcast() function 58 dcast(&a); in main()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/tensorflow/tests/ |
D | tf_to_quant.mlir | 12 // CHECK: %[[dq:.*]] = "quant.dcast"(%[[q]]) 26 // CHECK: %2 = "quant.dcast"(%1) 56 // CHECK: %[[DEQUANTIZE:.*]] = "quant.dcast"(%[[QUANTIZE]]) 84 // CHECK: %[[DEQUANTIZE:.*]] = "quant.dcast"(%[[QUANTIZE]]) 105 // CHECK: %[[DEQUANTIZE:.*]] = "quant.dcast"(%[[QUANTIZE]]) 124 // CHECK: %[[DEQUANTIZE:.*]] = "quant.dcast"(%[[QUANTIZE]]) 145 // CHECK: %[[DEQUANTIZE:.*]] = "quant.dcast"(%[[QUANTIZE]])
|
/external/llvm-project/clang/test/CodeGenCXX/ |
D | cfi-stats.cpp | 32 extern "C" void dcast(A *a) { in dcast() function
|
/external/clang/test/CodeGenCXX/ |
D | cfi-stats.cpp | 32 extern "C" void dcast(A *a) { in dcast() function
|
/external/llvm-project/mlir/include/mlir/Dialect/Quant/ |
D | QuantOps.td | 44 // qcast/dcast at points where a transition to a quantized type is 54 // A DequantizeCast op (dcast) represents the inverse of a qcast, 57 // Like qcasts, a dcast is allowed to have both its operand and result 64 def quant_DequantizeCastOp : quant_Op<"dcast", [NoSideEffect]> {
|
/external/llvm-project/mlir/docs/ |
D | Quantization.md | 207 * dcast : Convert from a QuantizedType to its expressed type 236 a sequence of *qcast* (quantize) followed by *dcast* (dequantize) with an
|
/external/marisa-trie/bindings/perl/ |
D | marisa-swig_wrap.cxx | 335 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */ member 486 if (!ty || !ty->dcast) return ty; in SWIG_TypeDynamicCast() 487 while (ty && (ty->dcast)) { in SWIG_TypeDynamicCast() 488 ty = (*ty->dcast)(ptr); in SWIG_TypeDynamicCast()
|
/external/marisa-trie/bindings/ruby/ |
D | marisa-swig_wrap.cxx | 443 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */ member 594 if (!ty || !ty->dcast) return ty; in SWIG_TypeDynamicCast() 595 while (ty && (ty->dcast)) { in SWIG_TypeDynamicCast() 596 ty = (*ty->dcast)(ptr); in SWIG_TypeDynamicCast()
|
/external/marisa-trie/bindings/python/ |
D | marisa-swig_wrap.cxx | 339 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */ member 490 if (!ty || !ty->dcast) return ty; in SWIG_TypeDynamicCast() 491 while (ty && (ty->dcast)) { in SWIG_TypeDynamicCast() 492 ty = (*ty->dcast)(ptr); in SWIG_TypeDynamicCast()
|