Lines Matching refs:MBFI
357 std::unique_ptr<MBFIWrapper> MBFI; member in __anon17d227c40111::MachineBlockPlacement
421 auto Count = MBFI->getBlockProfileCount(BB); in getBlockCountOrFrequency()
427 return MBFI->getBlockFreq(BB); in getBlockCountOrFrequency()
809 auto BBFreq = MBFI->getBlockFreq(BB); in isProfitableToTailDup()
810 auto SuccFreq = MBFI->getBlockFreq(Succ); in isProfitableToTailDup()
813 uint64_t EntryFreq = MBFI->getEntryFreq(); in isProfitableToTailDup()
839 auto Freq = MBFI->getBlockFreq(SuccPred) in isProfitableToTailDup()
1052 BlockFrequency EdgeFreq = MBFI->getBlockFreq(SuccPred) * in getBestTrellisSuccessor()
1504 BlockFrequency CandidateEdgeFreq = MBFI->getBlockFreq(BB) * RealSuccProb; in hasBetterLayoutPredecessor()
1531 MBFI->getBlockFreq(Pred) * MBPI->getEdgeProbability(Pred, Succ); in hasBetterLayoutPredecessor()
1698 BlockFrequency CandidateFreq = MBFI->getBlockFreq(MBB); in selectBestCandidateBlock()
1700 MBFI->printBlockFreq(dbgs(), CandidateFreq) << " (freq)\n"); in selectBestCandidateBlock()
1918 BlockFrequency EdgeFreq = MBFI->getBlockFreq(Pred) * in TopFallThroughFreq()
1958 FallThrough2Exit = MBFI->getBlockFreq(NewTop) * in FallThroughGains()
1960 BlockFrequency BackEdgeFreq = MBFI->getBlockFreq(NewTop) * in FallThroughGains()
1971 BlockFrequency EdgeFreq = MBFI->getBlockFreq(Pred) * in FallThroughGains()
1993 BlockFrequency EdgeFreq = MBFI->getBlockFreq(BestPred) * in FallThroughGains()
1998 BlockFrequency OrigEdgeFreq = MBFI->getBlockFreq(BestPred) * in FallThroughGains()
2064 MBFI->printBlockFreq(dbgs(), Pred) << " freq\n"); in findBestLoopTopHelper()
2118 llvm::shouldOptimizeForSize(L.getHeader(), PSI, MBFI.get()); in findBestLoopTop()
2206 BlockFrequency ExitEdgeFreq = MBFI->getBlockFreq(MBB) * SuccProb; in findBestLoopExit()
2210 MBFI->printBlockFreq(dbgs(), ExitEdgeFreq) << ")\n"); in findBestLoopExit()
2406 auto EdgeFreq = MBFI->getBlockFreq(Pred) * in rotateLoopWithProfile()
2433 auto ExitFreq = MBFI->getBlockFreq(BB) * LargestExitEdgeProb; in rotateLoopWithProfile()
2481 auto TailBBFreq = MBFI->getBlockFreq(TailBB); in rotateLoopWithProfile()
2534 LoopFreq += MBFI->getBlockFreq(LoopPred) * in collectLoopBlockSet()
2538 auto Freq = MBFI->getBlockFreq(LoopBB).getFrequency(); in collectLoopBlockSet()
2860 BlockFrequency EntryFreq = MBFI->getBlockFreq(&F->front()); in alignBlocks()
2880 BlockFrequency Freq = MBFI->getBlockFreq(ChainBB); in alignBlocks()
2887 BlockFrequency LoopHeaderFreq = MBFI->getBlockFreq(LoopHeader); in alignBlocks()
2892 if (llvm::shouldOptimizeForSize(ChainBB, PSI, MBFI.get()) && in alignBlocks()
2914 BlockFrequency LayoutEdgeFreq = MBFI->getBlockFreq(LayoutPred) * LayoutProb; in alignBlocks()
3164 return MBFI->getBlockFreq(A) > MBFI->getBlockFreq(B); in findDuplicateCandidates()
3276 BlockFrequency Freq = MBFI->getBlockFreq(&MBB); in initDupThreshold()
3296 MBFI = std::make_unique<MBFIWrapper>( in runOnMachineFunction()
3336 llvm::shouldOptimizeForSize(&MF, PSI, &MBFI->getMBFI()); in runOnMachineFunction()
3340 TailDup.initMF(MF, PreRegAlloc, MBPI, MBFI.get(), PSI, in runOnMachineFunction()
3357 *MBFI, *MBPI, PSI, TailMergeSize); in runOnMachineFunction()
3395 MBFI->view("MBP." + MF.getName(), false); in runOnMachineFunction()
3417 const MachineBlockFrequencyInfo *MBFI; member in __anon17d227c40a11::MachineBlockPlacementStats
3455 MBFI = &getAnalysis<MachineBlockFrequencyInfo>(); in INITIALIZE_PASS_DEPENDENCY()
3458 BlockFrequency BlockFreq = MBFI->getBlockFreq(&MBB); in INITIALIZE_PASS_DEPENDENCY()