reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
194 if (!MBFI) 195 MBFI.reset(new ImplType); 196 MBFI->calculate(F, MBPI, MLI); 205 MBFI->print(dbgs()); 217 void MachineBlockFrequencyInfo::releaseMemory() { MBFI.reset(); } 228 return MBFI ? MBFI->getBlockFreq(MBB) : 0; 228 return MBFI ? MBFI->getBlockFreq(MBB) : 0; 233 const Function &F = MBFI->getFunction()->getFunction(); 234 return MBFI ? MBFI->getBlockProfileCount(F, MBB) : None; 234 return MBFI ? MBFI->getBlockProfileCount(F, MBB) : None; 239 const Function &F = MBFI->getFunction()->getFunction(); 240 return MBFI ? MBFI->getProfileCountFromFreq(F, Freq) : None; 240 return MBFI ? MBFI->getProfileCountFromFreq(F, Freq) : None; 245 assert(MBFI && "Expected analysis to be available"); 246 return MBFI->isIrrLoopHeader(MBB); 250 return MBFI ? MBFI->getFunction() : nullptr; 250 return MBFI ? MBFI->getFunction() : nullptr; 254 return MBFI ? &MBFI->getBPI() : nullptr; 254 return MBFI ? &MBFI->getBPI() : nullptr; 260 return MBFI ? MBFI->printBlockFreq(OS, Freq) : OS; 260 return MBFI ? MBFI->printBlockFreq(OS, Freq) : OS; 266 return MBFI ? MBFI->printBlockFreq(OS, MBB) : OS; 266 return MBFI ? MBFI->printBlockFreq(OS, MBB) : OS; 270 return MBFI ? MBFI->getEntryFreq() : 0; 270 return MBFI ? MBFI->getEntryFreq() : 0;