- Rename BreakCriticalEdge to the slightly more standard SplitCriticalEdge

llvm-svn: 3587
This commit is contained in:
Chris Lattner 2002-09-06 02:35:11 +00:00
parent 579bb9b527
commit 00b95cc534
1 changed files with 5 additions and 4 deletions

View File

@ -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