Lines Matching refs:APSInt
34 APSInt NewVal = Val; in convert()
74 APSInt ThisVal = getValue(); in compare()
75 APSInt OtherVal = Other.getValue(); in compare()
121 auto Val = APSInt::getMaxValue(Sema.getWidth(), IsUnsigned); in getMax()
128 auto Val = APSInt::getMinValue(Sema.getWidth(), !Sema.isSigned()); in getMin()
142 APSInt MaxInt = APFixedPoint::getMax(*this).getValue(); in fitsInFloatSemantics()
149 APSInt MinInt = APFixedPoint::getMin(*this).getValue(); in fitsInFloatSemantics()
186 APSInt ThisVal = ConvertedThis.getValue(); in add()
187 APSInt OtherVal = ConvertedOther.getValue(); in add()
190 APSInt Result; in add()
210 APSInt ThisVal = ConvertedThis.getValue(); in sub()
211 APSInt OtherVal = ConvertedOther.getValue(); in sub()
214 APSInt Result; in sub()
234 APSInt ThisVal = ConvertedThis.getValue(); in mul()
235 APSInt OtherVal = ConvertedOther.getValue(); in mul()
255 APSInt Result; in mul()
267 APSInt Max = APFixedPoint::getMax(CommonFXSema).getValue() in mul()
269 APSInt Min = APFixedPoint::getMin(CommonFXSema).getValue() in mul()
291 APSInt ThisVal = ConvertedThis.getValue(); in div()
292 APSInt OtherVal = ConvertedOther.getValue(); in div()
314 APSInt Result; in div()
328 APSInt Max = APFixedPoint::getMax(CommonFXSema).getValue() in div()
330 APSInt Min = APFixedPoint::getMin(CommonFXSema).getValue() in div()
348 APSInt ThisVal = Val; in shl()
360 APSInt Result = ThisVal << Amt; in shl()
365 APSInt Max = APFixedPoint::getMax(Sema).getValue().extOrTrunc(Wide); in shl()
366 APSInt Min = APFixedPoint::getMin(Sema).getValue().extOrTrunc(Wide); in shl()
382 APSInt Val = getValue(); in toString()
387 APSInt IntPart = Val; in toString()
403 APSInt IntPart = (OrigWidth > Scale) ? (Val >> Scale) : APSInt::get(0); in toString()
446 APSInt APFixedPoint::convertToInt(unsigned DstWidth, bool DstSign, in convertToInt()
448 APSInt Result = getIntPart(); in convertToInt()
451 APSInt DstMin = APSInt::getMinValue(DstWidth, !DstSign); in convertToInt()
452 APSInt DstMax = APSInt::getMaxValue(DstWidth, !DstSign); in convertToInt()
523 APFixedPoint APFixedPoint::getFromIntValue(const APSInt &Value, in getFromIntValue()
573 APSInt Res(DstFXSema.getWidth(), !DstFXSema.isSigned()); in getFromFloatValue()