Lines Matching refs:umin
16 return umin().getBitWidth() == other.umin().getBitWidth() && in operator ==()
17 umin() == other.umin() && umax() == other.umax() && in operator ==()
21 const APInt &ConstantIntRanges::umin() const { return uminVal; } in umin() function in ConstantIntRanges
56 APInt umin, umax; in fromSigned() local
58 umin = smin.ult(smax) ? smin : smax; in fromSigned()
61 umin = APInt::getMinValue(width); in fromSigned()
64 return {umin, umax, smin, smax}; in fromSigned()
67 ConstantIntRanges ConstantIntRanges::fromUnsigned(const APInt &umin, in fromUnsigned() argument
69 unsigned int width = umin.getBitWidth(); in fromUnsigned()
71 if (umin.isNonNegative() == umax.isNonNegative()) { in fromUnsigned()
72 smin = umin.slt(umax) ? umin : umax; in fromUnsigned()
73 smax = umin.sgt(umax) ? umin : umax; in fromUnsigned()
78 return {umin, umax, smin, smax}; in fromUnsigned()
85 if (umin().getBitWidth() == 0) in rangeUnion()
87 if (other.umin().getBitWidth() == 0) in rangeUnion()
90 const APInt &uminUnion = umin().ult(other.umin()) ? umin() : other.umin(); in rangeUnion()
102 if (umin().getBitWidth() == 0) in intersection()
104 if (other.umin().getBitWidth() == 0) in intersection()
107 const APInt &uminIntersect = umin().ugt(other.umin()) ? umin() : other.umin(); in intersection()
117 if (umin() == umax() && umin().getBitWidth() != 0) in getConstantValue()
118 return umin(); in getConstantValue()
125 return os << "unsigned : [" << range.umin() << ", " << range.umax() in operator <<()