- Do not expose Critical Edge breaking mechanics outside the BCE pass, thus
authorChris Lattner <sabre@nondot.org>
Tue, 24 Sep 2002 15:51:54 +0000 (15:51 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 24 Sep 2002 15:51:54 +0000 (15:51 +0000)
    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

include/llvm/Transforms/Utils/Local.h

index 596bb52c19223dd183366382a25ce549f6f49763..9d3507db65a7bc0bd221cc9430440c15e7125743 100644 (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