aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
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
commitdddea54b1191d90bef4013e74d07a1f0990321f4 (patch)
tree56d75814f10bebd19b39b191fd4a7c34a2d59243 /include/llvm
parent9401deb32079a855d291d041901c57bd332bfa87 (diff)
downloadexternal_llvm-dddea54b1191d90bef4013e74d07a1f0990321f4.zip
external_llvm-dddea54b1191d90bef4013e74d07a1f0990321f4.tar.gz
external_llvm-dddea54b1191d90bef4013e74d07a1f0990321f4.tar.bz2
Add the prototype for the LoopExtractor Pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11937 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Transforms/Scalar.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h
index 59ff8f2..09c12b3 100644
--- a/include/llvm/Transforms/Scalar.h
+++ b/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: