aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Transforms/Utils/Local.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-09-06 02:35:11 +0000
committerChris Lattner <sabre@nondot.org>2002-09-06 02:35:11 +0000
commitca8474e7f2883a8c7aafef9340df0024c44c7bcd (patch)
tree3f459c28bb9b614f5e7a011f782617a440be5ad2 /include/llvm/Transforms/Utils/Local.h
parent3e57cb98bde04a65623493738d51f2a41e601748 (diff)
- Rename BreakCriticalEdge to the slightly more standard SplitCriticalEdge
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3587 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Utils/Local.h')
-rw-r--r--include/llvm/Transforms/Utils/Local.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/llvm/Transforms/Utils/Local.h b/include/llvm/Transforms/Utils/Local.h
index fb26db6685..596bb52c19 100644
--- a/include/llvm/Transforms/Utils/Local.h
+++ b/include/llvm/Transforms/Utils/Local.h
@@ -68,10 +68,11 @@ bool SimplifyCFG(BasicBlock *BB);
///
bool isCriticalEdge(const TerminatorInst *TI, unsigned SuccNum);
-/// BreakCriticalEdge - Insert a new node node to split the critical edge. This
-/// will update DominatorSet and DominatorTree information if it is available,
-/// thus calling this pass will not invalidate either of them.
+/// SplitCriticalEdge - Insert a new node node to split the critical edge. This
+/// will update DominatorSet, ImmediateDominator and DominatorTree information
+/// if it is available, thus calling this pass will not invalidate either of
+/// them.
///
-void BreakCriticalEdge(TerminatorInst *TI, unsigned SuccNum, Pass *P = 0);
+void SplitCriticalEdge(TerminatorInst *TI, unsigned SuccNum, Pass *P = 0);
#endif