Lines Matching refs:BlockFrequencyInfo
62 struct GraphTraits<BlockFrequencyInfo *> {
67 static inline const NodeType *getEntryNode(const BlockFrequencyInfo *G) { in getEntryNode()
76 static nodes_iterator nodes_begin(const BlockFrequencyInfo *G) { in nodes_begin()
79 static nodes_iterator nodes_end(const BlockFrequencyInfo *G) { in nodes_end()
84 typedef BFIDOTGraphTraitsBase<BlockFrequencyInfo, BranchProbabilityInfo>
88 struct DOTGraphTraits<BlockFrequencyInfo *> : public BFIDOTGTraitsBase {
93 const BlockFrequencyInfo *Graph) { in getNodeLabel()
100 const BlockFrequencyInfo *Graph) { in getNodeAttributes()
106 const BlockFrequencyInfo *BFI) { in getEdgeAttributes()
115 BlockFrequencyInfo::BlockFrequencyInfo() {} in BlockFrequencyInfo() function in BlockFrequencyInfo
117 BlockFrequencyInfo::BlockFrequencyInfo(const Function &F, in BlockFrequencyInfo() function in BlockFrequencyInfo
123 BlockFrequencyInfo::BlockFrequencyInfo(BlockFrequencyInfo &&Arg) in BlockFrequencyInfo() function in BlockFrequencyInfo
126 BlockFrequencyInfo &BlockFrequencyInfo::operator=(BlockFrequencyInfo &&RHS) { in operator =()
136 BlockFrequencyInfo::~BlockFrequencyInfo() {} in ~BlockFrequencyInfo()
138 void BlockFrequencyInfo::calculate(const Function &F, in calculate()
153 BlockFrequency BlockFrequencyInfo::getBlockFreq(const BasicBlock *BB) const { in getBlockFreq()
158 BlockFrequencyInfo::getBlockProfileCount(const BasicBlock *BB) const { in getBlockProfileCount()
165 void BlockFrequencyInfo::setBlockFreq(const BasicBlock *BB, uint64_t Freq) { in setBlockFreq()
172 void BlockFrequencyInfo::view() const { in view()
175 ViewGraph(const_cast<BlockFrequencyInfo *>(this), "BlockFrequencyDAGs"); in view()
182 const Function *BlockFrequencyInfo::getFunction() const { in getFunction()
186 const BranchProbabilityInfo *BlockFrequencyInfo::getBPI() const { in getBPI()
190 raw_ostream &BlockFrequencyInfo::
196 BlockFrequencyInfo::printBlockFreq(raw_ostream &OS, in printBlockFreq()
201 uint64_t BlockFrequencyInfo::getEntryFreq() const { in getEntryFreq()
205 void BlockFrequencyInfo::releaseMemory() { BFI.reset(); } in releaseMemory()
207 void BlockFrequencyInfo::print(raw_ostream &OS) const { in print()
252 BlockFrequencyInfo BlockFrequencyAnalysis::run(Function &F, in run()
254 BlockFrequencyInfo BFI; in run()