aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-11-10 04:09:44 +0000
committerChris Lattner <sabre@nondot.org>2003-11-10 04:09:44 +0000
commit4a05ba0ab599c085e338cff47ad546ab1520f6e5 (patch)
tree00c891c9bdb601f3477a6107d235c505f2382d76 /include/llvm/Transforms
parent9058349aa431ef4cbdea51d30302f88105f61b76 (diff)
Move isCriticalEdge & SplitCritical edge out of this file, which is only
for passes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9851 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms')
-rw-r--r--include/llvm/Transforms/Scalar.h18
1 files changed, 1 insertions, 17 deletions
diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h
index 99fac47ced..81fd59767d 100644
--- a/include/llvm/Transforms/Scalar.h
+++ b/include/llvm/Transforms/Scalar.h
@@ -216,27 +216,11 @@ FunctionPass *createCFGSimplificationPass();
// AU.addRequiredID(BreakCriticalEdgesID);
//
// This pass obviously invalidates the CFG, but can update forward dominator
-// (set, immediate dominators, and tree) information.
+// (set, immediate dominators, tree, and frontier) information.
//
Pass *createBreakCriticalEdgesPass();
extern const PassInfo *BreakCriticalEdgesID;
-// The BreakCriticalEdges pass also exposes some low-level functionality that
-// may be used by other passes.
-
-/// 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 a pass is specified, thus calling this pass will not invalidate these
-/// analyses.
-///
-void SplitCriticalEdge(TerminatorInst *TI, unsigned SuccNum, Pass *P = 0);
-
//===----------------------------------------------------------------------===//
//
// LoopSimplify pass - Insert Pre-header blocks into the CFG for every function