Home
last modified time | relevance | path

Searched refs:isF32 (Results 1 – 25 of 31) sorted by relevance

12

/llvm-project-15.0.7/mlir/test/mlir-tblgen/
H A Dpredicate.td11 def I32OrF32 : Type<CPred<"$_self.isInteger(32) || $_self.isF32()">,
20 // CHECK: if (!((type.isInteger(32) || type.isF32()))) {
25 // CHECK-NOT: if (!((type.isInteger(32) || type.isF32()))) {
35 …::TensorType>())) && ([](::mlir::Type elementType) { return ((elementType.isF32())) || ((elementTy…
H A Dop-attribute.td294 …ttr.isa<::mlir::FloatAttr>())) && ((tblgen_f32_attr.cast<::mlir::FloatAttr>().getType().isF32()))))
/llvm-project-15.0.7/flang/lib/Optimizer/Builder/Runtime/
H A DNumeric.cpp218 } else if (fltTy.isF32()) { in genExponent()
255 else if (fltTy.isF32()) in genFraction()
282 else if (fltTy.isF32()) in genNearest()
319 else if (fltTy.isF32()) in genRRSpacing()
346 else if (fltTy.isF32()) in genScale()
425 else if (fltTy.isF32()) in genSetExponent()
450 else if (fltTy.isF32()) in genSpacing()
H A DReduction.cpp550 else if (eleTy.isF32()) in genMaxval()
666 else if (eleTy.isF32()) in genMinval()
720 else if (eleTy.isF32()) in genProduct()
787 else if (eleTy.isF32()) in genDotProduct()
872 else if (eleTy.isF32()) in genSum()
/llvm-project-15.0.7/mlir/lib/Dialect/Math/Transforms/
H A DPolynomialApproximation.cpp307 if (getElementTypeOrSelf(origType).isF32() || in insertCasts()
368 if (!getElementTypeOrSelf(operand).isF32()) in matchAndRewrite()
425 if (!getElementTypeOrSelf(x).isF32()) in matchAndRewrite()
492 if (!getElementTypeOrSelf(op.getOperand()).isF32()) in matchAndRewrite()
580 if (!getElementTypeOrSelf(op.getOperand()).isF32()) in logMatchAndRewrite()
727 if (!getElementTypeOrSelf(op.getOperand()).isF32()) in matchAndRewrite()
774 if (!getElementTypeOrSelf(op.getOperand()).isF32()) in matchAndRewrite()
902 if (!getElementTypeOrSelf(op.getOperand()).isF32()) in matchAndRewrite()
1028 if (!getElementTypeOrSelf(op.getOperand()).isF32()) in matchAndRewrite()
1098 if (!getElementTypeOrSelf(op.getOperand()).isF32()) in matchAndRewrite()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/SparseTensor/Transforms/
H A DCodegenUtils.cpp105 if (elemTp.isF32()) in primaryTypeEncoding()
123 if (complexEltTp.isF32()) in primaryTypeEncoding()
/llvm-project-15.0.7/mlir/lib/IR/
H A DTypes.cpp23 bool Type::isF32() const { return isa<Float32Type>(); } in isF32() function in Type
H A DBuiltinTypes.cpp134 if (isF32()) in scaleElementBitwidth()
/llvm-project-15.0.7/mlir/lib/Dialect/AMX/IR/
H A DAMXDialect.cpp85 if (!ta.isBF16() || !tb.isBF16() || !tc.isF32()) in verify()
/llvm-project-15.0.7/mlir/test/lib/Dialect/Test/
H A DTestPatterns.cpp557 if (op->getNumOperands() != 1 || !op->getOperand(0).getType().isF32()) in matchAndRewrite()
596 if (!Type(*op->result_type_begin()).isF32()) in matchAndRewrite()
741 if (t.isF32()) { in convertType()
804 [](Type type) { return type.isF32(); }); in runOnOperation()
1230 if (type.isBF16() || type.isF16() || type.isF32()) in runOnOperation()
1303 return (*op.operand_type_begin()).isF64() && op.getType().isF32(); in runOnOperation()
/llvm-project-15.0.7/mlir/lib/Dialect/NVGPU/IR/
H A DNVGPUDialect.cpp135 } else if (aType.isF32() || aType.isBF16() || aType.isF16() || in verify()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Quant/
H A DQuantTypes.h182 using Type::isF32;
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DTypes.h126 bool isF32() const;
/llvm-project-15.0.7/mlir/test/lib/Dialect/Affine/
H A DTestVectorizationUtils.cpp109 assert(subVectorType.getElementType().isF32() && in testVectorShapeRatio()
/llvm-project-15.0.7/mlir/lib/Dialect/LLVMIR/IR/
H A DNVVMDialect.cpp85 if (operandElType.isF32() && isAccumulator) in inferOperandMMAType()
87 if (operandElType.isF32() && !isAccumulator) in inferOperandMMAType()
/llvm-project-15.0.7/mlir/lib/Conversion/VectorToGPU/
H A DNvGpuSupport.cpp143 if (elType.isF32()) { in getMmaSyncRegisterType()
/llvm-project-15.0.7/mlir/lib/Dialect/X86Vector/Transforms/
H A DAVXTranspose.cpp256 if (!srcType.getElementType().isF32()) in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/CAPI/IR/
H A DBuiltinTypes.cpp83 bool mlirTypeIsAF32(MlirType type) { return unwrap(type).isF32(); } in mlirTypeIsAF32()
/llvm-project-15.0.7/mlir/lib/Conversion/GPUToNVVM/
H A DWmmaOpsToNvvm.cpp57 if (type.getElementType().isF32()) in getElementType()
/llvm-project-15.0.7/mlir/lib/Dialect/Tosa/IR/
H A DTosaCanonicalizations.cpp345 if (inputElementType.isF32()) { in matchAndRewrite()
H A DTosaOps.cpp155 if (inputETy.isF32() && resultETy.isF32()) in verify()
/llvm-project-15.0.7/mlir/lib/Conversion/SCFToOpenMP/
H A DSCFToOpenMP.cpp136 if (type.isF32()) in fltSemanticsForType()
/llvm-project-15.0.7/mlir/lib/Conversion/NVGPUToNVVM/
H A DNVGPUToNVVM.cpp298 } else if (aType.getElementType().isF32()) { in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Conversion/ArithmeticToSPIRV/
H A DArithmeticToSPIRV.cpp252 if (!dstType.isF32()) in convertFloatAttr()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/
H A DVectorDistribute.cpp887 if (!reductionOp.getType().isF32() && in matchAndRewrite()

12