Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:APFloat

32     // The constructor has to initialize a APFloat, which is uncessary for
46 void set(const APFloat& C);
67 APFloat *getFpValPtr(void)
68 { return reinterpret_cast<APFloat*>(&FpValBuf.buffer[0]); }
69 const APFloat *getFpValPtr(void) const
70 { return reinterpret_cast<const APFloat*>(&FpValBuf.buffer[0]); }
72 const APFloat &getFpVal(void) const {
77 APFloat &getFpVal(void)
86 // True iff FpValBuf contains an instance of APFloat.
95 AlignedCharArrayUnion<APFloat> FpValBuf;
113 void set(const APFloat& Coefficient, Value *V)
193 getFpValPtr()->~APFloat();
196 void FAddendCoef::set(const APFloat& C) {
197 APFloat *P = getFpValPtr();
201 // APFloat::operator=().
202 new(P) APFloat(C);
217 enum APFloat::roundingMode RndMode = APFloat::rmNearestTiesToEven;
227 const APFloat &T = That.getFpVal();
229 getFpVal().add(APFloat(T.getSemantics(), IntVal), RndMode);
233 APFloat &T = getFpVal();
234 T.add(APFloat(T.getSemantics(), That.IntVal), RndMode);
238 enum APFloat::roundingMode RndMode = APFloat::rmNearestTiesToEven;
248 const APFloat &T = That.getFpVal();
250 getFpVal().subtract(APFloat(T.getSemantics(), IntVal), RndMode);
254 APFloat &T = getFpVal();
255 T.subtract(APFloat(T.getSemantics(), IntVal), RndMode);
278 set(APFloat(Semantic, IntVal));
279 APFloat &F0 = getFpVal();
282 F0.multiply(APFloat(Semantic, That.IntVal), APFloat::rmNearestTiesToEven);
284 F0.multiply(That.getFpVal(), APFloat::rmNearestTiesToEven);
352 Addend0.set(APFloat(C0->getValueAPF().getSemantics()), 0);
455 const APFloat &F = CFP->getValueAPF();