Lines Matching defs:Coeff
120 const FAddendCoef &getCoef(void) const { return Coeff; }
123 bool isZero() const { return Coeff.isZero(); }
125 void set(short Coefficient, Value *V) { Coeff.set(Coefficient), Val = V; }
127 { Coeff.set(Coefficient); Val = V; }
129 { Coeff.set(Coefficient->getValueAPF()); Val = V; }
131 void negate() { Coeff.negate(); }
143 Coeff += T.Coeff;
147 void Scale(const FAddendCoef& ScaleAmt) { Coeff *= ScaleAmt; }
149 // This addend has the value of "Coeff * Val".
151 FAddendCoef Coeff;
421 if (!BreakNum || Coeff.isOne())
424 Addend0.Scale(Coeff);
427 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()));