Lines Matching defs:Benefit
128 InstructionCost Benefit = 0;
487 InstructionCost Benefit = 0;
510 Benefit += 1;
513 Benefit += TTI.getInstructionCost(I, TargetTransformInfo::TCK_CodeSize);
518 return Benefit;
2631 CurrentGroup.Benefit += RegionBenefit;
2632 LLVM_DEBUG(dbgs() << "Current Benefit: " << CurrentGroup.Benefit << "\n");
2874 if (CurrentGroup.Cost >= CurrentGroup.Benefit && CostModel) {
2885 CurrentGroup.Cost - CurrentGroup.Benefit)
2908 return LHS->Benefit - LHS->Cost > RHS->Benefit - RHS->Cost;
2931 CurrentGroup.Benefit = 0;
2934 if (CurrentGroup.Cost >= CurrentGroup.Benefit)
2953 << " and benefit " << CurrentGroup.Benefit << "\n");
2976 << " with benefit " << CurrentGroup.Benefit
2991 << ore::NV("Benefit", CurrentGroup.Benefit - CurrentGroup.Cost)