Lines Matching refs:APInt
228 &MRI](const MachineInstr &MI) -> Optional<APInt> {
236 APInt Val = CstVal.isImm() ? APInt(BitWidth, CstVal.getImm())
270 Optional<APInt> MaybeVal = GetImmediateValue(*MI);
273 APInt &Val = *MaybeVal;
338 Optional<APInt> llvm::ConstantFoldBinOp(unsigned Opcode, const unsigned Op1,
345 APInt C1(Ty.getSizeInBits(), *MaybeOp1Cst, true);
346 APInt C2(Ty.getSizeInBits(), *MaybeOp2Cst, true);
414 Optional<APInt> llvm::ConstantFoldExtOp(unsigned Opcode, const unsigned Op1,
420 APInt C1(Ty.getSizeInBits(), *MaybeOp1Cst, true);