• Home
  • Raw
  • Download

Lines Matching refs:BlockFrequencyInfo

99 struct GraphTraits<BlockFrequencyInfo *> {
104 static NodeRef getEntryNode(const BlockFrequencyInfo *G) { in getEntryNode()
114 static nodes_iterator nodes_begin(const BlockFrequencyInfo *G) { in nodes_begin()
118 static nodes_iterator nodes_end(const BlockFrequencyInfo *G) { in nodes_end()
124 BFIDOTGraphTraitsBase<BlockFrequencyInfo, BranchProbabilityInfo>;
127 struct DOTGraphTraits<BlockFrequencyInfo *> : public BFIDOTGTraitsBase {
132 const BlockFrequencyInfo *Graph) { in getNodeLabel()
138 const BlockFrequencyInfo *Graph) { in getNodeAttributes()
144 const BlockFrequencyInfo *BFI) { in getEdgeAttributes()
152 BlockFrequencyInfo::BlockFrequencyInfo() = default;
154 BlockFrequencyInfo::BlockFrequencyInfo(const Function &F, in BlockFrequencyInfo() function in BlockFrequencyInfo
160 BlockFrequencyInfo::BlockFrequencyInfo(BlockFrequencyInfo &&Arg) in BlockFrequencyInfo() function in BlockFrequencyInfo
163 BlockFrequencyInfo &BlockFrequencyInfo::operator=(BlockFrequencyInfo &&RHS) { in operator =()
173 BlockFrequencyInfo::~BlockFrequencyInfo() = default;
175 bool BlockFrequencyInfo::invalidate(Function &F, const PreservedAnalyses &PA, in invalidate()
184 void BlockFrequencyInfo::calculate(const Function &F, in calculate()
202 BlockFrequency BlockFrequencyInfo::getBlockFreq(const BasicBlock *BB) const { in getBlockFreq()
207 BlockFrequencyInfo::getBlockProfileCount(const BasicBlock *BB, in getBlockProfileCount()
216 BlockFrequencyInfo::getProfileCountFromFreq(uint64_t Freq) const { in getProfileCountFromFreq()
222 bool BlockFrequencyInfo::isIrrLoopHeader(const BasicBlock *BB) { in isIrrLoopHeader()
227 void BlockFrequencyInfo::setBlockFreq(const BasicBlock *BB, uint64_t Freq) { in setBlockFreq()
232 void BlockFrequencyInfo::setBlockFreqAndScale( in setBlockFreqAndScale()
256 void BlockFrequencyInfo::view(StringRef title) const { in view()
257 ViewGraph(const_cast<BlockFrequencyInfo *>(this), title); in view()
260 const Function *BlockFrequencyInfo::getFunction() const { in getFunction()
264 const BranchProbabilityInfo *BlockFrequencyInfo::getBPI() const { in getBPI()
268 raw_ostream &BlockFrequencyInfo::
274 BlockFrequencyInfo::printBlockFreq(raw_ostream &OS, in printBlockFreq()
279 uint64_t BlockFrequencyInfo::getEntryFreq() const { in getEntryFreq()
283 void BlockFrequencyInfo::releaseMemory() { BFI.reset(); } in releaseMemory()
285 void BlockFrequencyInfo::print(raw_ostream &OS) const { in print()
290 void BlockFrequencyInfo::verifyMatch(BlockFrequencyInfo &Other) const { in verifyMatch()
333 BlockFrequencyInfo BlockFrequencyAnalysis::run(Function &F, in run()
335 BlockFrequencyInfo BFI; in run()