Lines Matching refs:isSigned

60   if (!DstSema.isSigned() && NewVal.isSigned() && NewVal.isNegative()) {  in convert()
69 NewVal.setIsSigned(DstSema.isSigned()); in convert()
76 bool ThisSigned = Val.isSigned(); in compare()
77 bool OtherSigned = OtherVal.isSigned(); in compare()
120 bool IsUnsigned = !Sema.isSigned(); in getMax()
128 auto Val = APSInt::getMinValue(Sema.getWidth(), !Sema.isSigned()); in getMin()
133 APSInt Val(Sema.getWidth(), !Sema.isSigned()); in getEpsilon()
150 APFloat::opStatus Status = F.convertFromAPInt(MaxInt, MaxInt.isSigned(), in fitsInFloatSemantics()
152 if ((Status & APFloat::opOverflow) || !isSigned()) in fitsInFloatSemantics()
156 Status = F.convertFromAPInt(MinInt, MinInt.isSigned(), in fitsInFloatSemantics()
168 bool ResultIsSigned = isSigned() || Other.isSigned(); in getCommonSemantics()
198 Result = CommonFXSema.isSigned() ? ThisVal.sadd_sat(OtherVal) in add()
201 Result = ThisVal.isSigned() ? ThisVal.sadd_ov(OtherVal, Overflowed) in add()
222 Result = CommonFXSema.isSigned() ? ThisVal.ssub_sat(OtherVal) in sub()
225 Result = ThisVal.isSigned() ? ThisVal.ssub_ov(OtherVal, Overflowed) in sub()
246 if (CommonFXSema.isSigned()) { in mul()
262 if (CommonFXSema.isSigned()) in mul()
269 Result.setIsSigned(CommonFXSema.isSigned()); in mul()
306 if (CommonFXSema.isSigned()) { in div()
321 if (CommonFXSema.isSigned()) { in div()
330 Result.setIsSigned(CommonFXSema.isSigned()); in div()
359 if (Sema.isSigned()) in shl()
367 Result.setIsSigned(Sema.isSigned()); in shl()
402 if (Val.isSigned() && Val.isNegative()) { in toString()
422 .toString(Str, /*Radix=*/10, Val.isSigned()); in toString()
438 (!isSigned() && Val != 0) || (isSigned() && Val.isMinSignedValue()); in negate()
446 if (isSigned()) in negate()
468 if (Result.isSigned() && !DstSign) { in convertToInt()
510 APFloat::opStatus S = Flt.convertFromAPInt(Val, Sema.isSigned(), RM); in convertToFloat()
533 Value.getBitWidth(), Value.isSigned()); in getFromIntValue()
579 APSInt Res(DstFXSema.getWidth(), !DstFXSema.isSigned()); in getFromFloatValue()