• Home
  • Raw
  • Download

Lines Matching refs:BitWidth

1144                                                     unsigned BitWidth,  in ShrinkDemandedOp()  argument
1160 unsigned SmallVTBits = BitWidth - Demanded.countLeadingZeros(); in ShrinkDemandedOp()
1163 for (; SmallVTBits < BitWidth; SmallVTBits = NextPowerOf2(SmallVTBits)) { in ShrinkDemandedOp()
1193 unsigned BitWidth = DemandedMask.getBitWidth(); in SimplifyDemandedBits() local
1194 assert(Op.getValueType().getScalarType().getSizeInBits() == BitWidth && in SimplifyDemandedBits()
1200 KnownZero = KnownOne = APInt(BitWidth, 0); in SimplifyDemandedBits()
1212 NewMask = APInt::getAllOnesValue(BitWidth); in SimplifyDemandedBits()
1269 if (TLO.ShrinkDemandedOp(Op, BitWidth, NewMask, dl)) in SimplifyDemandedBits()
1303 if (TLO.ShrinkDemandedOp(Op, BitWidth, NewMask, dl)) in SimplifyDemandedBits()
1328 if (TLO.ShrinkDemandedOp(Op, BitWidth, NewMask, dl)) in SimplifyDemandedBits()
1423 if (ShAmt >= BitWidth) in SimplifyDemandedBits()
1431 if (ShAmt && (NewMask & APInt::getLowBitsSet(BitWidth, ShAmt)) == 0) { in SimplifyDemandedBits()
1461 if (!APInt(BitWidth, ShAmt).isIntN(ShTy.getSizeInBits())) in SimplifyDemandedBits()
1476 KnownZero |= APInt::getLowBitsSet(BitWidth, SA->getZExtValue()); in SimplifyDemandedBits()
1487 if (ShAmt >= BitWidth) in SimplifyDemandedBits()
1519 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt); in SimplifyDemandedBits()
1538 if (ShAmt >= BitWidth) in SimplifyDemandedBits()
1545 APInt HighBits = APInt::getHighBitsSet(BitWidth, ShAmt); in SimplifyDemandedBits()
1557 APInt SignBit = APInt::getSignBit(BitWidth).lshr(ShAmt); in SimplifyDemandedBits()
1573 APInt MsbMask = APInt::getHighBitsSet(BitWidth, 1); in SimplifyDemandedBits()
1585 SDValue ShiftAmt = TLO.DAG.getConstant(BitWidth - ShAmt, ShiftAmtTy); in SimplifyDemandedBits()
1593 APInt::getHighBitsSet(BitWidth, in SimplifyDemandedBits()
1594 BitWidth - ExVT.getScalarType().getSizeInBits()); in SimplifyDemandedBits()
1601 APInt::getSignBit(ExVT.getScalarType().getSizeInBits()).zext(BitWidth); in SimplifyDemandedBits()
1603 APInt::getLowBitsSet(BitWidth, in SimplifyDemandedBits()
1640 APInt::getHighBitsSet(BitWidth, BitWidth - OperandBitWidth) & NewMask; in SimplifyDemandedBits()
1650 KnownZero = KnownZero.zext(BitWidth); in SimplifyDemandedBits()
1651 KnownOne = KnownOne.zext(BitWidth); in SimplifyDemandedBits()
1658 APInt InMask = APInt::getLowBitsSet(BitWidth, InBits); in SimplifyDemandedBits()
1659 APInt InSignBit = APInt::getBitsSet(BitWidth, InBits - 1, InBits); in SimplifyDemandedBits()
1677 KnownZero = KnownZero.zext(BitWidth); in SimplifyDemandedBits()
1678 KnownOne = KnownOne.zext(BitWidth); in SimplifyDemandedBits()
1704 KnownZero = KnownZero.zext(BitWidth); in SimplifyDemandedBits()
1705 KnownOne = KnownOne.zext(BitWidth); in SimplifyDemandedBits()
1717 KnownZero = KnownZero.trunc(BitWidth); in SimplifyDemandedBits()
1718 KnownOne = KnownOne.trunc(BitWidth); in SimplifyDemandedBits()
1745 OperandBitWidth - BitWidth); in SimplifyDemandedBits()
1746 HighBits = HighBits.lshr(ShAmt->getZExtValue()).trunc(BitWidth); in SimplifyDemandedBits()
1748 if (ShAmt->getZExtValue() < BitWidth && !(HighBits & NewMask)) { in SimplifyDemandedBits()
1770 APInt InMask = APInt::getLowBitsSet(BitWidth, in SimplifyDemandedBits()
1811 APInt LoMask = APInt::getLowBitsSet(BitWidth, in SimplifyDemandedBits()
1812 BitWidth - NewMask.countLeadingZeros()); in SimplifyDemandedBits()
1820 if (TLO.ShrinkDemandedOp(Op, BitWidth, NewMask, dl)) in SimplifyDemandedBits()
1895 unsigned BitWidth = OpVT.getScalarType().getSizeInBits(); in ValueHasExactlyOneBitSet() local
1898 return (KnownZero.countPopulation() == BitWidth - 1) && in ValueHasExactlyOneBitSet()
2171 unsigned BitWidth = N0.getValueSizeInBits(); in SimplifySetCC() local
2173 APInt::getHighBitsSet(BitWidth, in SimplifySetCC()
2174 BitWidth-1))) { in SimplifySetCC()