aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBlockPlacement.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2020-11-21 23:35:02 -0800
committerKazu Hirata <kazu@google.com>2020-11-21 23:35:02 -0800
commit68403af007fa1ecd67e0c96d94eb9253b76c759d (patch)
tree860de48b8e0bc86e5b3468701fc6aead516872cd /llvm/lib/CodeGen/MachineBlockPlacement.cpp
parent3ee08e38194ac05e42f8c5a633dc1aa8e41139f4 (diff)
downloadllvm-68403af007fa1ecd67e0c96d94eb9253b76c759d.zip
llvm-68403af007fa1ecd67e0c96d94eb9253b76c759d.tar.gz
llvm-68403af007fa1ecd67e0c96d94eb9253b76c759d.tar.bz2
[MBP] Remove unused declaration shouldPredBlockBeOutlined (NFC)
The function was introduced on Jun 12, 2016 in commit 071d0f180794f7819c44026815614ce8fa00a3bd. Its definition was removed on Mar 2, 2017 in commit 1393761e0ca3fe8271245762f78daf4d5208cd77.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineBlockPlacement.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/MachineBlockPlacement.cpp b/llvm/lib/CodeGen/MachineBlockPlacement.cpp
index 8a86696..461a737 100644
--- a/llvm/lib/CodeGen/MachineBlockPlacement.cpp
+++ b/llvm/lib/CodeGen/MachineBlockPlacement.cpp
@@ -449,10 +449,6 @@ class MachineBlockPlacement : public MachineFunctionPass {
const MachineBasicBlock *BB, const BlockChain &Chain,
const BlockFilterSet *BlockFilter,
SmallVector<MachineBasicBlock *, 4> &Successors);
- bool shouldPredBlockBeOutlined(
- const MachineBasicBlock *BB, const MachineBasicBlock *Succ,
- const BlockChain &Chain, const BlockFilterSet *BlockFilter,
- BranchProbability SuccProb, BranchProbability HotProb);
bool isBestSuccessor(MachineBasicBlock *BB, MachineBasicBlock *Pred,
BlockFilterSet *BlockFilter);
void findDuplicateCandidates(SmallVectorImpl<MachineBasicBlock *> &Candidates,