Home
last modified time | relevance | path

Searched refs:Benefit (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInlineCost.h69 CostBenefitPair(APInt Cost, APInt Benefit) in CostBenefitPair() argument
70 : Cost(std::move(Cost)), Benefit(std::move(Benefit)) {} in CostBenefitPair()
74 const APInt &getBenefit() const { return Benefit; } in getBenefit()
78 APInt Benefit; variable
/freebsd/contrib/llvm-project/llvm/lib/CGData/
H A DStableFunctionMap.cpp193 double Benefit = in isProfitable() local
195 bool Result = Benefit > Cost; in isProfitable()
199 << ", Benefit = " << Benefit << ", Cost = " << Cost in isProfitable()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineOutliner.h198 unsigned Benefit = 0; member
272 C.Benefit = B; in OutlinedFunction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DIROutliner.cpp129 InstructionCost Benefit = 0; member
488 InstructionCost Benefit = 0; in getBenefit() local
511 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 …]
H A DHotColdSplitting.cpp288 InstructionCost Benefit = 0; in getOutliningBenefit() local
292 Benefit += in getOutliningBenefit()
295 return Benefit; in getOutliningBenefit()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DRegAllocPBQP.cpp503 PBQP::PBQPNum Benefit) { in addVirtRegCoalesce() argument
511 CostMat[I + 1][J + 1] -= Benefit; in addVirtRegCoalesce()