Searched refs:DstSign (Results 1 – 3 of 3) sorted by relevance
446 APSInt APFixedPoint::convertToInt(unsigned DstWidth, bool DstSign, in convertToInt() argument451 APSInt DstMin = APSInt::getMinValue(DstWidth, !DstSign); in convertToInt()452 APSInt DstMax = APSInt::getMaxValue(DstWidth, !DstSign); in convertToInt()462 if (Result.isSigned() && !DstSign) { in convertToInt()464 } else if (Result.isUnsigned() && DstSign) { in convertToInt()471 Result.setIsSigned(DstSign); in convertToInt()
97 template <unsigned DstBits, bool DstSign>98 explicit operator Integral<DstBits, DstSign>() const {99 return Integral<DstBits, DstSign>(V);
227 APSInt convertToInt(unsigned DstWidth, bool DstSign,