Searched refs:intWidth (Results 1 – 2 of 2) sorted by relevance
| /llvm-project-15.0.7/mlir/unittests/IR/ |
| H A D | AttributeTest.cpp | 95 constexpr size_t intWidth = 19; in TEST() local 96 IntegerType intTy = IntegerType::get(&context, intWidth); in TEST() 97 APInt value(intWidth, 10); in TEST()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Arithmetic/IR/ |
| H A D | ArithmeticOps.cpp | 1513 auto intWidth = intTy.getWidth(); in matchAndRewrite() local 1516 auto valueBits = isUnsigned ? intWidth : (intWidth - 1); in matchAndRewrite() 1521 if ((int)intWidth > mantissaWidth) { in matchAndRewrite() 1562 signedMax.convertFromAPInt(APInt::getSignedMaxValue(intWidth), true, in matchAndRewrite() 1578 unsignedMax.convertFromAPInt(APInt::getMaxValue(intWidth), false, in matchAndRewrite() 1595 signedMin.convertFromAPInt(APInt::getSignedMinValue(intWidth), true, in matchAndRewrite() 1610 unsignedMin.convertFromAPInt(APInt::getMinValue(intWidth), false, in matchAndRewrite() 1629 APSInt rhsInt(intWidth, isUnsigned); in matchAndRewrite()
|