Lines Matching refs:One
32 APInt CarryKnownOne = PossibleSumOne ^ LHS.One ^ RHS.One; in computeForAddCarry()
35 APInt LHSKnownUnion = LHS.Zero | LHS.One; in computeForAddCarry()
36 APInt RHSKnownUnion = RHS.Zero | RHS.One; in computeForAddCarry()
46 KnownOut.One = std::move(PossibleSumOne) & Known; in computeForAddCarry()
54 LHS, RHS, Carry.Zero.getBoolValue(), Carry.One.getBoolValue()); in computeForAddCarry()
66 std::swap(RHS.Zero, RHS.One); in computeForAddSub()
98 Result.One = One << ExtBits; in sextInReg()
100 Result.One.ashrInPlace(ExtBits); in sextInReg()
114 return KnownBits(Zero, One | MaskedVal); in makeGE()
137 auto Flip = [](const KnownBits &Val) { return KnownBits(Val.One, Val.Zero); }; in umin()
146 APInt One = Val.One; in smax() local
147 Zero.setBitVal(SignBitPosition, Val.One[SignBitPosition]); in smax()
148 One.setBitVal(SignBitPosition, Val.Zero[SignBitPosition]); in smax()
149 return KnownBits(Zero, One); in smax()
158 APInt Zero = Val.One; in smin()
159 APInt One = Val.Zero; in smin() local
161 One.setBitVal(SignBitPosition, Val.One[SignBitPosition]); in smin()
162 return KnownBits(Zero, One); in smin()
176 Known.One <<= Shift; in shl()
197 uint64_t ShiftAmtOneMask = RHS.One.getZExtValue(); in shl()
200 Known.One.setAllBits(); in shl()
210 SpecificShift.One = LHS.One << ShiftAmt; in shl()
229 Known.One.lshrInPlace(Shift); in lshr()
250 uint64_t ShiftAmtOneMask = RHS.One.getZExtValue(); in lshr()
253 Known.One.setAllBits(); in lshr()
263 SpecificShift.One.lshrInPlace(ShiftAmt); in lshr()
282 Known.One.ashrInPlace(Shift); in ashr()
308 uint64_t ShiftAmtOneMask = RHS.One.getZExtValue(); in ashr()
311 Known.One.setAllBits(); in ashr()
321 SpecificShift.One.ashrInPlace(ShiftAmt); in ashr()
329 Known.One.setHighBits(MinLeadingOnes); in ashr()
336 if (LHS.One.intersects(RHS.Zero) || RHS.One.intersects(LHS.Zero)) in eq()
407 if (IntMinIsPoison || (!One.isZero() && !One.isMinSignedValue())) in abs()
479 const APInt &Bottom0 = LHS.One; in mul()
480 const APInt &Bottom1 = RHS.One; in mul()
484 unsigned TrailBitsKnown0 = (LHS.Zero | LHS.One).countTrailingOnes(); in mul()
485 unsigned TrailBitsKnown1 = (RHS.Zero | RHS.One).countTrailingOnes(); in mul()
501 Res.One = BottomKnown.getLoBits(ResultBitsKnown); in mul()
505 assert(Res.One[1] == 0 && in mul()
558 Known.One = LHS.One & LowBits; in urem()
579 Known.One = LHS.One & LowBits; in srem()
588 if (LHS.isNegative() && LowBits.intersects(LHS.One)) in srem()
589 Known.One |= ~LowBits; in srem()
605 One &= RHS.One; in operator &=()
613 One |= RHS.One; in operator |=()
619 APInt Z = (Zero & RHS.Zero) | (One & RHS.One); in operator ^=()
621 One = (Zero & RHS.One) | (One & RHS.Zero); in operator ^=()
627 OS << "{Zero=" << Zero << ", One=" << One << "}"; in print()