- 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:
Chris Lattner 2002-09-24 15:51:54 +00:00
parent 16e7a5295f
commit 04d8dc31f6

View File

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