From 6d24a7ce8a78fe6dc4f1ac8e967efd420bda6ba2 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 14 Mar 2004 02:36:34 +0000 Subject: [PATCH] Move loop extractor to the IPO header llvm-svn: 12374 --- llvm/include/llvm/Transforms/IPO.h | 8 ++++++++ llvm/include/llvm/Transforms/Scalar.h | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/llvm/include/llvm/Transforms/IPO.h b/llvm/include/llvm/Transforms/IPO.h index 48a1895694bb..695dc80feb98 100644 --- a/llvm/include/llvm/Transforms/IPO.h +++ b/llvm/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/llvm/include/llvm/Transforms/Scalar.h b/llvm/include/llvm/Transforms/Scalar.h index 09c12b3c296b..59ff8f2121e6 100644 --- a/llvm/include/llvm/Transforms/Scalar.h +++ b/llvm/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