[llvm-commits] CVS: llvm/include/llvm/Transforms/Scalar.h
Chris Lattner
lattner at cs.uiuc.edu
Mon Sep 23 19:09:00 PDT 2002
Changes in directory llvm/include/llvm/Transforms:
Scalar.h updated: 1.9 -> 1.10
---
Log message:
Add new BreakCriticalEdges pass
---
Diffs of the changes:
Index: llvm/include/llvm/Transforms/Scalar.h
diff -u llvm/include/llvm/Transforms/Scalar.h:1.9 llvm/include/llvm/Transforms/Scalar.h:1.10
--- llvm/include/llvm/Transforms/Scalar.h:1.9 Mon Sep 16 11:07:19 2002
+++ llvm/include/llvm/Transforms/Scalar.h Mon Sep 23 19:08:37 2002
@@ -175,6 +175,16 @@
//
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 &
More information about the llvm-commits
mailing list