Lines Matching refs:MBFI

156                                 const MachineBlockFrequencyInfo *MBFI) {  in getEdgeAttributes()
158 Node, EI, MBFI, MBFI->getMBPI(), ViewHotFreqPercent); in getEdgeAttributes()
197 if (!MBFI) in calculate()
198 MBFI.reset(new ImplType); in calculate()
199 MBFI->calculate(F, MBPI, MLI); in calculate()
208 MBFI->print(dbgs()); in calculate()
220 void MachineBlockFrequencyInfo::releaseMemory() { MBFI.reset(); } in releaseMemory()
231 return MBFI ? MBFI->getBlockFreq(MBB) : 0; in getBlockFreq()
236 if (!MBFI) in getBlockProfileCount()
239 const Function &F = MBFI->getFunction()->getFunction(); in getBlockProfileCount()
240 return MBFI->getBlockProfileCount(F, MBB); in getBlockProfileCount()
245 if (!MBFI) in getProfileCountFromFreq()
248 const Function &F = MBFI->getFunction()->getFunction(); in getProfileCountFromFreq()
249 return MBFI->getProfileCountFromFreq(F, Freq); in getProfileCountFromFreq()
254 assert(MBFI && "Expected analysis to be available"); in isIrrLoopHeader()
255 return MBFI->isIrrLoopHeader(MBB); in isIrrLoopHeader()
262 assert(MBFI && "Expected analysis to be available"); in onEdgeSplit()
263 auto NewSuccFreq = MBFI->getBlockFreq(&NewPredecessor) * in onEdgeSplit()
266 MBFI->setBlockFreq(&NewSuccessor, NewSuccFreq.getFrequency()); in onEdgeSplit()
270 return MBFI ? MBFI->getFunction() : nullptr; in getFunction()
274 return MBFI ? &MBFI->getBPI() : nullptr; in getMBPI()
280 return MBFI ? MBFI->printBlockFreq(OS, Freq) : OS; in printBlockFreq()
286 return MBFI ? MBFI->printBlockFreq(OS, MBB) : OS; in printBlockFreq()
290 return MBFI ? MBFI->getEntryFreq() : 0; in getEntryFreq()