Skip to content
Snippets Groups Projects
Commit 9f48a00e authored by Chris Lattner's avatar Chris Lattner
Browse files

Add new BreakCriticalEdges pass

llvm-svn: 3902
parent 34d39668
No related branches found
No related tags found
No related merge requests found
...@@ -175,6 +175,16 @@ Pass *createCorrelatedExpressionEliminationPass(); ...@@ -175,6 +175,16 @@ Pass *createCorrelatedExpressionEliminationPass();
// //
Pass *createCFGSimplificationPass(); 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 & // These two passes convert malloc and free instructions to and from %malloc &
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment