Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/unittests/Dialect/Quant/
H A 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()
/llvm-project-15.0.7/mlir/unittests/IR/
H A DAttributeTest.cpp120 FloatType floatTy = FloatType::getF32(&context); in TEST()
136 FloatType floatTy = FloatType::getF32(&context); in TEST()
170 ComplexType complexType = ComplexType::get(FloatType::getF32(&context)); in TEST()
184 ComplexType complexType = ComplexType::get(FloatType::getF32(&context)); in TEST()
212 FloatType floatTy = FloatType::getF32(&context); in TEST()
H A DShapedTypeTest.cpp26 Type f32 = FloatType::getF32(&context); in TEST()
73 Type f32 = FloatType::getF32(&context); in TEST()
113 Type f32 = FloatType::getF32(&context); in TEST()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DBuiltinTypes.h46 static FloatType getF32(MLIRContext *ctx);
392 inline FloatType FloatType::getF32(MLIRContext *ctx) { in getF32() function
/llvm-project-15.0.7/flang/unittests/Optimizer/Builder/
H A DComplexTest.cpp37 realTy1 = mlir::FloatType::getF32(&context); in SetUp()
H A DFIRBuilderTest.cpp434 mlir::Type f32Ty = mlir::FloatType::getF32(builder.getContext()); in TEST_F()
494 auto f32Ty = mlir::FloatType::getF32(builder.getContext()); in TEST_F()
/llvm-project-15.0.7/flang/include/flang/Optimizer/Builder/Runtime/
H A DRTBuilder.h201 return mlir::FloatType::getF32(context);
231 auto ty = mlir::ComplexType::get(mlir::FloatType::getF32(context));
/llvm-project-15.0.7/mlir/test/lib/Dialect/Affine/
H A DTestVectorizationUtils.cpp105 VectorType::get(shape, FloatType::getF32(f.getContext())); in testVectorShapeRatio()
/llvm-project-15.0.7/mlir/lib/CAPI/IR/
H A DBuiltinTypes.cpp86 return wrap(FloatType::getF32(unwrap(ctx))); in mlirF32TypeGet()
/llvm-project-15.0.7/mlir/lib/IR/
H A DBuilders.cpp40 FloatType Builder::getF32Type() { return FloatType::getF32(context); } in getF32Type()
H A DBuiltinTypes.cpp130 return FloatType::getF32(ctx); in scaleElementBitwidth()
/llvm-project-15.0.7/flang/lib/Lower/
H A DConvertType.cpp39 return mlir::FloatType::getF32(context); in genRealType()
H A DIntrinsicCall.cpp1051 mlir::Type t = mlir::FloatType::getF32(context); in genF32F32FuncType()
1071 auto t = mlir::FloatType::getF32(context); in genF32F32F32FuncType()
1099 auto t = mlir::FloatType::getF32(context); in genIntF32FuncType()
1113 auto ftype = mlir::FloatType::getF32(context); in genF32F32IntFuncType()
/llvm-project-15.0.7/flang/lib/Optimizer/Dialect/
H A DFIRType.cpp954 return mlir::FloatType::getF32(context); in fromRealTypeID()
/llvm-project-15.0.7/mlir/lib/Target/LLVMIR/
H A DConvertFromLLVMIR.cpp82 return FloatType::getF32(&ctx); in getDLFloatType()
/llvm-project-15.0.7/flang/lib/Optimizer/Builder/
H A DFIRBuilder.cpp72 return mlir::FloatType::getF32(getContext()); in getRealType()