Lines Matching refs:LoopBB
705 LoopBlock &LoopBB, uint32_t BBWeight, in updateEstimatedBlockWeight() argument
708 BasicBlock *BB = LoopBB.getBlock(); in updateEstimatedBlockWeight()
721 if (isLoopExitingEdge({PredLoop, LoopBB})) { in updateEstimatedBlockWeight()
743 const LoopBlock &LoopBB, DominatorTree *DT, PostDominatorTree *PDT, in propagateEstimatedBlockWeight() argument
746 const BasicBlock *BB = LoopBB.getBlock(); in propagateEstimatedBlockWeight()
761 const LoopEdge Edge{DomLoopBB, LoopBB}; in propagateEstimatedBlockWeight()
840 const LoopBlock LoopBB = LoopWorkList.pop_back_val(); in computeEestimateBlockWeight() local
842 if (EstimatedLoopWeight.count(LoopBB.getLoopData())) in computeEestimateBlockWeight()
846 getLoopExitBlocks(LoopBB, Exits); in computeEestimateBlockWeight()
848 LoopBB, make_range(Exits.begin(), Exits.end())); in computeEestimateBlockWeight()
855 EstimatedLoopWeight.insert({LoopBB.getLoopData(), *LoopWeight}); in computeEestimateBlockWeight()
857 getLoopEnterBlocks(LoopBB, BlockWorkList); in computeEestimateBlockWeight()
873 const LoopBlock LoopBB = getLoopBlock(BB); in computeEestimateBlockWeight() local
874 auto MaxWeight = getMaxEstimatedEdgeWeight(LoopBB, successors(BB)); in computeEestimateBlockWeight()
877 propagateEstimatedBlockWeight(LoopBB, DT, PDT, *MaxWeight, in computeEestimateBlockWeight()
890 const LoopBlock LoopBB = getLoopBlock(BB); in calcEstimatedHeuristics() local
894 if (LoopBB.getLoop()) in calcEstimatedHeuristics()
895 computeUnlikelySuccessors(BB, LoopBB.getLoop(), UnlikelyBlocks); in calcEstimatedHeuristics()
905 const LoopEdge Edge{LoopBB, SuccLoopBB}; in calcEstimatedHeuristics()
918 bool IsUnlikelyEdge = LoopBB.getLoop() && UnlikelyBlocks.contains(SuccBB); in calcEstimatedHeuristics()