Lines Matching refs:LHSKnownZero
141 APInt LHSKnownZero(BitWidth, 0), LHSKnownOne(BitWidth, 0); in SimplifyDemandedUseBits() local
162 computeKnownBits(I->getOperand(0), LHSKnownZero, LHSKnownOne, Depth + 1, in SimplifyDemandedUseBits()
168 if ((DemandedMask & ~LHSKnownZero & RHSKnownOne) == in SimplifyDemandedUseBits()
169 (DemandedMask & ~LHSKnownZero)) in SimplifyDemandedUseBits()
176 if ((DemandedMask & (RHSKnownZero|LHSKnownZero)) == DemandedMask) in SimplifyDemandedUseBits()
186 computeKnownBits(I->getOperand(0), LHSKnownZero, LHSKnownOne, Depth + 1, in SimplifyDemandedUseBits()
195 if ((DemandedMask & ~RHSKnownOne & LHSKnownZero) == in SimplifyDemandedUseBits()
204 if ((DemandedMask & (~LHSKnownZero) & RHSKnownOne) == in SimplifyDemandedUseBits()
205 (DemandedMask & (~LHSKnownZero))) in SimplifyDemandedUseBits()
213 computeKnownBits(I->getOperand(0), LHSKnownZero, LHSKnownOne, Depth + 1, in SimplifyDemandedUseBits()
220 if ((DemandedMask & LHSKnownZero) == DemandedMask) in SimplifyDemandedUseBits()
245 LHSKnownZero, LHSKnownOne, Depth + 1)) in SimplifyDemandedUseBits()
248 assert(!(LHSKnownZero & LHSKnownOne) && "Bits known to be one AND zero?"); in SimplifyDemandedUseBits()
252 if ((DemandedMask & ((RHSKnownZero | LHSKnownZero)| in SimplifyDemandedUseBits()
258 if ((DemandedMask & ~LHSKnownZero & RHSKnownOne) == in SimplifyDemandedUseBits()
259 (DemandedMask & ~LHSKnownZero)) in SimplifyDemandedUseBits()
266 if ((DemandedMask & (RHSKnownZero|LHSKnownZero)) == DemandedMask) in SimplifyDemandedUseBits()
270 if (ShrinkDemandedConstant(I, 1, DemandedMask & ~LHSKnownZero)) in SimplifyDemandedUseBits()
276 KnownZero = RHSKnownZero | LHSKnownZero; in SimplifyDemandedUseBits()
283 LHSKnownZero, LHSKnownOne, Depth + 1)) in SimplifyDemandedUseBits()
286 assert(!(LHSKnownZero & LHSKnownOne) && "Bits known to be one AND zero?"); in SimplifyDemandedUseBits()
290 if ((DemandedMask & ((RHSKnownZero & LHSKnownZero)| in SimplifyDemandedUseBits()
299 if ((DemandedMask & ~RHSKnownOne & LHSKnownZero) == in SimplifyDemandedUseBits()
308 if ((DemandedMask & (~LHSKnownZero) & RHSKnownOne) == in SimplifyDemandedUseBits()
309 (DemandedMask & (~LHSKnownZero))) in SimplifyDemandedUseBits()
317 KnownZero = RHSKnownZero & LHSKnownZero; in SimplifyDemandedUseBits()
324 SimplifyDemandedBits(I->getOperandUse(0), DemandedMask, LHSKnownZero, in SimplifyDemandedUseBits()
328 assert(!(LHSKnownZero & LHSKnownOne) && "Bits known to be one AND zero?"); in SimplifyDemandedUseBits()
331 APInt IKnownZero = (RHSKnownZero & LHSKnownZero) | in SimplifyDemandedUseBits()
335 (RHSKnownOne & LHSKnownZero); in SimplifyDemandedUseBits()
346 if ((DemandedMask & LHSKnownZero) == DemandedMask) in SimplifyDemandedUseBits()
352 if ((DemandedMask & ~RHSKnownZero & ~LHSKnownZero) == 0) { in SimplifyDemandedUseBits()
403 KnownZero= (RHSKnownZero & LHSKnownZero) | (RHSKnownOne & LHSKnownOne); in SimplifyDemandedUseBits()
405 KnownOne = (RHSKnownZero & LHSKnownOne) | (RHSKnownOne & LHSKnownZero); in SimplifyDemandedUseBits()
417 SimplifyDemandedBits(I->getOperandUse(1), DemandedMask, LHSKnownZero, in SimplifyDemandedUseBits()
421 assert(!(LHSKnownZero & LHSKnownOne) && "Bits known to be one AND zero?"); in SimplifyDemandedUseBits()
430 KnownZero = RHSKnownZero & LHSKnownZero; in SimplifyDemandedUseBits()
534 LHSKnownZero, LHSKnownOne, Depth + 1) || in SimplifyDemandedUseBits()
537 LHSKnownZero, LHSKnownOne, Depth + 1)) { in SimplifyDemandedUseBits()
686 if (SimplifyDemandedBits(I->getOperandUse(0), Mask2, LHSKnownZero, in SimplifyDemandedUseBits()
691 KnownZero = LHSKnownZero & LowBits; in SimplifyDemandedUseBits()
696 if (LHSKnownZero[BitWidth-1] || ((LHSKnownZero & LowBits) == LowBits)) in SimplifyDemandedUseBits()
711 APInt LHSKnownZero(BitWidth, 0), LHSKnownOne(BitWidth, 0); in SimplifyDemandedUseBits() local
712 computeKnownBits(I->getOperand(0), LHSKnownZero, LHSKnownOne, Depth + 1, in SimplifyDemandedUseBits()
715 if (LHSKnownZero.isNegative()) in SimplifyDemandedUseBits()