Lines Matching refs:SrcBitWidth
477 unsigned SrcBitWidth =I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits() local
479 DemandedMask = DemandedMask.trunc(SrcBitWidth); in SimplifyDemandedUseBits()
480 KnownZero = KnownZero.trunc(SrcBitWidth); in SimplifyDemandedUseBits()
481 KnownOne = KnownOne.trunc(SrcBitWidth); in SimplifyDemandedUseBits()
490 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - SrcBitWidth); in SimplifyDemandedUseBits()
495 unsigned SrcBitWidth =I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits() local
498 APInt::getLowBitsSet(BitWidth, SrcBitWidth); in SimplifyDemandedUseBits()
500 APInt NewBits(APInt::getHighBitsSet(BitWidth, BitWidth - SrcBitWidth)); in SimplifyDemandedUseBits()
504 InputDemandedBits.setBit(SrcBitWidth-1); in SimplifyDemandedUseBits()
506 InputDemandedBits = InputDemandedBits.trunc(SrcBitWidth); in SimplifyDemandedUseBits()
507 KnownZero = KnownZero.trunc(SrcBitWidth); in SimplifyDemandedUseBits()
508 KnownOne = KnownOne.trunc(SrcBitWidth); in SimplifyDemandedUseBits()
522 if (KnownZero[SrcBitWidth-1] || (NewBits & ~DemandedMask) == NewBits) { in SimplifyDemandedUseBits()
526 } else if (KnownOne[SrcBitWidth-1]) { // Input sign bit known set in SimplifyDemandedUseBits()