Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInlineCost.h68 CostBenefitPair(APInt Cost, APInt Benefit) : Cost(Cost), Benefit(Benefit) {} in CostBenefitPair() argument
72 const APInt &getBenefit() const { return Benefit; } in getBenefit()
76 APInt Benefit; variable
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineOutliner.h197 unsigned Benefit = 0; member
271 C.Benefit = B; in OutlinedFunction()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DIROutliner.cpp128 InstructionCost Benefit = 0; member
487 InstructionCost Benefit = 0; in getBenefit() local
510 Benefit += 1; in getBenefit()
518 return Benefit; in getBenefit()
2631 CurrentGroup.Benefit += RegionBenefit; in findCostBenefit()
2874 if (CurrentGroup.Cost >= CurrentGroup.Benefit && CostModel) { in doOutline()
2885 CurrentGroup.Cost - CurrentGroup.Benefit) in doOutline()
2908 return LHS->Benefit - LHS->Cost > RHS->Benefit - RHS->Cost; in doOutline()
2931 CurrentGroup.Benefit = 0; in doOutline()
2934 if (CurrentGroup.Cost >= CurrentGroup.Benefit) in doOutline()
[all …]
H A DHotColdSplitting.cpp274 InstructionCost Benefit = 0; in getOutliningBenefit() local
278 Benefit += in getOutliningBenefit()
281 return Benefit; in getOutliningBenefit()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DRegAllocPBQP.cpp506 PBQP::PBQPNum Benefit) { in addVirtRegCoalesce() argument
514 CostMat[I + 1][J + 1] -= Benefit; in addVirtRegCoalesce()