Searched refs:BestPred (Results 1 – 1 of 1) sorted by relevance
651 MachineBasicBlock *BestPred = nullptr; in findBestLoopTop() local662 if (!BestPred || PredFreq > BestPredFreq || in findBestLoopTop()665 BestPred = Pred; in findBestLoopTop()671 if (!BestPred) in findBestLoopTop()675 while (BestPred->pred_size() == 1 && in findBestLoopTop()676 (*BestPred->pred_begin())->succ_size() == 1 && in findBestLoopTop()677 *BestPred->pred_begin() != L.getHeader()) in findBestLoopTop()678 BestPred = *BestPred->pred_begin(); in findBestLoopTop()680 DEBUG(dbgs() << " final top: " << getBlockName(BestPred) << "\n"); in findBestLoopTop()681 return BestPred; in findBestLoopTop()