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()
186 APSInt ThisVal = ConvertedThis.getValue(); in add() local
192 Result = CommonFXSema.isSigned() ? ThisVal.sadd_sat(OtherVal) in add()
193 : ThisVal.uadd_sat(OtherVal); in add()
195 Result = ThisVal.isSigned() ? ThisVal.sadd_ov(OtherVal, Overflowed) in add()
196 : ThisVal.uadd_ov(OtherVal, Overflowed); in add()
210 APSInt ThisVal = ConvertedThis.getValue(); in sub() local
216 Result = CommonFXSema.isSigned() ? ThisVal.ssub_sat(OtherVal) in sub()
217 : ThisVal.usub_sat(OtherVal); in sub()
219 Result = ThisVal.isSigned() ? ThisVal.ssub_ov(OtherVal, Overflowed) in sub()
220 : ThisVal.usub_ov(OtherVal, Overflowed); in sub()
234 APSInt ThisVal = ConvertedThis.getValue(); in mul() local
241 ThisVal = ThisVal.sext(Wide); in mul()
244 ThisVal = ThisVal.zext(Wide); in mul()
257 Result = ThisVal.smul_ov(OtherVal, Overflowed) in mul()
260 Result = ThisVal.umul_ov(OtherVal, Overflowed) in mul()
291 APSInt ThisVal = ConvertedThis.getValue(); in div() local
301 ThisVal = ThisVal.sext(Wide); in div()
304 ThisVal = ThisVal.zext(Wide); in div()
311 ThisVal = ThisVal.shl(-CommonFXSema.getLsbWeight()); in div()
317 APInt::sdivrem(ThisVal, OtherVal, Result, Rem); in div()
320 if (ThisVal.isNegative() != OtherVal.isNegative() && !Rem.isZero()) in div()
323 Result = ThisVal.udiv(OtherVal); in div()
348 APSInt ThisVal = Val; in shl() local
354 ThisVal = ThisVal.sext(Wide); in shl()
356 ThisVal = ThisVal.zext(Wide); in shl()
359 Amt = std::min(Amt, ThisVal.getBitWidth()); in shl()
360 APSInt Result = ThisVal << Amt; in shl()