Lines Matching refs:KnownZero2
48 APInt &KnownZero2, APInt &KnownOne2,
60 llvm::ComputeMaskedBits(Op1, KnownZero2, KnownOne2, TD, Depth+1);
65 if ((KnownZero2 & MaskV) == MaskV) {
86 llvm::ComputeMaskedBits(Op1, KnownZero2, KnownOne2, TD, Depth+1);
87 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?");
88 unsigned RHSKnownZeroOut = KnownZero2.countTrailingOnes();
95 KnownZero |= KnownZero2 & Mask;
115 if (LHSKnownZero.isNegative() && KnownZero2.isNegative())
125 else if (LHSKnownOne.isNegative() && KnownZero2.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?");
151 bool isKnownNonNegativeOp0 = KnownZero2.isNegative();
173 KnownZero2.countTrailingOnes();
175 KnownZero2.countLeadingOnes(),
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?");
345 KnownZero |= KnownZero2;
350 ComputeMaskedBits(I->getOperand(0), KnownZero2, KnownOne2, TD, Depth+1);
352 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?");
355 KnownZero &= KnownZero2;
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 KnownZero, KnownOne, KnownZero2
383 ComputeMaskedBits(I->getOperand(0), KnownZero2, KnownOne2, TD, Depth+1);
384 unsigned LeadZ = KnownZero2.countLeadingOnes();
387 KnownZero2.clearAllBits();
388 ComputeMaskedBits(I->getOperand(1), KnownZero2, KnownOne2, TD, Depth+1);
399 ComputeMaskedBits(I->getOperand(1), KnownZero2, KnownOne2, TD,
402 assert((KnownZero2 & KnownOne2) == 0 && "Bits known to be one AND zero?");
406 KnownZero &= KnownZero2;
523 KnownZero, KnownOne, KnownZero2, KnownOne2, TD,
530 KnownZero, KnownOne, KnownZero2, KnownOne2, TD,
539 ComputeMaskedBits(I->getOperand(0), KnownZero2, KnownOne2, TD, Depth+1);
542 KnownZero = KnownZero2 & LowBits;
547 if (KnownZero2[BitWidth-1] || ((KnownZero2 & LowBits) == LowBits))
588 ComputeMaskedBits(I->getOperand(1), KnownZero2, KnownOne2, TD, Depth+1);
591 KnownZero2.countLeadingOnes());
675 ComputeMaskedBits(R, KnownZero2, KnownOne2, TD, Depth+1);
682 std::min(KnownZero2.countTrailingOnes(),
706 KnownZero2 = APInt(BitWidth, 0);
710 ComputeMaskedBits(P->getIncomingValue(i), KnownZero2, KnownOne2, TD,
712 KnownZero &= KnownZero2;
758 KnownOne, KnownZero2, KnownOne2, TD, Depth);
764 KnownOne, KnownZero2, KnownOne2, TD, Depth);
770 KnownZero2, KnownOne2, TD, Depth);