[llvm-commits] CVS: llvm/include/llvm/Transforms/Scalar.h
Chris Lattner
lattner at cs.uiuc.edu
Thu Sep 26 11:18:03 PDT 2002
Changes in directory llvm/include/llvm/Transforms:
Scalar.h updated: 1.12 -> 1.13
---
Log message:
Checkin new loop-preheader insertion pass.
---
Diffs of the changes:
Index: llvm/include/llvm/Transforms/Scalar.h
diff -u llvm/include/llvm/Transforms/Scalar.h:1.12 llvm/include/llvm/Transforms/Scalar.h:1.13
--- llvm/include/llvm/Transforms/Scalar.h:1.12 Wed Sep 25 18:47:45 2002
+++ llvm/include/llvm/Transforms/Scalar.h Thu Sep 26 11:17:33 2002
@@ -188,6 +188,19 @@
Pass *createBreakCriticalEdgesPass();
extern const PassInfo *BreakCriticalEdgesID;
+
+//===----------------------------------------------------------------------===//
+//
+// LoopPreheaders pass - Insert Pre-header blocks into the CFG for every
+// function in the module. This pass updates dominator information, loop
+// information, and does not add critical edges to the CFG.
+//
+// AU.addRequiredID(LoopPreheadersID);
+//
+Pass *createLoopPreheaderInsertionPass();
+extern const PassInfo *LoopPreheadersID;
+
+
//===----------------------------------------------------------------------===//
// These two passes convert malloc and free instructions to and from %malloc &
// %free function calls.
More information about the llvm-commits
mailing list