Lines Matching refs:BlockFrequencyInfo

52 struct GraphTraits<BlockFrequencyInfo *> {
57 static inline const NodeType *getEntryNode(const BlockFrequencyInfo *G) { in getEntryNode()
66 static nodes_iterator nodes_begin(const BlockFrequencyInfo *G) { in nodes_begin()
69 static nodes_iterator nodes_end(const BlockFrequencyInfo *G) { in nodes_end()
75 struct DOTGraphTraits<BlockFrequencyInfo*> : public DefaultDOTGraphTraits {
79 static std::string getGraphName(const BlockFrequencyInfo *G) { in getGraphName()
84 const BlockFrequencyInfo *Graph) { in getNodeLabel()
108 INITIALIZE_PASS_BEGIN(BlockFrequencyInfo, "block-freq",
112 INITIALIZE_PASS_END(BlockFrequencyInfo, "block-freq",
115 char BlockFrequencyInfo::ID = 0;
118 BlockFrequencyInfo::BlockFrequencyInfo() : FunctionPass(ID) { in BlockFrequencyInfo() function in BlockFrequencyInfo
122 BlockFrequencyInfo::~BlockFrequencyInfo() {} in ~BlockFrequencyInfo()
124 void BlockFrequencyInfo::getAnalysisUsage(AnalysisUsage &AU) const { in getAnalysisUsage()
130 bool BlockFrequencyInfo::runOnFunction(Function &F) { in runOnFunction()
143 void BlockFrequencyInfo::releaseMemory() { BFI.reset(); } in releaseMemory()
145 void BlockFrequencyInfo::print(raw_ostream &O, const Module *) const { in print()
149 BlockFrequency BlockFrequencyInfo::getBlockFreq(const BasicBlock *BB) const { in getBlockFreq()
155 void BlockFrequencyInfo::view() const { in view()
158 ViewGraph(const_cast<BlockFrequencyInfo *>(this), "BlockFrequencyDAGs"); in view()
165 const Function *BlockFrequencyInfo::getFunction() const { in getFunction()
169 raw_ostream &BlockFrequencyInfo::
175 BlockFrequencyInfo::printBlockFreq(raw_ostream &OS, in printBlockFreq()
180 uint64_t BlockFrequencyInfo::getEntryFreq() const { in getEntryFreq()