Lines Matching refs:RHSKnownZero
155 APInt RHSKnownZero(BitWidth, 0), RHSKnownOne(BitWidth, 0); in SimplifyDemandedUseBits() local
173 computeKnownBits(I->getOperand(1), RHSKnownZero, RHSKnownOne, Depth + 1, in SimplifyDemandedUseBits()
184 if ((DemandedMask & ~RHSKnownZero & LHSKnownOne) == in SimplifyDemandedUseBits()
185 (DemandedMask & ~RHSKnownZero)) in SimplifyDemandedUseBits()
189 if ((DemandedMask & (RHSKnownZero|LHSKnownZero)) == DemandedMask) in SimplifyDemandedUseBits()
197 computeKnownBits(I->getOperand(1), RHSKnownZero, RHSKnownOne, Depth + 1, in SimplifyDemandedUseBits()
205 if ((DemandedMask & ~LHSKnownOne & RHSKnownZero) == in SimplifyDemandedUseBits()
214 if ((DemandedMask & (~RHSKnownZero) & LHSKnownOne) == in SimplifyDemandedUseBits()
215 (DemandedMask & (~RHSKnownZero))) in SimplifyDemandedUseBits()
224 computeKnownBits(I->getOperand(1), RHSKnownZero, RHSKnownOne, Depth + 1, in SimplifyDemandedUseBits()
231 if ((DemandedMask & RHSKnownZero) == DemandedMask) in SimplifyDemandedUseBits()
255 if (SimplifyDemandedBits(I->getOperandUse(1), DemandedMask, RHSKnownZero, in SimplifyDemandedUseBits()
257 SimplifyDemandedBits(I->getOperandUse(0), DemandedMask & ~RHSKnownZero, in SimplifyDemandedUseBits()
260 assert(!(RHSKnownZero & RHSKnownOne) && "Bits known to be one AND zero?"); in SimplifyDemandedUseBits()
265 if ((DemandedMask & ((RHSKnownZero | LHSKnownZero)| in SimplifyDemandedUseBits()
274 if ((DemandedMask & ~RHSKnownZero & LHSKnownOne) == in SimplifyDemandedUseBits()
275 (DemandedMask & ~RHSKnownZero)) in SimplifyDemandedUseBits()
279 if ((DemandedMask & (RHSKnownZero|LHSKnownZero)) == DemandedMask) in SimplifyDemandedUseBits()
289 KnownZero = RHSKnownZero | LHSKnownZero; in SimplifyDemandedUseBits()
293 if (SimplifyDemandedBits(I->getOperandUse(1), DemandedMask, RHSKnownZero, in SimplifyDemandedUseBits()
298 assert(!(RHSKnownZero & RHSKnownOne) && "Bits known to be one AND zero?"); in SimplifyDemandedUseBits()
303 if ((DemandedMask & ((RHSKnownZero & LHSKnownZero)| in SimplifyDemandedUseBits()
309 if ((DemandedMask & ~LHSKnownOne & RHSKnownZero) == in SimplifyDemandedUseBits()
318 if ((DemandedMask & (~RHSKnownZero) & LHSKnownOne) == in SimplifyDemandedUseBits()
319 (DemandedMask & (~RHSKnownZero))) in SimplifyDemandedUseBits()
330 KnownZero = RHSKnownZero & LHSKnownZero; in SimplifyDemandedUseBits()
335 if (SimplifyDemandedBits(I->getOperandUse(1), DemandedMask, RHSKnownZero, in SimplifyDemandedUseBits()
340 assert(!(RHSKnownZero & RHSKnownOne) && "Bits known to be one AND zero?"); in SimplifyDemandedUseBits()
344 APInt IKnownZero = (RHSKnownZero & LHSKnownZero) | in SimplifyDemandedUseBits()
347 APInt IKnownOne = (RHSKnownZero & LHSKnownOne) | in SimplifyDemandedUseBits()
357 if ((DemandedMask & RHSKnownZero) == DemandedMask) in SimplifyDemandedUseBits()
365 if ((DemandedMask & ~RHSKnownZero & ~LHSKnownZero) == 0) { in SimplifyDemandedUseBits()
376 if ((DemandedMask & (RHSKnownZero|RHSKnownOne)) == DemandedMask) { in SimplifyDemandedUseBits()
416 KnownZero= (RHSKnownZero & LHSKnownZero) | (RHSKnownOne & LHSKnownOne); in SimplifyDemandedUseBits()
418 KnownOne = (RHSKnownZero & LHSKnownOne) | (RHSKnownOne & LHSKnownZero); in SimplifyDemandedUseBits()
422 if (SimplifyDemandedBits(I->getOperandUse(2), DemandedMask, RHSKnownZero, in SimplifyDemandedUseBits()
427 assert(!(RHSKnownZero & RHSKnownOne) && "Bits known to be one AND zero?"); in SimplifyDemandedUseBits()
437 KnownZero = RHSKnownZero & LHSKnownZero; in SimplifyDemandedUseBits()