Lines Matching refs:MBFI
103 const MachineBlockFrequencyInfo *MBFI) { in getEdgeAttributes()
105 Node, EI, MBFI, MBFI->getMBPI(), ViewHotFreqPercent); in getEdgeAttributes()
139 if (!MBFI) in runOnMachineFunction()
140 MBFI.reset(new ImplType); in runOnMachineFunction()
141 MBFI->calculate(F, MBPI, MLI); in runOnMachineFunction()
152 void MachineBlockFrequencyInfo::releaseMemory() { MBFI.reset(); } in releaseMemory()
169 return MBFI ? MBFI->getBlockFreq(MBB) : 0; in getBlockFreq()
174 const Function *F = MBFI->getFunction()->getFunction(); in getBlockProfileCount()
175 return MBFI ? MBFI->getBlockProfileCount(*F, MBB) : None; in getBlockProfileCount()
179 return MBFI ? MBFI->getFunction() : nullptr; in getFunction()
183 return MBFI ? &MBFI->getBPI() : nullptr; in getMBPI()
189 return MBFI ? MBFI->printBlockFreq(OS, Freq) : OS; in printBlockFreq()
195 return MBFI ? MBFI->printBlockFreq(OS, MBB) : OS; in printBlockFreq()
199 return MBFI ? MBFI->getEntryFreq() : 0; in getEntryFreq()