reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
758 assert(Op.getScalarValueSizeInBits() == BitWidth && 772 Known = KnownBits(BitWidth); 796 DemandedBits = APInt::getAllOnesValue(BitWidth); 820 Known = SrcKnown.zextOrTrunc(BitWidth, false); 860 Known = KnownScl.zextOrTrunc(BitWidth, false); 1076 if (ShrinkDemandedOp(Op, BitWidth, DemandedBits, TLO)) 1122 if (ShrinkDemandedOp(Op, BitWidth, DemandedBits, TLO)) 1165 if (ShrinkDemandedOp(Op, BitWidth, DemandedBits, TLO)) 1253 Op0.getScalarValueSizeInBits() == BitWidth && 1269 BitWidth > 1) 1279 if (SA->getAPIntValue().uge(BitWidth)) 1291 if (!DemandedBits.intersects(APInt::getLowBitsSet(BitWidth, ShAmt))) { 1294 if (SA2->getAPIntValue().ult(BitWidth)) { 1318 ShrinkDemandedOp(Op, BitWidth, DemandedBits, TLO)) 1330 if (!APInt(BitWidth, ShAmt).isIntN(ShTy.getSizeInBits())) 1376 if (SA->getAPIntValue().uge(BitWidth)) 1399 APInt::getHighBitsSet(BitWidth, ShAmt))) { 1400 if (SA2->getAPIntValue().ult(BitWidth)) { 1442 if (SA->getAPIntValue().uge(BitWidth)) 1470 if (Known.Zero[BitWidth - ShAmt - 1] || 1482 TLO.DAG.getConstant(BitWidth - 1 - Log2, dl, Op1.getValueType()); 1486 if (Known.One[BitWidth - ShAmt - 1]) 1500 unsigned Amt = SA->getAPIntValue().urem(BitWidth); 1513 APInt Demanded0 = DemandedBits.lshr(IsFSHL ? Amt : (BitWidth - Amt)); 1514 APInt Demanded1 = DemandedBits << (IsFSHL ? (BitWidth - Amt) : Amt); 1522 Known2.One <<= (IsFSHL ? Amt : (BitWidth - Amt)); 1523 Known2.Zero <<= (IsFSHL ? Amt : (BitWidth - Amt)); 1524 Known.One.lshrInPlace(IsFSHL ? (BitWidth - Amt) : Amt); 1525 Known.Zero.lshrInPlace(IsFSHL ? (BitWidth - Amt) : Amt); 1549 bool AlreadySignExtended = NumSignBits >= BitWidth - ExVTBits + 1; 1560 TLO.DAG.getConstant(BitWidth - ExVTBits, dl, ShiftAmtTy); 1588 APInt Mask = APInt::getLowBitsSet(BitWidth, ExVTBits); 1613 Known.Zero = KnownLo.Zero.zext(BitWidth) | 1614 KnownHi.Zero.zext(BitWidth).shl(HalfBitWidth); 1616 Known.One = KnownLo.One.zext(BitWidth) | 1617 KnownHi.One.zext(BitWidth).shl(HalfBitWidth); 1650 Known = Known.zext(BitWidth, true /* ExtendedBitsAreKnownZero */); 1690 Known = Known.sext(BitWidth); 1723 Known = Known.zext(BitWidth, false /* => any extend */); 1735 Known = Known.trunc(BitWidth); 1757 if (!ShAmt || ShAmt->getAPIntValue().uge(BitWidth)) 1767 APInt::getHighBitsSet(OperandBitWidth, OperandBitWidth - BitWidth); 1769 HighBits = HighBits.trunc(BitWidth); 1790 APInt InMask = APInt::getLowBitsSet(BitWidth, ZVT.getSizeInBits()); 1814 if (BitWidth > EltBitWidth) 1822 if (BitWidth > EltBitWidth) 1823 Known = Known.zext(BitWidth, false /* => any extend */); 1858 if (SrcVT.isVector() && (BitWidth % NumSrcEltBits) == 0 && 1860 unsigned Scale = BitWidth / NumSrcEltBits; 1884 } else if ((NumSrcEltBits % BitWidth) == 0 && 1886 unsigned Scale = NumSrcEltBits / BitWidth; 1892 unsigned Offset = (i % Scale) * BitWidth; 1926 APInt LoMask = APInt::getLowBitsSet(BitWidth, BitWidth - DemandedBitsLZ); 1926 APInt LoMask = APInt::getLowBitsSet(BitWidth, BitWidth - DemandedBitsLZ); 1932 ShrinkDemandedOp(Op, BitWidth, DemandedBits, TLO)) { 1968 APInt HighMask = APInt::getHighBitsSet(BitWidth, DemandedBitsLZ);