Lines Matching refs:LHSKnownOne
141 APInt LHSKnownZero(BitWidth, 0), LHSKnownOne(BitWidth, 0);
162 computeKnownBits(I->getOperand(0), LHSKnownZero, LHSKnownOne, Depth + 1,
171 if ((DemandedMask & ~RHSKnownZero & LHSKnownOne) ==
186 computeKnownBits(I->getOperand(0), LHSKnownZero, LHSKnownOne, Depth + 1,
192 if ((DemandedMask & ~LHSKnownOne & RHSKnownZero) ==
193 (DemandedMask & ~LHSKnownOne))
201 if ((DemandedMask & (~RHSKnownZero) & LHSKnownOne) ==
213 computeKnownBits(I->getOperand(0), LHSKnownZero, LHSKnownOne, Depth + 1,
245 LHSKnownZero, LHSKnownOne, Depth + 1))
248 assert(!(LHSKnownZero & LHSKnownOne) && "Bits known to be one AND zero?");
253 (RHSKnownOne & LHSKnownOne))) == DemandedMask)
254 return Constant::getIntegerValue(VTy, RHSKnownOne & LHSKnownOne);
261 if ((DemandedMask & ~RHSKnownZero & LHSKnownOne) ==
274 KnownOne = RHSKnownOne & LHSKnownOne;
283 LHSKnownZero, LHSKnownOne, Depth + 1))
286 assert(!(LHSKnownZero & LHSKnownOne) && "Bits known to be one AND zero?");
291 (RHSKnownOne | LHSKnownOne))) == DemandedMask)
292 return Constant::getIntegerValue(VTy, RHSKnownOne | LHSKnownOne);
296 if ((DemandedMask & ~LHSKnownOne & RHSKnownZero) ==
297 (DemandedMask & ~LHSKnownOne))
305 if ((DemandedMask & (~RHSKnownZero) & LHSKnownOne) ==
319 KnownOne = RHSKnownOne | LHSKnownOne;
325 LHSKnownOne, Depth + 1))
328 assert(!(LHSKnownZero & LHSKnownOne) && "Bits known to be one AND zero?");
332 (RHSKnownOne & LHSKnownOne);
334 APInt IKnownOne = (RHSKnownZero & LHSKnownOne) |
365 if ((RHSKnownOne & LHSKnownOne) == RHSKnownOne) {
386 (LHSKnownOne & RHSKnownOne & DemandedMask) != 0) {
389 APInt NewMask = ~(LHSKnownOne & RHSKnownOne & DemandedMask);
403 KnownZero= (RHSKnownZero & LHSKnownZero) | (RHSKnownOne & LHSKnownOne);
405 KnownOne = (RHSKnownZero & LHSKnownOne) | (RHSKnownOne & LHSKnownZero);
418 LHSKnownOne, Depth + 1))
421 assert(!(LHSKnownZero & LHSKnownOne) && "Bits known to be one AND zero?");
429 KnownOne = RHSKnownOne & LHSKnownOne;
534 LHSKnownZero, LHSKnownOne, Depth + 1) ||
537 LHSKnownZero, LHSKnownOne, Depth + 1)) {
687 LHSKnownOne, Depth + 1))
692 KnownOne = LHSKnownOne & LowBits;
701 if (LHSKnownOne[BitWidth-1] && ((LHSKnownOne & LowBits) != 0))
711 APInt LHSKnownZero(BitWidth, 0), LHSKnownOne(BitWidth, 0);
712 computeKnownBits(I->getOperand(0), LHSKnownZero, LHSKnownOne, Depth + 1,