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