summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2004-02-28 03:33:17 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2004-02-28 03:33:17 +0000
commit3151628a0d330ee92e10c43712df492eadf2d79b (patch)
tree22429902697c7adb94c97786afab84bd64ce24dc
parent03a11340ff6dec73ab8cb09261ae374ae4003417 (diff)
downloadbcm5719-llvm-3151628a0d330ee92e10c43712df492eadf2d79b.tar.gz
bcm5719-llvm-3151628a0d330ee92e10c43712df492eadf2d79b.zip
Add the prototype for the LoopExtractor Pass.
llvm-svn: 11937
-rw-r--r--llvm/include/llvm/Transforms/Scalar.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/include/llvm/Transforms/Scalar.h b/llvm/include/llvm/Transforms/Scalar.h
index 59ff8f2121e..09c12b3c296 100644
--- a/llvm/include/llvm/Transforms/Scalar.h
+++ b/llvm/include/llvm/Transforms/Scalar.h
@@ -139,6 +139,14 @@ 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
// that are preceeded by a conditional branch, where the branch gives
// information about the operands of the condition. For example, this C code:
OpenPOWER on IntegriCloud