Lines Matching defs:OtherVal

85   APSInt OtherVal = Other.getValue();
87 bool OtherSigned = OtherVal.isSigned();
94 OtherVal = OtherVal.extOrTrunc(CommonWidth);
97 OtherVal = OtherVal.shl(Other.getLsbWeight() - CommonLsb);
100 if (ThisVal.sgt(OtherVal))
102 else if (ThisVal.slt(OtherVal))
105 if (ThisVal.ugt(OtherVal))
107 else if (ThisVal.ult(OtherVal))
112 else if (ThisVal.ugt(OtherVal))
114 else if (ThisVal.ult(OtherVal))
118 if (OtherVal.isSignBitSet())
120 else if (ThisVal.ugt(OtherVal))
122 else if (ThisVal.ult(OtherVal))
203 APSInt OtherVal = ConvertedOther.getValue();
208 Result = CommonFXSema.isSigned() ? ThisVal.sadd_sat(OtherVal)
209 : ThisVal.uadd_sat(OtherVal);
211 Result = ThisVal.isSigned() ? ThisVal.sadd_ov(OtherVal, Overflowed)
212 : ThisVal.uadd_ov(OtherVal, Overflowed);
227 APSInt OtherVal = ConvertedOther.getValue();
232 Result = CommonFXSema.isSigned() ? ThisVal.ssub_sat(OtherVal)
233 : ThisVal.usub_sat(OtherVal);
235 Result = ThisVal.isSigned() ? ThisVal.ssub_ov(OtherVal, Overflowed)
236 : ThisVal.usub_ov(OtherVal, Overflowed);
251 APSInt OtherVal = ConvertedOther.getValue();
258 OtherVal = OtherVal.sext(Wide);
261 OtherVal = OtherVal.zext(Wide);
273 Result = ThisVal.smul_ov(OtherVal, Overflowed)
276 Result = ThisVal.umul_ov(OtherVal, Overflowed)
308 APSInt OtherVal = ConvertedOther.getValue();
318 OtherVal = OtherVal.sext(Wide);
321 OtherVal = OtherVal.zext(Wide);
329 OtherVal = OtherVal.shl(CommonFXSema.getLsbWeight());
333 APInt::sdivrem(ThisVal, OtherVal, Result, Rem);
336 if (ThisVal.isNegative() != OtherVal.isNegative() && !Rem.isZero())
339 Result = ThisVal.udiv(OtherVal);