Home
last modified time | relevance | path

Searched refs:MaxCost (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DRegAllocEvictionAdvisor.cpp171 EvictionCost MaxCost; in canEvictHintInterference() local
172 MaxCost.setBrokenHints(1); in canEvictHintInterference()
173 return canEvictInterferenceBasedOnCost(VirtReg, PhysReg, true, MaxCost, in canEvictHintInterference()
188 EvictionCost &MaxCost, const SmallVirtRegSet &FixedRegisters) const { in canEvictInterferenceBasedOnCost() argument
256 if (!(Cost < MaxCost)) in canEvictInterferenceBasedOnCost()
266 if (!MaxCost.isMax() && IsLocal && LIS->intervalIsInOneMBB(*Intf) && in canEvictInterferenceBasedOnCost()
272 MaxCost = Cost; in canEvictInterferenceBasedOnCost()
H A DSelectOptimize.cpp1174 CostInfo &MaxCost = LoopCost[Iter]; in computeLoopCosts() local
1232 MaxCost.PredCost = std::max(MaxCost.PredCost, IPredCost); in computeLoopCosts()
1233 MaxCost.NonPredCost = std::max(MaxCost.NonPredCost, INonPredCost); in computeLoopCosts()
1237 << " MaxCost = " << MaxCost.PredCost << " " in computeLoopCosts()
1238 << MaxCost.NonPredCost << "\n"); in computeLoopCosts()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp594 InstructionCost MaxCost = -1; in maximizeConstantsInRange() local
624 if (Cost > MaxCost) { in maximizeConstantsInRange()
625 MaxCost = Cost; in maximizeConstantsInRange()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp2946 InstructionCost MaxCost = in validateAndCostRequiredSelects() local
2948 if (OrigCost + ThenCost > MaxCost) in validateAndCostRequiredSelects()