Lines Matching refs:KnownZero
150 static void ComputeSignedMinMaxValuesFromKnownBits(const APInt& KnownZero,
153 assert(KnownZero.getBitWidth() == KnownOne.getBitWidth() &&
154 KnownZero.getBitWidth() == Min.getBitWidth() &&
155 KnownZero.getBitWidth() == Max.getBitWidth() &&
156 "KnownZero, KnownOne and Min, Max must have equal bitwidth.");
157 APInt UnknownBits = ~(KnownZero|KnownOne);
174 static void ComputeUnsignedMinMaxValuesFromKnownBits(const APInt &KnownZero,
177 assert(KnownZero.getBitWidth() == KnownOne.getBitWidth() &&
178 KnownZero.getBitWidth() == Min.getBitWidth() &&
179 KnownZero.getBitWidth() == Max.getBitWidth() &&
180 "Ty, KnownZero, KnownOne and Min, Max must have equal bitwidth.");
181 APInt UnknownBits = ~(KnownZero|KnownOne);
1004 APInt KnownZero(SrcBits, 0), KnownOne(SrcBits, 0);
1005 ComputeMaskedBits(LHSI->getOperand(0), Mask, KnownZero, KnownOne);
1008 if ((KnownZero|KnownOne).countLeadingOnes() >= SrcBits-DstBits) {