Add the prototype for the LoopExtractor Pass.
authorMisha Brukman <brukman+llvm@gmail.com>
Sat, 28 Feb 2004 03:33:17 +0000 (03:33 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Sat, 28 Feb 2004 03:33:17 +0000 (03:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11937 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Transforms/Scalar.h

index 59ff8f2121e626c9f53416cb8e8b089e45688d10..09c12b3c296b9ef63478eebb4efd1fa825f05d16 100644 (file)
@@ -137,6 +137,14 @@ Pass *createInstructionCombiningPass();
 FunctionPass *createLICMPass();
 
 
+//===----------------------------------------------------------------------===//
+//
+// 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