• Home
  • Raw
  • Download

Lines Matching refs:BFI

58 static void writeCFGToDotFile(Function &F, BlockFrequencyInfo *BFI,  in writeCFGToDotFile()  argument
68 DOTFuncInfo CFGInfo(&F, BFI, BPI, MaxFreq); in writeCFGToDotFile()
80 static void viewCFG(Function &F, const BlockFrequencyInfo *BFI, in viewCFG() argument
83 DOTFuncInfo CFGInfo(&F, BFI, BPI, MaxFreq); in viewCFG()
100 auto *BFI = &getAnalysis<BlockFrequencyInfoWrapperPass>().getBFI(); in runOnFunction() local
101 viewCFG(F, BFI, BPI, getMaxFreq(F, BFI)); in runOnFunction()
121 auto *BFI = &AM.getResult<BlockFrequencyAnalysis>(F); in run() local
123 viewCFG(F, BFI, BPI, getMaxFreq(F, BFI)); in run()
136 auto *BFI = &getAnalysis<BlockFrequencyInfoWrapperPass>().getBFI(); in runOnFunction() local
137 viewCFG(F, BFI, BPI, getMaxFreq(F, BFI), /*CFGOnly=*/true); in runOnFunction()
158 auto *BFI = &AM.getResult<BlockFrequencyAnalysis>(F); in run() local
160 viewCFG(F, BFI, BPI, getMaxFreq(F, BFI), /*CFGOnly=*/true); in run()
173 auto *BFI = &getAnalysis<BlockFrequencyInfoWrapperPass>().getBFI(); in runOnFunction() local
174 writeCFGToDotFile(F, BFI, BPI, getMaxFreq(F, BFI)); in runOnFunction()
195 auto *BFI = &AM.getResult<BlockFrequencyAnalysis>(F); in run() local
197 writeCFGToDotFile(F, BFI, BPI, getMaxFreq(F, BFI)); in run()
210 auto *BFI = &getAnalysis<BlockFrequencyInfoWrapperPass>().getBFI(); in runOnFunction() local
211 writeCFGToDotFile(F, BFI, BPI, getMaxFreq(F, BFI), /*CFGOnly=*/true); in runOnFunction()
232 auto *BFI = &AM.getResult<BlockFrequencyAnalysis>(F); in run() local
234 writeCFGToDotFile(F, BFI, BPI, getMaxFreq(F, BFI), /*CFGOnly=*/true); in run()
245 void Function::viewCFG(bool ViewCFGOnly, const BlockFrequencyInfo *BFI, in viewCFG() argument
249 DOTFuncInfo CFGInfo(this, BFI, BPI, BFI ? getMaxFreq(*this, BFI) : 0); in viewCFG()
260 void Function::viewCFGOnly(const BlockFrequencyInfo *BFI, in viewCFGOnly() argument
262 viewCFG(true, BFI, BPI); in viewCFGOnly()