Lines Matching refs:SrcBitWidth
470 unsigned SrcBitWidth =I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits() local
472 DemandedMask = DemandedMask.trunc(SrcBitWidth); in SimplifyDemandedUseBits()
473 KnownZero = KnownZero.trunc(SrcBitWidth); in SimplifyDemandedUseBits()
474 KnownOne = KnownOne.trunc(SrcBitWidth); in SimplifyDemandedUseBits()
483 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - SrcBitWidth); in SimplifyDemandedUseBits()
488 unsigned SrcBitWidth =I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits() local
491 APInt::getLowBitsSet(BitWidth, SrcBitWidth); in SimplifyDemandedUseBits()
493 APInt NewBits(APInt::getHighBitsSet(BitWidth, BitWidth - SrcBitWidth)); in SimplifyDemandedUseBits()
497 InputDemandedBits.setBit(SrcBitWidth-1); in SimplifyDemandedUseBits()
499 InputDemandedBits = InputDemandedBits.trunc(SrcBitWidth); in SimplifyDemandedUseBits()
500 KnownZero = KnownZero.trunc(SrcBitWidth); in SimplifyDemandedUseBits()
501 KnownOne = KnownOne.trunc(SrcBitWidth); in SimplifyDemandedUseBits()
515 if (KnownZero[SrcBitWidth-1] || (NewBits & ~DemandedMask) == NewBits) { in SimplifyDemandedUseBits()
519 } else if (KnownOne[SrcBitWidth-1]) { // Input sign bit known set in SimplifyDemandedUseBits()