aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-03-14 02:36:34 +0000
committerChris Lattner <sabre@nondot.org>2004-03-14 02:36:34 +0000
commit4eddf37ee31e7b962ad275c591124d90c8955f42 (patch)
tree8285bf28b44b19b6946eeb442dc3000fb7e620b9 /include
parentefddcfa0df921ebca3e316120480df7df3e6e405 (diff)
downloadexternal_llvm-4eddf37ee31e7b962ad275c591124d90c8955f42.zip
external_llvm-4eddf37ee31e7b962ad275c591124d90c8955f42.tar.gz
external_llvm-4eddf37ee31e7b962ad275c591124d90c8955f42.tar.bz2
Move loop extractor to the IPO header
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12374 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Transforms/IPO.h8
-rw-r--r--include/llvm/Transforms/Scalar.h8
2 files changed, 8 insertions, 8 deletions
diff --git a/include/llvm/Transforms/IPO.h b/include/llvm/Transforms/IPO.h
index 48a1895..695dc80 100644
--- a/include/llvm/Transforms/IPO.h
+++ b/include/llvm/Transforms/IPO.h
@@ -134,6 +134,14 @@ Pass *createIPConstantPropagationPass();
Pass *createSwapElementsPass();
Pass *createSortElementsPass();
+
+//===----------------------------------------------------------------------===//
+//
+// LoopExtractor - This pass moves every natural loop into its own function.
+// Mostly useful in debugging via bugpoint.
+//
+Pass *createLoopExtractorPass();
+
} // End llvm namespace
#endif
diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h
index 09c12b3..59ff8f2 100644
--- a/include/llvm/Transforms/Scalar.h
+++ b/include/llvm/Transforms/Scalar.h
@@ -139,14 +139,6 @@ 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: