Searched refs:Benefit (Results 1 – 6 of 6) sorted by relevance
69 CostBenefitPair(APInt Cost, APInt Benefit) in CostBenefitPair() argument70 : Cost(std::move(Cost)), Benefit(std::move(Benefit)) {} in CostBenefitPair()74 const APInt &getBenefit() const { return Benefit; } in getBenefit()78 APInt Benefit; variable
193 double Benefit = in isProfitable() local195 bool Result = Benefit > Cost; in isProfitable()199 << ", Benefit = " << Benefit << ", Cost = " << Cost in isProfitable()
198 unsigned Benefit = 0; member272 C.Benefit = B; in OutlinedFunction()
129 InstructionCost Benefit = 0; member488 InstructionCost Benefit = 0; in getBenefit() local511 Benefit += 1; in getBenefit()514 Benefit += TTI.getInstructionCost(I, TargetTransformInfo::TCK_CodeSize); in getBenefit()519 return Benefit; in getBenefit()2611 CurrentGroup.Benefit += RegionBenefit; in findCostBenefit()2612 LLVM_DEBUG(dbgs() << "Current Benefit: " << CurrentGroup.Benefit << "\n"); in findCostBenefit()2855 if (CurrentGroup.Cost >= CurrentGroup.Benefit && CostModel) { in doOutline()2866 CurrentGroup.Cost - CurrentGroup.Benefit) in doOutline()2889 return LHS->Benefit - LHS->Cost > RHS->Benefit - RHS->Cost; in doOutline()[all …]
288 InstructionCost Benefit = 0; in getOutliningBenefit() local292 Benefit += in getOutliningBenefit()295 return Benefit; in getOutliningBenefit()
503 PBQP::PBQPNum Benefit) { in addVirtRegCoalesce() argument511 CostMat[I + 1][J + 1] -= Benefit; in addVirtRegCoalesce()