Lines Matching refs:OtherVal

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