Searched refs:SrcBitWidth (Results 1 – 2 of 2) sorted by relevance
471 unsigned SrcBitWidth =I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits() local473 DemandedMask = DemandedMask.trunc(SrcBitWidth); in SimplifyDemandedUseBits()474 KnownZero = KnownZero.trunc(SrcBitWidth); in SimplifyDemandedUseBits()475 KnownOne = KnownOne.trunc(SrcBitWidth); in SimplifyDemandedUseBits()484 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - SrcBitWidth); in SimplifyDemandedUseBits()489 unsigned SrcBitWidth =I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits() local492 APInt::getLowBitsSet(BitWidth, SrcBitWidth); in SimplifyDemandedUseBits()494 APInt NewBits(APInt::getHighBitsSet(BitWidth, BitWidth - SrcBitWidth)); in SimplifyDemandedUseBits()498 InputDemandedBits.setBit(SrcBitWidth-1); in SimplifyDemandedUseBits()500 InputDemandedBits = InputDemandedBits.trunc(SrcBitWidth); in SimplifyDemandedUseBits()[all …]
1166 unsigned SrcBitWidth; in computeKnownBitsFromOperator() local1169 SrcBitWidth = DL.getTypeSizeInBits(SrcTy->getScalarType()); in computeKnownBitsFromOperator()1171 assert(SrcBitWidth && "SrcBitWidth can't be zero"); in computeKnownBitsFromOperator()1172 KnownZero = KnownZero.zextOrTrunc(SrcBitWidth); in computeKnownBitsFromOperator()1173 KnownOne = KnownOne.zextOrTrunc(SrcBitWidth); in computeKnownBitsFromOperator()1178 if (BitWidth > SrcBitWidth) in computeKnownBitsFromOperator()1179 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - SrcBitWidth); in computeKnownBitsFromOperator()1196 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); in computeKnownBitsFromOperator() local1198 KnownZero = KnownZero.trunc(SrcBitWidth); in computeKnownBitsFromOperator()1199 KnownOne = KnownOne.trunc(SrcBitWidth); in computeKnownBitsFromOperator()[all …]