diff options
author | Michael Gottesman <mgottesman@apple.com> | 2013-12-14 02:37:38 +0000 |
---|---|---|
committer | Michael Gottesman <mgottesman@apple.com> | 2013-12-14 02:37:38 +0000 |
commit | 523823b89724cb574c4e899556ae22b239b3daa5 (patch) | |
tree | 55edcbd8f86df09c6be505fee698ccebf9ae5123 /include | |
parent | b68ca3e9c5791db9da07b7767a8ee915a104e99a (diff) | |
download | llvm-523823b89724cb574c4e899556ae22b239b3daa5.tar.gz llvm-523823b89724cb574c4e899556ae22b239b3daa5.tar.bz2 llvm-523823b89724cb574c4e899556ae22b239b3daa5.tar.xz |
[block-freq] Rename getEntryFrequency() -> getEntryFreq() to match getBlockFreq() in all *BlockFrequencyInfo*.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197304 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Analysis/BlockFrequencyImpl.h | 2 | ||||
-rw-r--r-- | include/llvm/CodeGen/MachineBlockFrequencyInfo.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Analysis/BlockFrequencyImpl.h b/include/llvm/Analysis/BlockFrequencyImpl.h index c09c0407d8..2d04c5d4a9 100644 --- a/include/llvm/Analysis/BlockFrequencyImpl.h +++ b/include/llvm/Analysis/BlockFrequencyImpl.h @@ -317,7 +317,7 @@ class BlockFrequencyImpl { public: - uint64_t getEntryFrequency() { return EntryFreq; } + uint64_t getEntryFreq() { return EntryFreq; } /// getBlockFreq - Return block frequency. Return 0 if we don't have it. BlockFrequency getBlockFreq(const BlockT *BB) const { diff --git a/include/llvm/CodeGen/MachineBlockFrequencyInfo.h b/include/llvm/CodeGen/MachineBlockFrequencyInfo.h index 761b59cb1d..5ec4660c85 100644 --- a/include/llvm/CodeGen/MachineBlockFrequencyInfo.h +++ b/include/llvm/CodeGen/MachineBlockFrequencyInfo.h @@ -62,7 +62,7 @@ public: raw_ostream &printBlockFreq(raw_ostream &OS, const MachineBasicBlock *MBB) const; - uint64_t getEntryFrequency() const; + uint64_t getEntryFreq() const; }; |