/external/tensorflow/tensorflow/lite/kernels/ |
D | pad_test.cc | 319 template <typename integer_type, TensorType tensor_dtype> 337 template <typename integer_type, TensorType tensor_dtype> 343 m.template SetQuantizedInput<integer_type>({-0.8, 0.2, 0.9, 0.7}); in SimpleConstTest() 345 EXPECT_THAT(m.template GetDequantizedOutput<integer_type>(), in SimpleConstTest() 359 template <typename integer_type, TensorType tensor_dtype> 363 m.template SetQuantizedInput<integer_type>({-0.8, 0.2, 0.9, 0.7}); in SimpleDynamicTest() 366 EXPECT_THAT(m.template GetDequantizedOutput<integer_type>(), in SimpleDynamicTest() 380 template <typename integer_type, TensorType tensor_dtype> 384 m.template SetQuantizedInput<integer_type>({-0.8, 0.2, 0.9, 0.7, 0.1, -0.3}); in AdvancedConstTest() 386 EXPECT_THAT(m.template GetDequantizedOutput<integer_type>(), in AdvancedConstTest() [all …]
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | const_folding_rules.cpp | 355 const analysis::Integer* integer_type = result_type->AsInteger(); in FoldFToIOp() local 358 assert(integer_type != nullptr); in FoldFToIOp() 359 if (integer_type->width() != 32) return nullptr; in FoldFToIOp() 362 uint32_t result = integer_type->IsSigned() in FoldFToIOp() 369 uint32_t result = integer_type->IsSigned() in FoldFToIOp() 386 const analysis::Integer* integer_type = a->type()->AsInteger(); in FoldIToFOp() local 389 assert(integer_type != nullptr); in FoldIToFOp() 390 if (integer_type->width() != 32) return nullptr; in FoldIToFOp() 393 float result_val = integer_type->IsSigned() in FoldIToFOp() 400 double result_val = integer_type->IsSigned() in FoldIToFOp()
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | const_folding_rules.cpp | 355 const analysis::Integer* integer_type = result_type->AsInteger(); in FoldFToIOp() local 358 assert(integer_type != nullptr); in FoldFToIOp() 359 if (integer_type->width() != 32) return nullptr; in FoldFToIOp() 362 uint32_t result = integer_type->IsSigned() in FoldFToIOp() 369 uint32_t result = integer_type->IsSigned() in FoldFToIOp() 386 const analysis::Integer* integer_type = a->type()->AsInteger(); in FoldIToFOp() local 389 assert(integer_type != nullptr); in FoldIToFOp() 390 if (integer_type->width() != 32) return nullptr; in FoldIToFOp() 393 float result_val = integer_type->IsSigned() in FoldIToFOp() 400 double result_val = integer_type->IsSigned() in FoldIToFOp()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | elemental_ir_emitter.cc | 1174 llvm::IntegerType* integer_type = in SaturateShiftIfNecessary() local 1176 unsigned integer_bitsize = integer_type->getBitWidth(); in SaturateShiftIfNecessary() 1178 llvm::ConstantInt::get(integer_type, integer_bitsize); in SaturateShiftIfNecessary() 1179 llvm::ConstantInt* zero = llvm::ConstantInt::get(integer_type, 0); in SaturateShiftIfNecessary() 1180 llvm::ConstantInt* minus_one = llvm::ConstantInt::get(integer_type, -1); in SaturateShiftIfNecessary() 1202 auto* integer_type = llvm::cast<llvm::IntegerType>(type); in GetIntSMin() local 1203 return llvm::ConstantInt::get(integer_type, llvm::APInt::getSignedMinValue( in GetIntSMin() 1204 integer_type->getBitWidth())); in GetIntSMin() 1208 auto* integer_type = llvm::cast<llvm::IntegerType>(type); in GetMinusOne() local 1210 integer_type, llvm::APInt::getAllOnesValue(integer_type->getBitWidth())); in GetMinusOne()
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | vector_support_library.cc | 139 llvm::Type* integer_type = IntegerTypeForFloatSize(is_vector); in I1ToFloat() local 140 return b()->CreateBitCast(b()->CreateSExt(i1, integer_type, name()), in I1ToFloat()
|
/external/mesa3d/src/intel/compiler/ |
D | brw_eu_emit.c | 407 unsigned integer_type, in brw_set_math_message() argument 443 brw_inst_set_math_msg_signed_int(devinfo, inst, integer_type); in brw_set_math_message()
|
/external/llvm/bindings/ocaml/llvm/ |
D | llvm.ml | 367 external integer_type : llcontext -> int -> lltype = "llvm_integer_type"
|
D | llvm.mli | 543 (** [integer_type c n] returns an integer type of bitwidth [n] in the context 545 val integer_type : llcontext -> int -> lltype val
|
/external/swiftshader/third_party/LLVM/bindings/ocaml/llvm/ |
D | llvm.ml | 278 external integer_type : llcontext -> int -> lltype = "llvm_integer_type"
|
D | llvm.mli | 410 (** [integer_type c n] returns an integer type of bitwidth [n] in the context 412 val integer_type : llcontext -> int -> lltype val
|
/external/swiftshader/third_party/llvm-7.0/llvm/bindings/ocaml/llvm/ |
D | llvm.ml | 433 external integer_type : llcontext -> int -> lltype = "llvm_integer_type"
|
D | llvm.mli | 564 (** [integer_type c n] returns an integer type of bitwidth [n] in the context 566 val integer_type : llcontext -> int -> lltype val
|
/external/swiftshader/third_party/LLVM/test/Bindings/Ocaml/ |
D | vmcore.ml | 285 let i128_type = integer_type context 128 in
|
/external/llvm/test/Bindings/OCaml/ |
D | core.ml | 337 let i128_type = integer_type context 128 in
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Bindings/OCaml/ |
D | core.ml | 347 let i128_type = integer_type context 128 in
|