Lines Matching refs:ThisVal
74 APSInt ThisVal = getValue(); in compare() local
83 ThisVal = ThisVal.extOrTrunc(CommonWidth); in compare()
86 ThisVal = ThisVal.shl(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()
100 if (ThisVal.isSignBitSet()) in compare()
102 else if (ThisVal.ugt(OtherVal)) in compare()
104 else if (ThisVal.ult(OtherVal)) in compare()
110 else if (ThisVal.ugt(OtherVal)) in compare()
112 else if (ThisVal.ult(OtherVal)) in compare()
192 APSInt ThisVal = ConvertedThis.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()
216 APSInt ThisVal = ConvertedThis.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()
240 APSInt ThisVal = ConvertedThis.getValue(); in mul() local
247 ThisVal = ThisVal.sext(Wide); in mul()
250 ThisVal = ThisVal.zext(Wide); in mul()
263 Result = ThisVal.smul_ov(OtherVal, Overflowed) in mul()
266 Result = ThisVal.umul_ov(OtherVal, Overflowed) in mul()
297 APSInt ThisVal = ConvertedThis.getValue(); in div() local
307 ThisVal = ThisVal.sext(Wide); in div()
310 ThisVal = ThisVal.zext(Wide); in div()
317 ThisVal = ThisVal.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()
354 APSInt ThisVal = Val; in shl() local
360 ThisVal = ThisVal.sext(Wide); in shl()
362 ThisVal = ThisVal.zext(Wide); in shl()
365 Amt = std::min(Amt, ThisVal.getBitWidth()); in shl()
366 APSInt Result = ThisVal << Amt; in shl()