summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/Transforms/Utils/BasicBlockUtils.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/llvm/include/llvm/Transforms/Utils/BasicBlockUtils.h b/llvm/include/llvm/Transforms/Utils/BasicBlockUtils.h
index 8134483b67d..a08d2a760a2 100644
--- a/llvm/include/llvm/Transforms/Utils/BasicBlockUtils.h
+++ b/llvm/include/llvm/Transforms/Utils/BasicBlockUtils.h
@@ -40,21 +40,14 @@ class TargetLibraryInfo;
class Value;
/// Delete the specified block, which must have no predecessors.
-void DeleteDeadBlock(
- BasicBlock *BB, DomTreeUpdater *DTU = nullptr,
- SmallVectorImpl<DominatorTree::UpdateType> *DTUpdates = nullptr);
+void DeleteDeadBlock(BasicBlock *BB, DomTreeUpdater *DTU = nullptr);
/// Delete the specified blocks from \p BB. The set of deleted blocks must have
/// no predecessors that are not being deleted themselves. \p BBs must have no
/// duplicating blocks. If there are loops among this set of blocks, all
/// relevant loop info updates should be done before this function is called.
-/// If \p DTU is specified, all updates of DomTree are done immediately using
-/// this updater.
-/// If \p DTUpdates is specified, all updates to DomTree are also appended to
-/// this vector, no matter if DTU is specified.
-void DeleteDeadBlocks(
- ArrayRef<BasicBlock *> BBs, DomTreeUpdater *DTU = nullptr,
- SmallVectorImpl<DominatorTree::UpdateType> *DTUpdates = nullptr);
+void DeleteDeadBlocks(ArrayRef <BasicBlock *> BBs,
+ DomTreeUpdater *DTU = nullptr);
/// We know that BB has one predecessor. If there are any single-entry PHI nodes
/// in it, fold them away. This handles the case when all entries to the PHI
OpenPOWER on IntegriCloud