Lines Matching refs:MachineBlockFrequencyInfo

54 template <> struct GraphTraits<MachineBlockFrequencyInfo *> {
60 getEntryNode(const MachineBlockFrequencyInfo *G) { in getEntryNode()
72 static nodes_iterator nodes_begin(const MachineBlockFrequencyInfo *G) { in nodes_begin()
76 static nodes_iterator nodes_end(const MachineBlockFrequencyInfo *G) { in nodes_end()
81 typedef BFIDOTGraphTraitsBase<MachineBlockFrequencyInfo,
85 struct DOTGraphTraits<MachineBlockFrequencyInfo *>
91 const MachineBlockFrequencyInfo *Graph) { in getNodeLabel()
97 const MachineBlockFrequencyInfo *Graph) { in getNodeAttributes()
103 const MachineBlockFrequencyInfo *MBFI) { in getEdgeAttributes()
112 INITIALIZE_PASS_BEGIN(MachineBlockFrequencyInfo, "machine-block-freq",
116 INITIALIZE_PASS_END(MachineBlockFrequencyInfo, "machine-block-freq",
119 char MachineBlockFrequencyInfo::ID = 0;
121 MachineBlockFrequencyInfo::MachineBlockFrequencyInfo() in MachineBlockFrequencyInfo() function in MachineBlockFrequencyInfo
126 MachineBlockFrequencyInfo::~MachineBlockFrequencyInfo() {} in ~MachineBlockFrequencyInfo()
128 void MachineBlockFrequencyInfo::getAnalysisUsage(AnalysisUsage &AU) const { in getAnalysisUsage()
135 bool MachineBlockFrequencyInfo::runOnMachineFunction(MachineFunction &F) { in runOnMachineFunction()
152 void MachineBlockFrequencyInfo::releaseMemory() { MBFI.reset(); } in releaseMemory()
156 void MachineBlockFrequencyInfo::view() const { in view()
159 ViewGraph(const_cast<MachineBlockFrequencyInfo *>(this), in view()
168 MachineBlockFrequencyInfo::getBlockFreq(const MachineBasicBlock *MBB) const { in getBlockFreq()
172 Optional<uint64_t> MachineBlockFrequencyInfo::getBlockProfileCount( in getBlockProfileCount()
178 const MachineFunction *MachineBlockFrequencyInfo::getFunction() const { in getFunction()
182 const MachineBranchProbabilityInfo *MachineBlockFrequencyInfo::getMBPI() const { in getMBPI()
187 MachineBlockFrequencyInfo::printBlockFreq(raw_ostream &OS, in printBlockFreq()
193 MachineBlockFrequencyInfo::printBlockFreq(raw_ostream &OS, in printBlockFreq()
198 uint64_t MachineBlockFrequencyInfo::getEntryFreq() const { in getEntryFreq()