Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DRegAllocEvictionAdvisor.cpp170 EvictionCost MaxCost; in canEvictHintInterference() local
171 MaxCost.setBrokenHints(1); in canEvictHintInterference()
172 return canEvictInterferenceBasedOnCost(VirtReg, PhysReg, true, MaxCost, in canEvictHintInterference()
187 EvictionCost &MaxCost, const SmallVirtRegSet &FixedRegisters) const { in canEvictInterferenceBasedOnCost() argument
255 if (!(Cost < MaxCost)) in canEvictInterferenceBasedOnCost()
265 if (!MaxCost.isMax() && IsLocal && LIS->intervalIsInOneMBB(*Intf) && in canEvictInterferenceBasedOnCost()
271 MaxCost = Cost; in canEvictInterferenceBasedOnCost()
H A DSelectOptimize.cpp843 CostInfo &MaxCost = LoopCost[Iter]; in computeLoopCosts() local
906 MaxCost.PredCost = std::max(MaxCost.PredCost, IPredCost); in computeLoopCosts()
907 MaxCost.NonPredCost = std::max(MaxCost.NonPredCost, INonPredCost); in computeLoopCosts()
/llvm-project-15.0.7/llvm/utils/PerfectShuffle/
H A DPerfectShuffle.cpp261 unsigned MaxCost = ShufTab[0].Cost; in main() local
264 if (ShufTab[i].Cost > MaxCost) in main()
265 MaxCost = ShufTab[i].Cost; in main()
357 if (ShufTab[LHS].Cost + 1 >= MaxCost) in main()
389 if (ShufTab[RHS].Cost + 1 >= MaxCost) in main()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp592 InstructionCost MaxCost = -1; in maximizeConstantsInRange() local
623 if (Cost > MaxCost) { in maximizeConstantsInRange()
624 MaxCost = Cost; in maximizeConstantsInRange()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp2676 InstructionCost MaxCost = in validateAndCostRequiredSelects() local
2678 if (OrigCost + ThenCost > MaxCost) in validateAndCostRequiredSelects()