Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:Coeff

121     const FAddendCoef &getCoef() const { return Coeff; }
124 bool isZero() const { return Coeff.isZero(); }
126 void set(short Coefficient, Value *V) { Coeff.set(Coefficient), Val = V; }
128 { Coeff.set(Coefficient); Val = V; }
130 { Coeff.set(Coefficient->getValueAPF()); Val = V; }
132 void negate() { Coeff.negate(); }
144 Coeff += T.Coeff;
148 void Scale(const FAddendCoef& ScaleAmt) { Coeff *= ScaleAmt; }
150 // This addend has the value of "Coeff * Val".
152 FAddendCoef Coeff;
422 if (!BreakNum || Coeff.isOne())
425 Addend0.Scale(Coeff);
428 Addend1.Scale(Coeff);
841 const FAddendCoef &Coeff = Opnd.getCoef();
845 return Coeff.getValue(Instr->getType());
850 if (Coeff.isMinusOne() || Coeff.isOne()) {
851 NeedNeg = Coeff.isMinusOne();
855 if (Coeff.isTwo() || Coeff.isMinusTwo()) {
856 NeedNeg = Coeff.isMinusTwo();
861 return createFMul(OpndVal, Coeff.getValue(Instr->getType()));