Home
last modified time | relevance | path

Searched refs:dcast (Results 1 – 17 of 17) sorted by relevance

/external/libcxx/test/std/input.output/filesystems/fs.enum/
Dcheck_bitmask_types.hpp19 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/
Dcheck_bitmask_types.h19 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/
Dtfl_to_std.cc30 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/
Dconvert-const.mlir18 %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 …]
Dconvert-fakequant.mlir10 // 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/
Dstats.cpp28 extern "C" __attribute__((noinline)) A *dcast(A *a) { in dcast() function
50 dcast(&a); in main()
/external/compiler-rt/test/cfi/
Dstats.cpp25 extern "C" __attribute__((noinline)) A *dcast(A *a) { in dcast() function
47 dcast(&a); in main()
/external/compiler-rt/test/cfi/cross-dso/
Dstats.cpp30 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/
Dstats.cpp36 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/
Dtf_to_quant.mlir12 // 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/
Dcfi-stats.cpp32 extern "C" void dcast(A *a) { in dcast() function
/external/clang/test/CodeGenCXX/
Dcfi-stats.cpp32 extern "C" void dcast(A *a) { in dcast() function
/external/llvm-project/mlir/include/mlir/Dialect/Quant/
DQuantOps.td44 // 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/
DQuantization.md207 * 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/
Dmarisa-swig_wrap.cxx335 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/
Dmarisa-swig_wrap.cxx443 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/
Dmarisa-swig_wrap.cxx339 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()