diff options
author | Chris Lattner <sabre@nondot.org> | 2003-11-10 04:09:44 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-11-10 04:09:44 +0000 |
commit | a5397c883a40a3331ec7113075b23bb90c208b68 (patch) | |
tree | dbd66dffe9caab26e79e19a6d09b9c4f7416a2d4 | |
parent | 59c321782f857a5abd34fe8a0360d25770fe553e (diff) | |
download | bcm5719-llvm-a5397c883a40a3331ec7113075b23bb90c208b68.tar.gz bcm5719-llvm-a5397c883a40a3331ec7113075b23bb90c208b68.zip |
Move isCriticalEdge & SplitCritical edge out of this file, which is only
for passes.
llvm-svn: 9851
-rw-r--r-- | llvm/include/llvm/Transforms/Scalar.h | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/llvm/include/llvm/Transforms/Scalar.h b/llvm/include/llvm/Transforms/Scalar.h index 99fac47ced8..81fd59767d7 100644 --- a/llvm/include/llvm/Transforms/Scalar.h +++ b/llvm/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 |