reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Analysis/BlockFrequencyInfo.cpp
  160     : BFI(std::move(Arg.BFI)) {}
  164   BFI = std::move(RHS.BFI);
  164   BFI = std::move(RHS.BFI);
  186   if (!BFI)
  187     BFI.reset(new ImplType);
  188   BFI->calculate(F, BPI, LI);
  202   return BFI ? BFI->getBlockFreq(BB) : 0;
  202   return BFI ? BFI->getBlockFreq(BB) : 0;
  208   if (!BFI)
  211   return BFI->getBlockProfileCount(*getFunction(), BB, AllowSynthetic);
  216   if (!BFI)
  218   return BFI->getProfileCountFromFreq(*getFunction(), Freq);
  222   assert(BFI && "Expected analysis to be available");
  223   return BFI->isIrrLoopHeader(BB);
  227   assert(BFI && "Expected analysis to be available");
  228   BFI->setBlockFreq(BB, Freq);
  234   assert(BFI && "Expected analysis to be available");
  237   APInt OldFreq(128, BFI->getBlockFreq(ReferenceBB).getFrequency());
  240     BBFreq = BFI->getBlockFreq(BB).getFrequency();
  248     BFI->setBlockFreq(BB, BBFreq.getLimitedValue());
  250   BFI->setBlockFreq(ReferenceBB, Freq);
  260   return BFI ? BFI->getFunction() : nullptr;
  260   return BFI ? BFI->getFunction() : nullptr;
  264   return BFI ? &BFI->getBPI() : nullptr;
  264   return BFI ? &BFI->getBPI() : nullptr;
  269   return BFI ? BFI->printBlockFreq(OS, Freq) : OS;
  269   return BFI ? BFI->printBlockFreq(OS, Freq) : OS;
  275   return BFI ? BFI->printBlockFreq(OS, BB) : OS;
  275   return BFI ? BFI->printBlockFreq(OS, BB) : OS;
  279   return BFI ? BFI->getEntryFreq() : 0;
  279   return BFI ? BFI->getEntryFreq() : 0;
  282 void BlockFrequencyInfo::releaseMemory() { BFI.reset(); }
  285   if (BFI)
  286     BFI->print(OS);