Lines Matching defs:Unsigned
8234 // Unsigned types cannot be negative. Suggest removing the absolute value
9355 bool Unsigned = L.NonNegative && R.NonNegative;
9356 return IntRange(std::max(L.valueBits(), R.valueBits()) + !Unsigned,
9377 bool Unsigned = L.NonNegative && R.NonNegative;
9378 return IntRange(std::max(L.valueBits(), R.valueBits()) + 1 + !Unsigned,
9379 Unsigned);
9388 bool Unsigned = L.NonNegative && R.Width == 0;
9390 !Unsigned,
9391 Unsigned);
9400 bool Unsigned = L.NonNegative && R.NonNegative;
9401 return IntRange(L.valueBits() + R.valueBits() + CanWiden + !Unsigned,
9402 Unsigned);
9409 bool Unsigned = L.NonNegative;
9410 return IntRange(std::min(L.valueBits(), R.valueBits()) + !Unsigned,
9411 Unsigned);
9813 PromotedRange(IntRange R, unsigned BitWidth, bool Unsigned) {
9815 PromotedMin = PromotedMax = llvm::APSInt(BitWidth, Unsigned);
9816 else if (R.Width >= BitWidth && !Unsigned) {
9820 PromotedMin = llvm::APSInt::getMinValue(BitWidth, Unsigned);
9821 PromotedMax = llvm::APSInt::getMaxValue(BitWidth, Unsigned);
9825 PromotedMin.setIsUnsigned(Unsigned);
9829 PromotedMax.setIsUnsigned(Unsigned);