Lines Matching refs:KnownOne2
48 APInt &KnownZero2, APInt &KnownOne2,
60 llvm::ComputeMaskedBits(Op1, KnownZero2, KnownOne2, TD, Depth+1);
86 llvm::ComputeMaskedBits(Op1, KnownZero2, KnownOne2, TD, Depth+1);
87 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?");
96 KnownOne |= KnownOne2 & Mask;
118 else if (LHSKnownOne.isNegative() && KnownOne2.isNegative())
122 if (LHSKnownZero.isNegative() && KnownOne2.isNegative())
134 APInt &KnownZero2, APInt &KnownOne2,
138 ComputeMaskedBits(Op0, KnownZero2, KnownOne2, TD, Depth+1);
140 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?");
153 bool isKnownNegativeOp0 = KnownOne2.isNegative();
328 APInt KnownZero2(KnownZero), KnownOne2(KnownOne);
338 ComputeMaskedBits(I->getOperand(0), KnownZero2, KnownOne2, TD, Depth+1);
340 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?");
343 KnownOne &= KnownOne2;
350 ComputeMaskedBits(I->getOperand(0), KnownZero2, KnownOne2, TD, Depth+1);
352 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?");
357 KnownOne |= KnownOne2;
362 ComputeMaskedBits(I->getOperand(0), KnownZero2, KnownOne2, TD, Depth+1);
364 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?");
367 APInt KnownZeroOut = (KnownZero & KnownZero2) | (KnownOne & KnownOne2);
369 KnownOne = (KnownZero & KnownOne2) | (KnownOne & KnownZero2);
376 KnownOne2, TD, Depth);
383 ComputeMaskedBits(I->getOperand(0), KnownZero2, KnownOne2, TD, Depth+1);
386 KnownOne2.clearAllBits();
388 ComputeMaskedBits(I->getOperand(1), KnownZero2, KnownOne2, TD, Depth+1);
389 unsigned RHSUnknownLeadingOnes = KnownOne2.countLeadingZeros();
399 ComputeMaskedBits(I->getOperand(1), KnownZero2, KnownOne2, TD,
402 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?");
405 KnownOne &= KnownOne2;
523 KnownZero, KnownOne, KnownZero2, KnownOne2, TD,
530 KnownZero, KnownOne, KnownZero2, KnownOne2, TD,
539 ComputeMaskedBits(I->getOperand(0), KnownZero2, KnownOne2, TD, Depth+1);
543 KnownOne = KnownOne2 & LowBits;
552 if (KnownOne2[BitWidth-1] && ((KnownOne2 & LowBits) != 0))
588 ComputeMaskedBits(I->getOperand(1), KnownZero2, KnownOne2, TD, Depth+1);
675 ComputeMaskedBits(R, KnownZero2, KnownOne2, TD, Depth+1);
707 KnownOne2 = APInt(BitWidth, 0);
710 ComputeMaskedBits(P->getIncomingValue(i), KnownZero2, KnownOne2, TD,
713 KnownOne &= KnownOne2;
758 KnownOne, KnownZero2, KnownOne2, TD, Depth);
764 KnownOne, KnownZero2, KnownOne2, TD, Depth);
770 KnownZero2, KnownOne2, TD, Depth);