Lines Matching defs:I1
319 static bool isSameValue(const APSInt &I1, const APSInt &I2) {
320 return !compareValues(I1, I2);
324 static int compareValues(const APSInt &I1, const APSInt &I2) {
325 if (I1.getBitWidth() == I2.getBitWidth() && I1.isSigned() == I2.isSigned())
326 return I1.IsUnsigned ? I1.compare(I2) : I1.compareSigned(I2);
329 if (I1.getBitWidth() > I2.getBitWidth())
330 return compareValues(I1, I2.extend(I1.getBitWidth()));
331 if (I2.getBitWidth() > I1.getBitWidth())
332 return compareValues(I1.extend(I2.getBitWidth()), I2);
336 if (I1.isSigned()) {
338 if (I1.isNegative())
346 return I1.compare(I2);