Home
last modified time | relevance | path

Searched refs:getF32 (Results 1 – 20 of 20) sorted by relevance

/external/llvm-project/mlir/unittests/IR/
DAttributeTest.cpp121 FloatType floatTy = FloatType::getF32(&context); in TEST()
137 FloatType floatTy = FloatType::getF32(&context); in TEST()
169 ComplexType complexType = ComplexType::get(FloatType::getF32(&context)); in TEST()
183 ComplexType complexType = ComplexType::get(FloatType::getF32(&context)); in TEST()
/external/llvm-project/mlir/unittests/Dialect/Quant/
DQuantizationUtilsTest.cpp37 return FloatAttr::get(FloatType::getF32(ctx), value); in getTestFloatAttr()
43 auto eleType = FloatType::getF32(ctx); in getTestElementsAttr()
55 auto eleType = FloatType::getF32(ctx); in getTestSparseElementsAttr()
72 FloatType::getF32(ctx), /*scale=*/1.0, in getTestQuantizedType()
/external/llvm-project/mlir/test/EDSC/
Dbuilder-api-test.cpp66 auto f32Type = FloatType::getF32(&globalContext()); in TEST_FUNC()
314 auto f32Type = FloatType::getF32(&globalContext()); in TEST_FUNC()
614 auto f32Type = FloatType::getF32(&globalContext()); in TEST_FUNC()
725 FloatType::getF32(&globalContext()), {}, 0); in TEST_FUNC()
798 FloatType::getF32(&globalContext()), {}, 0); in TEST_FUNC()
832 MemRefType::get({}, FloatType::getF32(&globalContext()), {}, 0); in TEST_FUNC()
866 auto f32Type = FloatType::getF32(&globalContext()); in TEST_FUNC()
919 auto f32Type = FloatType::getF32(&globalContext()); in TEST_FUNC()
956 auto f32Type = FloatType::getF32(&globalContext()); in TEST_FUNC()
989 auto f32Type = FloatType::getF32(&globalContext()); in TEST_FUNC()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dconvert_tensor_test.cc134 {1.0, -1.0}, DT_FLOAT, mlir::FloatType::getF32(&context))); in TEST_F()
166 mlir::ComplexType::get(mlir::FloatType::getF32(&context)))); in TEST_F()
/external/tensorflow/tensorflow/compiler/mlir/python/mlir_wrapper/
Dtypes.cc32 .def("getF32", &mlir::FloatType::getF32) in init_types()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_types.cc155 if (isa<FloatRefType>()) return mlir::FloatType::getF32(ctx); in RemoveRef()
172 return mlir::ComplexType::get(mlir::FloatType::getF32(ctx)); in RemoveRef()
Dtf_ops_n_z.cc2595 UnrankedTensorType::get(FloatType::getF32(rewriter.getContext()))); in matchAndRewrite()
/external/llvm-project/mlir/unittests/TableGen/
DStructsGenTest.cpp31 auto floatType = mlir::FloatType::getF32(context); in getTestStruct()
/external/llvm-project/mlir/include/mlir/IR/
DBuiltinTypes.h168 static FloatType getF32(MLIRContext *ctx);
223 inline FloatType FloatType::getF32(MLIRContext *ctx) { in getF32() function
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/
Ddevice_target.cc39 f32_ = FloatType::getF32(ctx_); in DeviceTarget()
/external/flatbuffers/tests/MyGame/Example/
DTypeAliases.php125 public function getF32() function in MyGame\\Example\\TypeAliases
/external/llvm-project/mlir/test/lib/Dialect/Affine/
DTestVectorizationUtils.cpp108 VectorType::get(shape, FloatType::getF32(f.getContext())); in testVectorShapeRatio()
/external/llvm-project/flang/lib/Lower/
DRTBuilder.h136 return mlir::FloatType::getF32(context);
DConvertType.cpp77 return mlir::FloatType::getF32(context); in genFIRType()
DIntrinsicCall.cpp300 auto t = mlir::FloatType::getF32(context); in genF32F32FuncType()
318 auto t = mlir::FloatType::getF32(context); in genIntF32FuncType()
/external/llvm-project/mlir/lib/CAPI/IR/
DBuiltinTypes.cpp85 return wrap(FloatType::getF32(unwrap(ctx))); in mlirF32TypeGet()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dlower_tf.cc561 float_type = FloatType::getF32(context); in matchAndRewrite()
1222 FloatType::getF32(context)); in matchAndRewrite()
1224 tensor_type_f32 = UnrankedTensorType::get(FloatType::getF32(context)); in matchAndRewrite()
/external/llvm-project/mlir/lib/IR/
DBuilders.cpp49 FloatType Builder::getF32Type() { return FloatType::getF32(context); } in getF32Type()
/external/llvm-project/mlir/lib/Target/LLVMIR/
DConvertFromLLVMIR.cpp248 return b.getFloatAttr(FloatType::getF32(context), c->getValueAPF()); in getConstantAsAttr()
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dlegalize_tf.cc186 if (input_type.isBF16() || input_type.isF16()) return FloatType::getF32(ctx); in GetSumAccumulationType()
900 return (ty.isF16() || ty.isBF16()) ? FloatType::getF32(ty.getContext()) : ty; in GetAccumulationType()