Lines Matching defs:OtherVal

75   APSInt OtherVal = Other.getValue();
77 bool OtherSigned = OtherVal.isSigned();
84 OtherVal = OtherVal.extOrTrunc(CommonWidth);
87 OtherVal = OtherVal.shl(Other.getLsbWeight() - CommonLsb);
90 if (ThisVal.sgt(OtherVal))
92 else if (ThisVal.slt(OtherVal))
95 if (ThisVal.ugt(OtherVal))
97 else if (ThisVal.ult(OtherVal))
102 else if (ThisVal.ugt(OtherVal))
104 else if (ThisVal.ult(OtherVal))
108 if (OtherVal.isSignBitSet())
110 else if (ThisVal.ugt(OtherVal))
112 else if (ThisVal.ult(OtherVal))
193 APSInt OtherVal = ConvertedOther.getValue();
198 Result = CommonFXSema.isSigned() ? ThisVal.sadd_sat(OtherVal)
199 : ThisVal.uadd_sat(OtherVal);
201 Result = ThisVal.isSigned() ? ThisVal.sadd_ov(OtherVal, Overflowed)
202 : ThisVal.uadd_ov(OtherVal, Overflowed);
217 APSInt OtherVal = ConvertedOther.getValue();
222 Result = CommonFXSema.isSigned() ? ThisVal.ssub_sat(OtherVal)
223 : ThisVal.usub_sat(OtherVal);
225 Result = ThisVal.isSigned() ? ThisVal.ssub_ov(OtherVal, Overflowed)
226 : ThisVal.usub_ov(OtherVal, Overflowed);
241 APSInt OtherVal = ConvertedOther.getValue();
248 OtherVal = OtherVal.sext(Wide);
251 OtherVal = OtherVal.zext(Wide);
263 Result = ThisVal.smul_ov(OtherVal, Overflowed)
266 Result = ThisVal.umul_ov(OtherVal, Overflowed)
298 APSInt OtherVal = ConvertedOther.getValue();
308 OtherVal = OtherVal.sext(Wide);
311 OtherVal = OtherVal.zext(Wide);
319 OtherVal = OtherVal.shl(CommonFXSema.getLsbWeight());
323 APInt::sdivrem(ThisVal, OtherVal, Result, Rem);
326 if (ThisVal.isNegative() != OtherVal.isNegative() && !Rem.isZero())
329 Result = ThisVal.udiv(OtherVal);