From: Chris Lattner Date: Sun, 14 Mar 2004 02:36:34 +0000 (+0000) Subject: Move loop extractor to the IPO header X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4eddf37ee31e7b962ad275c591124d90c8955f42;p=oota-llvm.git Move loop extractor to the IPO header git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12374 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Transforms/IPO.h b/include/llvm/Transforms/IPO.h index 48a1895694b..695dc80feb9 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 09c12b3c296..59ff8f2121e 100644 --- a/include/llvm/Transforms/Scalar.h +++ b/include/llvm/Transforms/Scalar.h @@ -137,14 +137,6 @@ 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