Home
last modified time | relevance | path

Searched refs:apInt (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/mlir/lib/Parser/
DAttributeParser.cpp316 APInt apInt(type.getWidth(), value); in buildHexadecimalFloatLiteral() local
317 if (apInt != value) { in buildHexadecimalFloatLiteral()
321 return APFloat(type.getFloatSemantics(), apInt); in buildHexadecimalFloatLiteral()
414 Optional<APInt> apInt = buildAttributeAPInt(type, isNegative, spelling); in parseDecOrHexAttr() local
415 if (!apInt) in parseDecOrHexAttr()
418 return builder.getIntegerAttr(type, *apInt); in parseDecOrHexAttr()
603 APInt apInt(1, token.is(Token::kw_true), /*isSigned=*/false); in getIntAttrElements() local
604 intValues.push_back(apInt); in getIntAttrElements()
609 Optional<APInt> apInt = in getIntAttrElements() local
611 if (!apInt) in getIntAttrElements()
[all …]
/external/llvm-project/mlir/lib/IR/
DAsmPrinter.cpp1323 APInt apInt = apValue.bitcastToAPInt(); in printFloatValue() local
1324 apInt.toString(str, /*Radix=*/16, /*Signed=*/false, in printFloatValue()