| /llvm-project-15.0.7/flang/include/flang/Optimizer/Dialect/ |
| H A D | CanonicalizationPatterns.td | 35 "(($0.getType().getIntOrFloatBitWidth() <= " 36 " $1.getType().getIntOrFloatBitWidth() && " 37 " $1.getType().getIntOrFloatBitWidth() <= " 38 " $2.getType().getIntOrFloatBitWidth()) || " 39 " ($0.getType().getIntOrFloatBitWidth() >= " 40 " $1.getType().getIntOrFloatBitWidth() && " 41 " $1.getType().getIntOrFloatBitWidth() >= " 51 "$0.getType().getIntOrFloatBitWidth() <= " 52 "$1.getType().getIntOrFloatBitWidth()">>; 54 "$0.getType().getIntOrFloatBitWidth() < " [all …]
|
| /llvm-project-15.0.7/mlir/lib/Conversion/VectorToGPU/ |
| H A D | NvGpuSupport.cpp | 38 (shape[1] * type.vectorType.getElementType().getIntOrFloatBitWidth()) / in inferNumRegistersPerMatrixFragment() 48 (operandShape[1] * elementType.getIntOrFloatBitWidth()) / in getTileShape() 90 if (isAcc && elType.getIntOrFloatBitWidth() == 32) { in inferTileWidthInBits() 93 if (elType.getIntOrFloatBitWidth() == 64) { in inferTileWidthInBits() 161 lineSize / elementType.getIntOrFloatBitWidth(); in getRegisterIndexToTileOffsetMap() 182 const int64_t elementBitWidth = elementType.getIntOrFloatBitWidth(); in getLaneIdAndValueIdToOperandCoord() 225 ((shape[1] * elType.getIntOrFloatBitWidth()) / 128); in getLdMatrixParams() 228 ((shape[0] * elType.getIntOrFloatBitWidth()) / 128); in getLdMatrixParams() 243 params.fragmentType.getElementType().getIntOrFloatBitWidth()); in getLaneIdToLdMatrixMatrixCoord()
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | BuiltinTypeInterfaces.cpp | 44 return elementType.getIntOrFloatBitWidth() * getNumElements(); in getSizeInBits() 48 return elementType.getIntOrFloatBitWidth() * getNumElements() * 2; in getSizeInBits()
|
| H A D | Types.cpp | 91 unsigned Type::getIntOrFloatBitWidth() const { in getIntOrFloatBitWidth() function in Type
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/Transforms/ |
| H A D | UnifyAliasedResourcePass.cpp | 96 vectorType.getElementType().getIntOrFloatBitWidth()); in deduceCanonicalResource() 100 scalarNumBits.push_back(type.getIntOrFloatBitWidth()); in deduceCanonicalResource() 134 a.getIntOrFloatBitWidth() == b.getIntOrFloatBitWidth(); in areSameBitwidthScalarType() 434 int srcNumBits = srcElemType.getIntOrFloatBitWidth(); in matchAndRewrite() 435 int dstNumBits = dstElemType.getIntOrFloatBitWidth(); in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/TosaToLinalg/ |
| H A D | TosaToLinalg.cpp | 123 int aWidth = a.getType().getIntOrFloatBitWidth(); in createLinalgBodyCalculationForElementwiseOp() 124 int bWidth = b.getType().getIntOrFloatBitWidth(); in createLinalgBodyCalculationForElementwiseOp() 125 int cWidth = resultTypes[0].getIntOrFloatBitWidth(); in createLinalgBodyCalculationForElementwiseOp() 409 loc, min, intTy.getIntOrFloatBitWidth()); in createLinalgBodyCalculationForElementwiseOp() 411 loc, max, intTy.getIntOrFloatBitWidth()); in createLinalgBodyCalculationForElementwiseOp() 454 srcTy.getIntOrFloatBitWidth() < dstTy.getIntOrFloatBitWidth(); in createLinalgBodyCalculationForElementwiseOp() 534 loc, 0, srcTy.getIntOrFloatBitWidth()); in createLinalgBodyCalculationForElementwiseOp() 548 srcTy.getIntOrFloatBitWidth()); in createLinalgBodyCalculationForElementwiseOp() 554 srcTy.getIntOrFloatBitWidth()); in createLinalgBodyCalculationForElementwiseOp() 1270 if (valueTy.getIntOrFloatBitWidth() < 32) { in matchAndRewrite() [all …]
|
| H A D | TosaToLinalgNamed.cpp | 208 APInt::getSignedMinValue(inputETy.getIntOrFloatBitWidth()) in matchAndRewrite() 211 APInt::getSignedMaxValue(inputETy.getIntOrFloatBitWidth()) in matchAndRewrite() 384 APInt::getSignedMinValue(inputETy.getIntOrFloatBitWidth()) in matchAndRewrite() 387 APInt::getSignedMaxValue(inputETy.getIntOrFloatBitWidth()) in matchAndRewrite() 712 APInt::getSignedMinValue(resultETy.getIntOrFloatBitWidth())); in matchAndRewrite() 938 int64_t outBitwidth = resultETy.getIntOrFloatBitWidth(); in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/ComplexToLibm/ |
| H A D | ComplexToLibm.cpp | 28 return elementType.getIntOrFloatBitWidth() == 64; in operator ()() 40 return elementType.getIntOrFloatBitWidth() == 64; in operator ()()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/NVGPU/IR/ |
| H A D | NVGPUDialect.cpp | 138 int operandBitwidth = aType.getIntOrFloatBitWidth(); in verify() 207 int64_t elementBitWidth = resType.getIntOrFloatBitWidth(); in verify()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/MemRefToSPIRV/ |
| H A D | MemRefToSPIRV.cpp | 333 int srcBits = memrefType.getElementType().getIntOrFloatBitWidth(); in matchAndRewrite() 347 int dstBits = dstType.getIntOrFloatBitWidth(); in matchAndRewrite() 401 } else if (result.getType().getIntOrFloatBitWidth() != in matchAndRewrite() 446 int srcBits = memrefType.getElementType().getIntOrFloatBitWidth(); in matchAndRewrite() 462 int dstBits = dstType.getIntOrFloatBitWidth(); in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Tosa/IR/ |
| H A D | TosaCanonicalizations.cpp | 365 APInt::getMinValue(inputElementType.getIntOrFloatBitWidth()) in matchAndRewrite() 368 APInt::getMaxValue(inputElementType.getIntOrFloatBitWidth()) in matchAndRewrite() 383 APInt::getSignedMinValue(inputElementType.getIntOrFloatBitWidth()) in matchAndRewrite() 386 APInt::getSignedMaxValue(inputElementType.getIntOrFloatBitWidth()) in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/AMX/Transforms/ |
| H A D | LegalizeForLLVMExport.cpp | 30 unsigned width = vType.getElementType().getIntOrFloatBitWidth(); in getTileSizes() 60 unsigned width = mType.getElementType().getIntOrFloatBitWidth(); in getStride()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/AMX/IR/ |
| H A D | AMXDialect.cpp | 34 unsigned col = tp.getDimSize(1) * tp.getElementType().getIntOrFloatBitWidth(); in verifyTileSize()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/TosaToArith/ |
| H A D | TosaToArith.cpp | 46 APInt valueInt(eTy.getIntOrFloatBitWidth(), value); in getConstantAttr() 133 if (getElementTypeOrSelf(value.getType()).getIntOrFloatBitWidth() > 32) { in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/unittests/IR/ |
| H A D | InterfaceAttachmentTest.cpp | 35 return type.getIntOrFloatBitWidth() + arg; in getBitwidthPlusArg() 47 return type.getIntOrFloatBitWidth() + arg; in getBitwidthPlusArg()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/X86Vector/Transforms/ |
| H A D | LegalizeForLLVMExport.cpp | 52 unsigned bitwidth = elementType.getIntOrFloatBitWidth(); in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/Utils/ |
| H A D | LayoutUtils.cpp | 153 auto bitWidth = scalarType.getIntOrFloatBitWidth(); in getScalarTypeAlignment()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/ |
| H A D | SPIRVTypes.cpp | 527 if (getIntOrFloatBitWidth() == 8) { in getExtensions() 535 if (getIntOrFloatBitWidth() == 16) { in getExtensions() 549 unsigned bitwidth = getIntOrFloatBitWidth(); in getCapabilities() 635 auto bitWidth = getIntOrFloatBitWidth(); in getSizeInBytes()
|
| /llvm-project-15.0.7/mlir/unittests/Interfaces/ |
| H A D | DataLayoutInterfacesTest.cpp | 138 IntegerType::get(type.getContext(), type.getIntOrFloatBitWidth())); in getTypeSizeInBits() 146 return 8 * iType.getIntOrFloatBitWidth(); in getTypeSizeInBits()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Math/Transforms/ |
| H A D | ExpandPatterns.cpp | 64 int bitWidth = elementTy.getIntOrFloatBitWidth(); in convertCtlzOp()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Arithmetic/IR/ |
| H A D | ArithmeticOps.cpp | 866 return WidthComparator<unsigned>()(dstType.getIntOrFloatBitWidth(), in checkWidthChangeCast() 867 srcType.getIntOrFloatBitWidth()); in checkWidthChangeCast() 884 bitWidth = resType.getIntOrFloatBitWidth(); in fold() 913 bitWidth = resType.getIntOrFloatBitWidth(); in fold() 967 bitWidth = resType.getIntOrFloatBitWidth(); in fold() 1200 return srcType.getIntOrFloatBitWidth() == dstType.getIntOrFloatBitWidth(); in areCastCompatible()
|
| /llvm-project-15.0.7/mlir/lib/AsmParser/ |
| H A D | AttributeParser.cpp | 356 : type.getIntOrFloatBitWidth(); in buildAttributeAPInt() 848 switch (type.getIntOrFloatBitWidth()) { in parseDenseArrayAttr() 878 switch (type.getIntOrFloatBitWidth()) { in parseDenseArrayAttr()
|
| /llvm-project-15.0.7/mlir/lib/Interfaces/ |
| H A D | DataLayoutInterfaces.cpp | 55 return type.getIntOrFloatBitWidth(); in getDefaultTypeSizeInBits() 96 entry.getKey().get<Type>().getIntOrFloatBitWidth(), entry)); in findEntryForIntegerType()
|
| /llvm-project-15.0.7/mlir/test/lib/Dialect/Test/ |
| H A D | TestInterfaces.td | 66 "return $_type.getIntOrFloatBitWidth() + 2 * arg;">,
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | Types.h | 146 unsigned getIntOrFloatBitWidth() const;
|