Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/CodeGen/
DRegAllocGreedy.cpp1087 unsigned NumCands = 0; in tryRegionSplit() local
1096 NumCands = 1; in tryRegionSplit()
1109 if (NumCands == IntfCache.getMaxCursors()) { in tryRegionSplit()
1112 for (unsigned i = 0; i != NumCands; ++i) { in tryRegionSplit()
1119 --NumCands; in tryRegionSplit()
1120 GlobalCand[Worst] = GlobalCand[NumCands]; in tryRegionSplit()
1123 if (GlobalCand.size() <= NumCands) in tryRegionSplit()
1124 GlobalCand.resize(NumCands+1); in tryRegionSplit()
1125 GlobalSplitCandidate &Cand = GlobalCand[NumCands]; in tryRegionSplit()
1164 BestCand = NumCands; in tryRegionSplit()
[all …]
DRegAllocLinearScan.cpp275 unsigned NumCands,
846 unsigned NumCands, in findIntervalsToSpill() argument
855 dbgs() << "\tConsidering " << NumCands << " candidates: "; in findIntervalsToSpill()
856 for (unsigned i = 0; i != NumCands; ++i) in findIntervalsToSpill()
867 for (unsigned j = 0; j < NumCands; ++j) { in findIntervalsToSpill()
870 if (NumCands > 1) in findIntervalsToSpill()
882 for (unsigned j = 0; j < NumCands; ++j) { in findIntervalsToSpill()
885 if (NumCands > 1) in findIntervalsToSpill()
895 for (unsigned i = 1; i != NumCands; ++i) { in findIntervalsToSpill()
/external/llvm/lib/CodeGen/
DRegAllocGreedy.cpp376 unsigned &NumCands, bool IgnoreCSR);
1355 unsigned NumCands = 0; in tryRegionSplit() local
1362 NumCands = 1; in tryRegionSplit()
1373 calculateRegionSplitCost(VirtReg, Order, BestCost, NumCands, in tryRegionSplit()
1386 unsigned &NumCands, in calculateRegionSplitCost() argument
1396 if (NumCands == IntfCache.getMaxCursors()) { in calculateRegionSplitCost()
1399 for (unsigned i = 0; i != NumCands; ++i) { in calculateRegionSplitCost()
1408 --NumCands; in calculateRegionSplitCost()
1409 GlobalCand[Worst] = GlobalCand[NumCands]; in calculateRegionSplitCost()
1410 if (BestCand == NumCands) in calculateRegionSplitCost()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DRegAllocGreedy.cpp492 unsigned &NumCands, bool IgnoreCSR,
1796 unsigned NumCands = 0; in tryRegionSplit() local
1804 NumCands = 1; in tryRegionSplit()
1816 calculateRegionSplitCost(VirtReg, Order, BestCost, NumCands, in tryRegionSplit()
1838 unsigned &NumCands, bool IgnoreCSR, in calculateRegionSplitCost() argument
1848 if (NumCands == IntfCache.getMaxCursors()) { in calculateRegionSplitCost()
1851 for (unsigned i = 0; i != NumCands; ++i) { in calculateRegionSplitCost()
1860 --NumCands; in calculateRegionSplitCost()
1861 GlobalCand[Worst] = GlobalCand[NumCands]; in calculateRegionSplitCost()
1862 if (BestCand == NumCands) in calculateRegionSplitCost()
[all …]