Lines Matching full:intval
38 FAddendCoef() : IsFp(false), BufHasFpVal(false), IntVal(0) {}
43 IsFp = false; IntVal = C;
50 bool isZero() const { return isInt() ? !IntVal : getFpVal().isZero(); }
60 bool isOne() const { return isInt() && IntVal == 1; }
61 bool isTwo() const { return isInt() && IntVal == 2; }
62 bool isMinusOne() const { return isInt() && IntVal == -1; }
63 bool isMinusTwo() const { return isInt() && IntVal == -2; }
91 // two instructions. So the range of <IntVal> falls in [-4, 4]. APInt
93 short IntVal;
211 set(That.IntVal);
220 IntVal += That.IntVal;
229 getFpVal().add(APFloat(T.getSemantics(), IntVal), RndMode);
234 T.add(APFloat(T.getSemantics(), That.IntVal), RndMode);
241 IntVal -= That.IntVal;
250 getFpVal().subtract(APFloat(T.getSemantics(), IntVal), RndMode);
255 T.subtract(APFloat(T.getSemantics(), IntVal), RndMode);
268 int Res = IntVal * (int)That.IntVal;
270 IntVal = Res;
278 set(APFloat(Semantic, IntVal));
282 F0.multiply(APFloat(Semantic, That.IntVal), APFloat::rmNearestTiesToEven);
291 IntVal = 0 - IntVal;
298 ConstantFP::get(Ty, float(IntVal)) :