Lines Matching refs:MBFI
154 const MachineBlockFrequencyInfo *MBFI) {
156 Node, EI, MBFI, MBFI->getMBPI(), ViewHotFreqPercent);
188 if (!MBFI)
189 MBFI.reset(new ImplType);
190 MBFI->calculate(F, MBPI, MLI);
199 MBFI->print(dbgs());
211 void MachineBlockFrequencyInfo::releaseMemory() { MBFI.reset(); }
222 return MBFI ? MBFI->getBlockFreq(MBB) : 0;
227 const Function &F = MBFI->getFunction()->getFunction();
228 return MBFI ? MBFI->getBlockProfileCount(F, MBB) : None;
233 const Function &F = MBFI->getFunction()->getFunction();
234 return MBFI ? MBFI->getProfileCountFromFreq(F, Freq) : None;
239 assert(MBFI && "Expected analysis to be available");
240 return MBFI->isIrrLoopHeader(MBB);
244 return MBFI ? MBFI->getFunction() : nullptr;
248 return MBFI ? &MBFI->getBPI() : nullptr;
254 return MBFI ? MBFI->printBlockFreq(OS, Freq) : OS;
260 return MBFI ? MBFI->printBlockFreq(OS, MBB) : OS;
264 return MBFI ? MBFI->getEntryFreq() : 0;