Searched refs:DstSign (Results 1 – 3 of 3) sorted by relevance
415 APSInt APFixedPoint::convertToInt(unsigned DstWidth, bool DstSign, in convertToInt() argument420 APSInt DstMin = APSInt::getMinValue(DstWidth, !DstSign); in convertToInt()421 APSInt DstMax = APSInt::getMaxValue(DstWidth, !DstSign); in convertToInt()431 if (Result.isSigned() && !DstSign) { in convertToInt()433 } else if (Result.isUnsigned() && DstSign) { in convertToInt()440 Result.setIsSigned(DstSign); in convertToInt()
97 template <unsigned DstBits, bool DstSign>98 explicit operator Integral<DstBits, DstSign>() const {99 return Integral<DstBits, DstSign>(V);
168 APSInt convertToInt(unsigned DstWidth, bool DstSign,