| /llvm-project-15.0.7/mlir/test/mlir-tblgen/ |
| H A D | predicate.td | 11 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 D | op-attribute.td | 294 …ttr.isa<::mlir::FloatAttr>())) && ((tblgen_f32_attr.cast<::mlir::FloatAttr>().getType().isF32()))))
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Builder/Runtime/ |
| H A D | Numeric.cpp | 218 } 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 D | Reduction.cpp | 550 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 D | PolynomialApproximation.cpp | 307 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 D | CodegenUtils.cpp | 105 if (elemTp.isF32()) in primaryTypeEncoding() 123 if (complexEltTp.isF32()) in primaryTypeEncoding()
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | Types.cpp | 23 bool Type::isF32() const { return isa<Float32Type>(); } in isF32() function in Type
|
| H A D | BuiltinTypes.cpp | 134 if (isF32()) in scaleElementBitwidth()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/AMX/IR/ |
| H A D | AMXDialect.cpp | 85 if (!ta.isBF16() || !tb.isBF16() || !tc.isF32()) in verify()
|
| /llvm-project-15.0.7/mlir/test/lib/Dialect/Test/ |
| H A D | TestPatterns.cpp | 557 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 D | NVGPUDialect.cpp | 135 } else if (aType.isF32() || aType.isBF16() || aType.isF16() || in verify()
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/Quant/ |
| H A D | QuantTypes.h | 182 using Type::isF32;
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | Types.h | 126 bool isF32() const;
|
| /llvm-project-15.0.7/mlir/test/lib/Dialect/Affine/ |
| H A D | TestVectorizationUtils.cpp | 109 assert(subVectorType.getElementType().isF32() && in testVectorShapeRatio()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/LLVMIR/IR/ |
| H A D | NVVMDialect.cpp | 85 if (operandElType.isF32() && isAccumulator) in inferOperandMMAType() 87 if (operandElType.isF32() && !isAccumulator) in inferOperandMMAType()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/VectorToGPU/ |
| H A D | NvGpuSupport.cpp | 143 if (elType.isF32()) { in getMmaSyncRegisterType()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/X86Vector/Transforms/ |
| H A D | AVXTranspose.cpp | 256 if (!srcType.getElementType().isF32()) in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/CAPI/IR/ |
| H A D | BuiltinTypes.cpp | 83 bool mlirTypeIsAF32(MlirType type) { return unwrap(type).isF32(); } in mlirTypeIsAF32()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/GPUToNVVM/ |
| H A D | WmmaOpsToNvvm.cpp | 57 if (type.getElementType().isF32()) in getElementType()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Tosa/IR/ |
| H A D | TosaCanonicalizations.cpp | 345 if (inputElementType.isF32()) { in matchAndRewrite()
|
| H A D | TosaOps.cpp | 155 if (inputETy.isF32() && resultETy.isF32()) in verify()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/SCFToOpenMP/ |
| H A D | SCFToOpenMP.cpp | 136 if (type.isF32()) in fltSemanticsForType()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/NVGPUToNVVM/ |
| H A D | NVGPUToNVVM.cpp | 298 } else if (aType.getElementType().isF32()) { in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/ArithmeticToSPIRV/ |
| H A D | ArithmeticToSPIRV.cpp | 252 if (!dstType.isF32()) in convertFloatAttr()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/ |
| H A D | VectorDistribute.cpp | 887 if (!reductionOp.getType().isF32() && in matchAndRewrite()
|