mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-13 14:47:00 +00:00
- Do not expose Critical Edge breaking mechanics outside the BCE pass, thus
removing it from Transforms/Local.h and from Transforms/Utils/* git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3909 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
16e7a5295f
commit
04d8dc31f6
@ -60,19 +60,4 @@ bool dceInstruction(BasicBlock::iterator &BBI);
|
||||
///
|
||||
bool SimplifyCFG(BasicBlock *BB);
|
||||
|
||||
|
||||
/// isCriticalEdge - Return true if the specified edge is a critical edge.
|
||||
/// Critical edges are edges from a block with multiple successors to a block
|
||||
/// with multiple predecessors.
|
||||
///
|
||||
///
|
||||
bool isCriticalEdge(const TerminatorInst *TI, unsigned SuccNum);
|
||||
|
||||
/// 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 SplitCriticalEdge(TerminatorInst *TI, unsigned SuccNum, Pass *P = 0);
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user