summaryrefslogtreecommitdiffstats
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
commit00b95cc534f8f0f06df1fbbd806d3d2d8ba2313d (patch)
treec89323aa2668b9fd6d3b4141b068cecef05e041c
parent579bb9b5270f06faa17c64d21ee01e95f356232a (diff)
downloadbcm5719-llvm-00b95cc534f8f0f06df1fbbd806d3d2d8ba2313d.tar.gz
bcm5719-llvm-00b95cc534f8f0f06df1fbbd806d3d2d8ba2313d.zip
- Rename BreakCriticalEdge to the slightly more standard SplitCriticalEdge
llvm-svn: 3587
-rw-r--r--llvm/include/llvm/Transforms/Utils/Local.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/llvm/include/llvm/Transforms/Utils/Local.h b/llvm/include/llvm/Transforms/Utils/Local.h
index fb26db66856..596bb52c192 100644
--- a/llvm/include/llvm/Transforms/Utils/Local.h
+++ b/llvm/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
OpenPOWER on IntegriCloud