Lines Matching refs:MBPI
354 const MachineBranchProbabilityInfo *MBPI; member in __anon17d227c40111::MachineBlockPlacement
705 AdjustedSumProb -= MBPI->getEdgeProbability(BB, Succ); in collectViableSuccessors()
808 BranchProbability PProb = MBPI->getEdgeProbability(BB, Succ); in isProfitableToTailDup()
822 auto Prob = MBPI->getEdgeProbability(Succ, SuccSucc); in isProfitableToTailDup()
840 * MBPI->getEdgeProbability(SuccPred, Succ); in isProfitableToTailDup()
875 BranchProbability UProb = MBPI->getEdgeProbability(Succ, PDom); in isProfitableToTailDup()
1053 MBPI->getEdgeProbability(SuccPred, Succ); in getBestTrellisSuccessor()
1082 isProfitableToTailDup(BB, Succ2, MBPI->getEdgeProbability(BB, Succ1), in getBestTrellisSuccessor()
1085 MBPI->getEdgeProbability(BB, Succ2), AdjustedSumProb); in getBestTrellisSuccessor()
1100 MBPI->getEdgeProbability(BB, TrellisSucc), AdjustedSumProb); in getBestTrellisSuccessor()
1276 if (MBPI->getEdgeProbability(&BB, PDom) < BranchProbability(50, 100)) in precomputeTriangleChains()
1531 MBFI->getBlockFreq(Pred) * MBPI->getEdgeProbability(Pred, Succ); in hasBetterLayoutPredecessor()
1597 auto RealSuccProb = MBPI->getEdgeProbability(BB, Succ); in selectBestSuccessor()
1904 auto TopProb = MBPI->getEdgeProbability(Pred, Top); in TopFallThroughFreq()
1907 auto SuccProb = MBPI->getEdgeProbability(Pred, Succ); in TopFallThroughFreq()
1919 MBPI->getEdgeProbability(Pred, Top); in TopFallThroughFreq()
1959 MBPI->getEdgeProbability(NewTop, ExitBB); in FallThroughGains()
1961 MBPI->getEdgeProbability(NewTop, OldTop); in FallThroughGains()
1972 MBPI->getEdgeProbability(Pred, NewTop); in FallThroughGains()
1994 MBPI->getEdgeProbability(BestPred, Succ); in FallThroughGains()
1999 MBPI->getEdgeProbability(BestPred, NewTop); in FallThroughGains()
2191 auto SuccProb = MBPI->getEdgeProbability(MBB, Succ); in findBestLoopExit()
2270 auto TopProb = MBPI->getEdgeProbability(Pred, Top); in hasViableTopFallthrough()
2273 auto SuccProb = MBPI->getEdgeProbability(Pred, Succ); in hasViableTopFallthrough()
2407 MBPI->getEdgeProbability(Pred, ChainHeaderBB); in rotateLoopWithProfile()
2428 auto SuccProb = MBPI->getEdgeProbability(BB, Succ); in rotateLoopWithProfile()
2486 auto TailToHeadProb = MBPI->getEdgeProbability(TailBB, *Iter); in rotateLoopWithProfile()
2535 MBPI->getEdgeProbability(LoopPred, L.getHeader()); in collectLoopBlockSet()
2830 MBPI->getEdgeProbability(ChainBB, FBB) > in optimizeBranches()
2831 MBPI->getEdgeProbability(ChainBB, TBB) && in optimizeBranches()
2836 << MBPI->getEdgeProbability(ChainBB, FBB) << " vs " in optimizeBranches()
2837 << MBPI->getEdgeProbability(ChainBB, TBB) << "\n"); in optimizeBranches()
2913 MBPI->getEdgeProbability(LayoutPred, ChainBB); in alignBlocks()
3131 BranchProbability SuccProb = MBPI->getEdgeProbability(Pred, Succ); in isBestSuccessor()
3136 BranchProbability BBProb = MBPI->getEdgeProbability(Pred, BB); in isBestSuccessor()
3161 return MBPI->getEdgeProbability(BB, A) > MBPI->getEdgeProbability(BB, B); in findDuplicateCandidates()
3171 DefaultBranchProb = MBPI->getEdgeProbability(BB, *SuccIt).getCompl(); in findDuplicateCandidates()
3238 DupCost -= PredFreq * MBPI->getEdgeProbability(BB, *SuccIt); in findDuplicateCandidates()
3295 MBPI = &getAnalysis<MachineBranchProbabilityInfo>(); in runOnMachineFunction()
3340 TailDup.initMF(MF, PreRegAlloc, MBPI, MBFI.get(), PSI, in runOnMachineFunction()
3357 *MBFI, *MBPI, PSI, TailMergeSize); in runOnMachineFunction()
3414 const MachineBranchProbabilityInfo *MBPI; member in __anon17d227c40a11::MachineBlockPlacementStats
3454 MBPI = &getAnalysis<MachineBranchProbabilityInfo>(); in INITIALIZE_PASS_DEPENDENCY()
3469 BlockFreq * MBPI->getEdgeProbability(&MBB, Succ); in INITIALIZE_PASS_DEPENDENCY()