Lines Matching refs:IntVal
42 FAddendCoef() : IsFp(false), BufHasFpVal(false), IntVal(0) {} in FAddendCoef()
47 IsFp = false; IntVal = C; in set()
54 bool isZero() const { return isInt() ? !IntVal : getFpVal().isZero(); } in isZero()
64 bool isOne() const { return isInt() && IntVal == 1; } in isOne()
65 bool isTwo() const { return isInt() && IntVal == 2; } in isTwo()
66 bool isMinusOne() const { return isInt() && IntVal == -1; } in isMinusOne()
67 bool isMinusTwo() const { return isInt() && IntVal == -2; } in isMinusTwo()
107 short IntVal; member in __anon7d5df7c90111::FAddendCoef
228 if (IntVal > 0) in convertToFpType()
229 new(P) APFloat(Sem, IntVal); in convertToFpType()
231 new(P) APFloat(Sem, 0 - IntVal); in convertToFpType()
249 set(That.IntVal); in operator =()
258 IntVal += That.IntVal; in operator +=()
272 T.add(createAPFloatFromInt(T.getSemantics(), That.IntVal), RndMode); in operator +=()
279 IntVal -= That.IntVal; in operator -=()
293 T.subtract(createAPFloatFromInt(T.getSemantics(), IntVal), RndMode); in operator -=()
306 int Res = IntVal * (int)That.IntVal; in operator *=()
308 IntVal = Res; in operator *=()
320 F0.multiply(createAPFloatFromInt(Semantic, That.IntVal), in operator *=()
330 IntVal = 0 - IntVal; in negate()
337 ConstantFP::get(Ty, float(IntVal)) : in getValue()
1579 APInt IntVal = C->getValue(); in visitSub() local
1580 if ((IntVal + 1).isPowerOf2()) { in visitSub()
1585 if ((IntVal | KnownZero).isAllOnesValue()) { in visitSub()