[llvm-commits] CVS: llvm/include/llvm/Transforms/Scalar.h

Misha Brukman brukman at cs.uiuc.edu
Fri Feb 27 21:34:37 PST 2004


Changes in directory llvm/include/llvm/Transforms:

Scalar.h updated: 1.33 -> 1.34

---
Log message:

Add the prototype for the LoopExtractor Pass.


---
Diffs of the changes:  (+8 -0)

Index: llvm/include/llvm/Transforms/Scalar.h
diff -u llvm/include/llvm/Transforms/Scalar.h:1.33 llvm/include/llvm/Transforms/Scalar.h:1.34
--- llvm/include/llvm/Transforms/Scalar.h:1.33	Fri Feb 13 10:23:14 2004
+++ llvm/include/llvm/Transforms/Scalar.h	Fri Feb 27 21:33:17 2004
@@ -139,6 +139,14 @@
 
 //===----------------------------------------------------------------------===//
 //
+// LoopExtractor - This pass moves every natural loop into its own function.
+// Mostly useful in debugging via bugpoint.
+//
+FunctionPass *createLoopExtractorPass();
+
+
+//===----------------------------------------------------------------------===//
+//
 // PiNodeInsertion - This pass inserts single entry Phi nodes into basic blocks
 // that are preceeded by a conditional branch, where the branch gives
 // information about the operands of the condition.  For example, this C code:





More information about the llvm-commits mailing list