Searched refs:SrcBitWidth (Results 1 – 2 of 2) sorted by relevance
477 unsigned SrcBitWidth =I->getOperand(0)->getType()->getScalarSizeInBits(); in SimplifyDemandedUseBits() local479 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() local498 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()[all …]
1149 unsigned SrcBitWidth; in computeKnownBits() local1152 SrcBitWidth = DL.getTypeSizeInBits(SrcTy->getScalarType()); in computeKnownBits()1154 assert(SrcBitWidth && "SrcBitWidth can't be zero"); in computeKnownBits()1155 KnownZero = KnownZero.zextOrTrunc(SrcBitWidth); in computeKnownBits()1156 KnownOne = KnownOne.zextOrTrunc(SrcBitWidth); in computeKnownBits()1161 if (BitWidth > SrcBitWidth) in computeKnownBits()1162 KnownZero |= APInt::getHighBitsSet(BitWidth, BitWidth - SrcBitWidth); in computeKnownBits()1178 unsigned SrcBitWidth = I->getOperand(0)->getType()->getScalarSizeInBits(); in computeKnownBits() local1180 KnownZero = KnownZero.trunc(SrcBitWidth); in computeKnownBits()1181 KnownOne = KnownOne.trunc(SrcBitWidth); in computeKnownBits()[all …]