Home
last modified time | relevance | path

Searched refs:BestCost (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DRegAllocEvictionAdvisor.cpp335 EvictionCost BestCost; in tryFindEvictionCandidate() local
336 BestCost.setMax(); in tryFindEvictionCandidate()
346 BestCost.BrokenHints = 0; in tryFindEvictionCandidate()
347 BestCost.MaxWeight = VirtReg.weight(); in tryFindEvictionCandidate()
355 !canEvictInterferenceBasedOnCost(VirtReg, PhysReg, false, BestCost, in tryFindEvictionCandidate()
H A DRegAllocGreedy.cpp1202 BlockFrequency BestCost; in tryRegionSplit() local
1209 BestCost = BlockFrequency::max(); in tryRegionSplit()
1213 BestCost = SpillCost; in tryRegionSplit()
1215 << printBlockFreq(*MBFI, BestCost) << '\n'); in tryRegionSplit()
1218 unsigned BestCand = calculateRegionSplitCost(VirtReg, Order, BestCost, in tryRegionSplit()
1231 BlockFrequency &BestCost, in calculateRegionSplitCostAroundReg() argument
1267 if (Cost >= BestCost) { in calculateRegionSplitCostAroundReg()
1297 if (Cost < BestCost) { in calculateRegionSplitCostAroundReg()
1299 BestCost = Cost; in calculateRegionSplitCostAroundReg()
1308 BlockFrequency &BestCost, in calculateRegionSplitCost() argument
[all …]
H A DRegAllocGreedy.h342 BlockFrequency &BestCost,
348 BlockFrequency &BestCost,
H A DRegAllocFast.cpp956 unsigned BestCost = spillImpossible; in allocVirtReg() local
966 LLVM_DEBUG(dbgs() << "Cost: " << Cost << " BestCost: " << BestCost << '\n'); in allocVirtReg()
976 if (Cost < BestCost) { in allocVirtReg()
978 BestCost = Cost; in allocVirtReg()
H A DVLIWMachineScheduler.cpp817 FoundCandidate = BestCost; in pickNodeFromQueue()
849 FoundCandidate = BestCost; in pickNodeFromQueue()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUIGroupLP.cpp277 int BestCost = -1; member in __anon5d856e630111::PipelineSolver
548 if (BestCost == -1 || CurrCost < BestCost) { in checkOptimal()
550 BestCost = CurrCost; in checkOptimal()
551 LLVM_DEBUG(dbgs() << "Found Fit with cost " << BestCost << "\n"); in checkOptimal()
553 assert(BestCost >= 0); in checkOptimal()
560 return (DoneExploring || BestCost == 0); in checkOptimal()
625 if (BestCost != -1 && (CurrCost + I->second > BestCost)) in solveExact()
656 if (CurrCost < BestCost || BestCost == -1) { in solveExact()
658 FinishedExploring = BestCost != 0; in solveExact()
682 if (CurrCost < BestCost || BestCost == -1) { in solveExact()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DRegBankSelect.cpp446 const RegBankSelect::MappingCost *BestCost) { in computeMapping() argument
447 assert((MBFI || !BestCost) && "Costs comparison require MBFI"); in computeMapping()
460 if (BestCost && Cost > *BestCost) { in computeMapping()
517 if (!BestCost || Saturated) in computeMapping()
573 if (BestCost && Cost > *BestCost) { in computeMapping()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DResourcePriorityQueue.cpp591 int BestCost = SUSchedulingCost(*Best); in pop() local
594 if (SUSchedulingCost(*I) > BestCost) { in pop()
595 BestCost = SUSchedulingCost(*I); in pop()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DVLIWMachineScheduler.h113 BestCost, enumerator
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DRegBankSelect.h596 const MappingCost *BestCost = nullptr);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp20457 InstructionCost BestCost = in collectValuesToDemote() local
20470 if (Cost < BestCost) { in collectValuesToDemote()
20471 BestCost = Cost; in collectValuesToDemote()