Searched refs:apInt (Results 1 – 8 of 8) sorted by relevance
/llvm-project/mlir/lib/AsmParser/ |
H A D | AttributeParser.cpp | 394 // in the negated apInt. in buildAttributeAPInt() 442 std::optional<APInt> apInt = buildAttributeAPInt(type, isNegative, spelling); in parseDecOrHexAttr() 443 if (!apInt) in parseDecOrHexAttr() local 446 return builder.getIntegerAttr(type, *apInt); in parseDecOrHexAttr() 637 APInt apInt(1, token.is(Token::kw_true), /*isSigned=*/false); in getIntAttrElements() 638 intValues.push_back(apInt); in getIntAttrElements() local 643 std::optional<APInt> apInt = in getIntAttrElements() 645 if (!apInt) in getIntAttrElements() 647 intValues.push_back(*apInt); in getIntAttrElements() 644 std::optional<APInt> apInt = getIntAttrElements() local
|
/llvm-project/mlir/lib/Conversion/ControlFlowToSCF/ |
H A D | ControlFlowToSCF.cpp | 53 cases, llvm::map_range(*caseValues, [](const llvm::APInt &apInt) { in createStructuredBranchRegionOp() 54 return apInt.getZExtValue(); in createStructuredBranchRegionOp() argument
|
/llvm-project/mlir/lib/Dialect/Linalg/Transforms/ |
H A D | ConstantFold.cpp | 43 std::optional<APInt> apInt; member 249 intOutputValues[dstLinearIndex] = *computeFn(computeFnInputs).apInt; in matchAndRewrite()
|
/llvm-project/mlir/lib/Dialect/Utils/ |
H A D | StaticValueUtils.cpp | 53 APInt apInt = cast<IntegerAttr>(cast<Attribute>(ofr)).getValue(); in dispatchIndexOpFoldResult() 54 staticVec.push_back(apInt.getSExtValue()); in dispatchIndexOpFoldResult() 52 APInt apInt = cast<IntegerAttr>(ofr.get<Attribute>()).getValue(); dispatchIndexOpFoldResult() local
|
/llvm-project/lldb/unittests/Instruction/RISCV/ |
H A D | TestRISCVEmulator.cpp | 535 APInt apInt(32, tester->fpr.fpr[rd]); in TestF_D_CalInst() local 536 APFloat rd_val(apInt.bitsToFloat()); in TestF_D_CalInst() 540 APInt apInt(64, tester->fpr.fpr[rd]); in TestF_D_CalInst() local 541 APFloat rd_val(apInt.bitsToDouble()); in TestF_D_CalInst()
|
/llvm-project/lldb/source/Plugins/Instruction/RISCV/ |
H A D | EmulateInstructionRISCV.cpp | 1487 APInt apInt(numBits, rs1); in FCVT_i2f() 1489 apInt = APInt(numBits, NanUnBoxing(rs1)); in FCVT_i2f() 1490 APFloat apf((&apInt->*f)()); in FCVT_i2f() 1472 APInt apInt(numBits, rs1); FMV_i2f() local
|
/llvm-project/mlir/lib/IR/ |
H A D | AsmPrinter.cpp | 2175 APInt apInt = apValue.bitcastToAPInt(); in isBareIdentifier() 2176 apInt.toString(str, /*Radix=*/16, /*Signed=*/false, in isBareIdentifier() 2114 APInt apInt = apValue.bitcastToAPInt(); printFloatValue() local
|
/llvm-project/flang/lib/Optimizer/Builder/ |
H A D | IntrinsicCall.cpp | 4325 auto createIntegerConstantAPI = [&](const llvm::APInt &apInt) { in genIeeeCopySign() 4327 loc, intType, builder.getIntegerAttr(intType, apInt)); in genIeeeCopySign() 4058 __anon345295e72b02(const llvm::APInt &apInt) genIeeeClass() argument
|