summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Gottesman <mgottesman@apple.com>2013-12-14 02:37:38 +0000
committerMichael Gottesman <mgottesman@apple.com>2013-12-14 02:37:38 +0000
commit523823b89724cb574c4e899556ae22b239b3daa5 (patch)
tree55edcbd8f86df09c6be505fee698ccebf9ae5123 /include
parentb68ca3e9c5791db9da07b7767a8ee915a104e99a (diff)
downloadllvm-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.h2
-rw-r--r--include/llvm/CodeGen/MachineBlockFrequencyInfo.h2
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;
};