• Home
  • Raw
  • Download

Lines Matching refs:LHSKnownOne

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