mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
BlockFrequencyInfo: Readded getEntryFreq.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197839 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
559e456504
commit
5f2ddd6a0c
@ -59,6 +59,8 @@ public:
|
||||
// BB and print it to OS.
|
||||
raw_ostream &printBlockFreq(raw_ostream &OS, const BasicBlock *BB) const;
|
||||
|
||||
uint64_t getEntryFreq() const;
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -170,3 +170,7 @@ BlockFrequencyInfo::printBlockFreq(raw_ostream &OS,
|
||||
const BasicBlock *BB) const {
|
||||
return BFI->printBlockFreq(OS, BB);
|
||||
}
|
||||
|
||||
uint64_t BlockFrequencyInfo::getEntryFreq() const {
|
||||
return BFI->getEntryFreq();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user