mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-22 12:08:33 +00:00
- 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
This commit is contained in:
parent
3e57cb98bd
commit
ca8474e7f2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user