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.cpp226 EvictionCost MaxCost; in canEvictHintInterference() local
227 MaxCost.setBrokenHints(1); in canEvictHintInterference()
228 return canEvictInterferenceBasedOnCost(VirtReg, PhysReg, true, MaxCost, in canEvictHintInterference()
243 EvictionCost &MaxCost, const SmallVirtRegSet &FixedRegisters) const { in canEvictInterferenceBasedOnCost() argument
311 if (!(Cost < MaxCost)) in canEvictInterferenceBasedOnCost()
321 if (!MaxCost.isMax() && IsLocal && LIS->intervalIsInOneMBB(*Intf) && in canEvictInterferenceBasedOnCost()
327 MaxCost = Cost; in canEvictInterferenceBasedOnCost()
H A DSelectOptimize.cpp1291 CostInfo &MaxCost = LoopCost[Iter]; in computeLoopCosts() local
1350 MaxCost.PredCost = std::max(MaxCost.PredCost, IPredCost); in computeLoopCosts()
1351 MaxCost.NonPredCost = std::max(MaxCost.NonPredCost, INonPredCost); in computeLoopCosts()
1355 << " MaxCost = " << MaxCost.PredCost << " " in computeLoopCosts()
1356 << MaxCost.NonPredCost << "\n"); in computeLoopCosts()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp570 InstructionCost MaxCost = -1; in maximizeConstantsInRange() local
597 if (Cost > MaxCost) { in maximizeConstantsInRange()
598 MaxCost = Cost; in maximizeConstantsInRange()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp3087 InstructionCost MaxCost = in validateAndCostRequiredSelects() local
3089 if (OrigCost + ThenCost > MaxCost) in validateAndCostRequiredSelects()