Lines Matching refs:RHSKnownZero
143 APInt RHSKnownZero(BitWidth, 0), RHSKnownOne(BitWidth, 0);
161 computeKnownBits(I->getOperand(1), RHSKnownZero, RHSKnownOne, Depth+1);
170 if ((DemandedMask & ~RHSKnownZero & LHSKnownOne) ==
171 (DemandedMask & ~RHSKnownZero))
175 if ((DemandedMask & (RHSKnownZero|LHSKnownZero)) == DemandedMask)
183 computeKnownBits(I->getOperand(1), RHSKnownZero, RHSKnownOne, Depth+1);
189 if ((DemandedMask & ~LHSKnownOne & RHSKnownZero) ==
198 if ((DemandedMask & (~RHSKnownZero) & LHSKnownOne) ==
199 (DemandedMask & (~RHSKnownZero)))
208 computeKnownBits(I->getOperand(1), RHSKnownZero, RHSKnownOne, Depth+1);
213 if ((DemandedMask & RHSKnownZero) == DemandedMask)
238 RHSKnownZero, RHSKnownOne, Depth+1) ||
239 SimplifyDemandedBits(I->getOperandUse(0), DemandedMask & ~RHSKnownZero,
242 assert(!(RHSKnownZero & RHSKnownOne) && "Bits known to be one AND zero?");
250 if ((DemandedMask & ~RHSKnownZero & LHSKnownOne) ==
251 (DemandedMask & ~RHSKnownZero))
255 if ((DemandedMask & (RHSKnownZero|LHSKnownZero)) == DemandedMask)
265 KnownZero = RHSKnownZero | LHSKnownZero;
270 RHSKnownZero, RHSKnownOne, Depth+1) ||
274 assert(!(RHSKnownZero & RHSKnownOne) && "Bits known to be one AND zero?");
279 if ((DemandedMask & ~LHSKnownOne & RHSKnownZero) ==
288 if ((DemandedMask & (~RHSKnownZero) & LHSKnownOne) ==
289 (DemandedMask & (~RHSKnownZero)))
300 KnownZero = RHSKnownZero & LHSKnownZero;
306 RHSKnownZero, RHSKnownOne, Depth+1) ||
310 assert(!(RHSKnownZero & RHSKnownOne) && "Bits known to be one AND zero?");
315 if ((DemandedMask & RHSKnownZero) == DemandedMask)
323 if ((DemandedMask & ~RHSKnownZero & ~LHSKnownZero) == 0) {
334 if ((DemandedMask & (RHSKnownZero|RHSKnownOne)) == DemandedMask) {
374 KnownZero= (RHSKnownZero & LHSKnownZero) | (RHSKnownOne & LHSKnownOne);
376 KnownOne = (RHSKnownZero & LHSKnownOne) | (RHSKnownOne & LHSKnownZero);
381 RHSKnownZero, RHSKnownOne, Depth+1) ||
385 assert(!(RHSKnownZero & RHSKnownOne) && "Bits known to be one AND zero?");
395 KnownZero = RHSKnownZero & LHSKnownZero;