Lines Matching refs:APSInt
21 APSInt NewVal = Val; in convert()
65 APSInt ThisVal = getValue(); in compare()
66 APSInt OtherVal = Other.getValue(); in compare()
117 auto Val = APSInt::getMaxValue(Sema.getWidth(), IsUnsigned); in getMax()
124 auto Val = APSInt::getMinValue(Sema.getWidth(), !Sema.isSigned()); in getMin()
138 APSInt MaxInt = APFixedPoint::getMax(*this).getValue(); in fitsInFloatSemantics()
145 APSInt MinInt = APFixedPoint::getMin(*this).getValue(); in fitsInFloatSemantics()
181 APSInt ThisVal = ConvertedThis.getValue(); in add()
182 APSInt OtherVal = ConvertedOther.getValue(); in add()
185 APSInt Result; in add()
205 APSInt ThisVal = ConvertedThis.getValue(); in sub()
206 APSInt OtherVal = ConvertedOther.getValue(); in sub()
209 APSInt Result; in sub()
229 APSInt ThisVal = ConvertedThis.getValue(); in mul()
230 APSInt OtherVal = ConvertedOther.getValue(); in mul()
250 APSInt Result; in mul()
262 APSInt Max = APFixedPoint::getMax(CommonFXSema).getValue() in mul()
264 APSInt Min = APFixedPoint::getMin(CommonFXSema).getValue() in mul()
286 APSInt ThisVal = ConvertedThis.getValue(); in div()
287 APSInt OtherVal = ConvertedOther.getValue(); in div()
303 APSInt Result; in div()
317 APSInt Max = APFixedPoint::getMax(CommonFXSema).getValue() in div()
319 APSInt Min = APFixedPoint::getMin(CommonFXSema).getValue() in div()
337 APSInt ThisVal = Val; in shl()
349 APSInt Result = ThisVal << Amt; in shl()
354 APSInt Max = APFixedPoint::getMax(Sema).getValue().extOrTrunc(Wide); in shl()
355 APSInt Min = APFixedPoint::getMin(Sema).getValue().extOrTrunc(Wide); in shl()
371 APSInt Val = getValue(); in toString()
379 APSInt IntPart = Val >> Scale; in toString()
415 APSInt APFixedPoint::convertToInt(unsigned DstWidth, bool DstSign, in convertToInt()
417 APSInt Result = getIntPart(); in convertToInt()
420 APSInt DstMin = APSInt::getMinValue(DstWidth, !DstSign); in convertToInt()
421 APSInt DstMax = APSInt::getMaxValue(DstWidth, !DstSign); in convertToInt()
492 APFixedPoint APFixedPoint::getFromIntValue(const APSInt &Value, in getFromIntValue()
542 APSInt Res(DstFXSema.getWidth(), !DstFXSema.isSigned()); in getFromFloatValue()