Searched refs:apInt (Results 1 – 5 of 5) sorted by relevance
| /llvm-project-15.0.7/mlir/lib/Dialect/Utils/ |
| H A D | StaticValueUtils.cpp | 28 APInt apInt = ofr.get<Attribute>().cast<IntegerAttr>().getValue(); in dispatchIndexOpFoldResult() local 29 staticVec.push_back(apInt.getSExtValue()); in dispatchIndexOpFoldResult()
|
| /llvm-project-15.0.7/mlir/lib/AsmParser/ |
| H A D | AttributeParser.cpp | 425 Optional<APInt> apInt = buildAttributeAPInt(type, isNegative, spelling); in parseDecOrHexAttr() local 426 if (!apInt) in parseDecOrHexAttr() 429 return builder.getIntegerAttr(type, *apInt); in parseDecOrHexAttr() 620 APInt apInt(1, token.is(Token::kw_true), /*isSigned=*/false); in getIntAttrElements() local 621 intValues.push_back(apInt); in getIntAttrElements() 626 Optional<APInt> apInt = in getIntAttrElements() local 628 if (!apInt) in getIntAttrElements() 630 intValues.push_back(*apInt); in getIntAttrElements()
|
| H A D | Parser.cpp | 293 APInt apInt(typeSizeInBits, *value); in parseFloatFromIntegerLiteral() local 294 if (apInt != *value) in parseFloatFromIntegerLiteral() 296 result = APFloat(semantics, apInt); in parseFloatFromIntegerLiteral()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/ |
| H A D | ConstantFold.cpp | 42 Optional<APInt> apInt; member 249 intOutputValues[dstLinearIndex] = *computeFn(computeFnInputs).apInt; in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | AsmPrinter.cpp | 1635 APInt apInt = apValue.bitcastToAPInt(); in printFloatValue() local 1636 apInt.toString(str, /*Radix=*/16, /*Signed=*/false, in printFloatValue()
|