Lines Matching defs:FAddCombine
55 // FAddCombine::Add[0-5] embodies this idea.
175 /// FAddCombine is the class for optimizing an unsafe fadd/fsub along
178 class FAddCombine {
180 FAddCombine(InstCombiner::BuilderTy &B) : Builder(B) {}
221 // {FAddendCoef, FAddend, FAddition, FAddCombine}.
427 Value *FAddCombine::simplify(Instruction *I) {
514 Value *FAddCombine::simplifyFAdd(AddendVect& Addends, unsigned InstrQuota) {
592 Value *FAddCombine::createNaryFAdd
650 Value *FAddCombine::createFSub(Value *Opnd0, Value *Opnd1) {
657 Value *FAddCombine::createFNeg(Value *V) {
664 Value *FAddCombine::createFAdd(Value *Opnd0, Value *Opnd1) {
671 Value *FAddCombine::createFMul(Value *Opnd0, Value *Opnd1) {
678 void FAddCombine::createInstPostProc(Instruction *NewInstr, bool NoNumber) {
691 unsigned FAddCombine::calcInstrNumber(const AddendVect &Opnds) {
722 // NOTE: Keep this function in sync with FAddCombine::calcInstrNumber.
723 Value *FAddCombine::createAddendVal(const FAddend &Opnd, bool &NeedNeg) {
2050 if (Value *V = FAddCombine(Builder).simplify(&I))
3108 if (Value *V = FAddCombine(Builder).simplify(&I))