Home
last modified time | relevance | path

Searched refs:BestCand (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DRegAllocGreedy.cpp1083 unsigned BestCand = calculateRegionSplitCost(VirtReg, Order, BestCost, in tryRegionSplit() local
1087 if (!HasCompact && BestCand == NoCand) in tryRegionSplit()
1090 return doRegionSplit(VirtReg, BestCand, HasCompact, NewVRegs); in tryRegionSplit()
1098 unsigned &BestCand) { in calculateRegionSplitCostAroundReg() argument
1105 if (CandIndex == BestCand || !GlobalCand[CandIndex].PhysReg) in calculateRegionSplitCostAroundReg()
1115 if (BestCand == NumCands) in calculateRegionSplitCostAroundReg()
1116 BestCand = Worst; in calculateRegionSplitCostAroundReg()
1128 return BestCand; in calculateRegionSplitCostAroundReg()
1134 if (BestCand == NoCand) in calculateRegionSplitCostAroundReg()
1138 << printReg(GlobalCand[BestCand].PhysReg, TRI) << '\n'; in calculateRegionSplitCostAroundReg()
[all …]
H A DRegAllocGreedy.h354 unsigned &BestCand);
361 unsigned doRegionSplit(const LiveInterval &VirtReg, unsigned BestCand,