Add new BreakCriticalEdges pass

llvm-svn: 3902
This commit is contained in:
Chris Lattner 2002-09-24 00:08:37 +00:00
parent 34d39668f9
commit 9f48a00e43
1 changed files with 10 additions and 0 deletions

View File

@ -175,6 +175,16 @@ Pass *createCorrelatedExpressionEliminationPass();
//
Pass *createCFGSimplificationPass();
//===----------------------------------------------------------------------===//
//
// BreakCriticalEdges pass - Break all of the critical edges in the CFG by
// inserting a dummy basic block. This pass may be "required" by passes that
// cannot deal with critical edges. For this usage, the structure type is
// forward declared. This pass obviously invalidates the CFG, but can update
// forward dominator (set, immediate dominators, and tree) information.
//
class BreakCriticalEdges;
Pass *createBreakCriticalEdgesPass();
//===----------------------------------------------------------------------===//
// These two passes convert malloc and free instructions to and from %malloc &