1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00

BlockFrequencyInfo: Readded getEntryFreq.

llvm-svn: 197839
This commit is contained in:
Yuchen Wu 2013-12-20 22:11:11 +00:00
parent 9a60e0ec8e
commit 93009f4fee
2 changed files with 6 additions and 0 deletions

View File

@ -59,6 +59,8 @@ public:
// BB and print it to OS. // BB and print it to OS.
raw_ostream &printBlockFreq(raw_ostream &OS, const BasicBlock *BB) const; raw_ostream &printBlockFreq(raw_ostream &OS, const BasicBlock *BB) const;
uint64_t getEntryFreq() const;
}; };
} }

View File

@ -170,3 +170,7 @@ BlockFrequencyInfo::printBlockFreq(raw_ostream &OS,
const BasicBlock *BB) const { const BasicBlock *BB) const {
return BFI->printBlockFreq(OS, BB); return BFI->printBlockFreq(OS, BB);
} }
uint64_t BlockFrequencyInfo::getEntryFreq() const {
return BFI->getEntryFreq();
}