Home | History | Annotate | Download | only in InstCombine

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);
845 const FAddendCoef &Coeff = Opnd.getCoef();
849 return Coeff.getValue(Instr->getType());
854 if (Coeff.isMinusOne() || Coeff.isOne()) {
855 NeedNeg = Coeff.isMinusOne();
859 if (Coeff.isTwo() || Coeff.isMinusTwo()) {
860 NeedNeg = Coeff.isMinusTwo();
865 return createFMul(OpndVal, Coeff.getValue(Instr->getType()));