Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/lld/ELF/
H A DCallGraphSort.cpp72 Edge BestPred = {-1, 0}; member
140 if (ToC.BestPred.From == -1 || ToC.BestPred.Weight < Weight) { in CallGraphSort()
141 ToC.BestPred.From = From; in CallGraphSort()
142 ToC.BestPred.Weight = Weight; in CallGraphSort()
186 if (C.BestPred.From == -1 || C.BestPred.Weight * 10 <= C.InitialWeight) in groupClusters()
189 Cluster *PredC = SecToCluster[C.BestPred.From]; in groupClusters()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DMachineBlockPlacement.cpp1794 MachineBasicBlock *BestPred = nullptr; in findBestLoopTop() local
1805 if (!BestPred || PredFreq > BestPredFreq || in findBestLoopTop()
1808 BestPred = Pred; in findBestLoopTop()
1814 if (!BestPred) { in findBestLoopTop()
1820 while (BestPred->pred_size() == 1 && in findBestLoopTop()
1821 (*BestPred->pred_begin())->succ_size() == 1 && in findBestLoopTop()
1822 *BestPred->pred_begin() != L.getHeader()) in findBestLoopTop()
1823 BestPred = *BestPred->pred_begin(); in findBestLoopTop()
1825 LLVM_DEBUG(dbgs() << " final top: " << getBlockName(BestPred) << "\n"); in findBestLoopTop()
1826 return BestPred; in findBestLoopTop()