diff options
author | Dan Gohman <gohman@apple.com> | 2009-09-28 14:37:51 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-09-28 14:37:51 +0000 |
commit | b65091d85c1c7a467ecf0622747900e54012b2fb (patch) | |
tree | 2a05c1fab009c020e9d20c14a135dbcb686b2f56 /include | |
parent | f4ecc68efa92c06e2de1937f2a6408f57318ee3f (diff) | |
download | external_llvm-b65091d85c1c7a467ecf0622747900e54012b2fb.zip external_llvm-b65091d85c1c7a467ecf0622747900e54012b2fb.tar.gz external_llvm-b65091d85c1c7a467ecf0622747900e54012b2fb.tar.bz2 |
Convert LoopSimplify and LoopExtractor from FunctionPass to LoopPass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82990 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Transforms/IPO.h | 5 | ||||
-rw-r--r-- | include/llvm/Transforms/Scalar.h | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/include/llvm/Transforms/IPO.h b/include/llvm/Transforms/IPO.h index 750969b..d66ed89 100644 --- a/include/llvm/Transforms/IPO.h +++ b/include/llvm/Transforms/IPO.h @@ -19,7 +19,6 @@ namespace llvm { -class FunctionPass; class ModulePass; class Pass; class Function; @@ -174,12 +173,12 @@ ModulePass *createIPSCCPPass(); /// createLoopExtractorPass - This pass extracts all natural loops from the /// program into a function if it can. /// -FunctionPass *createLoopExtractorPass(); +Pass *createLoopExtractorPass(); /// createSingleLoopExtractorPass - This pass extracts one natural loop from the /// program into a function if it can. This is used by bugpoint. /// -FunctionPass *createSingleLoopExtractorPass(); +Pass *createSingleLoopExtractorPass(); /// createBlockExtractorPass - This pass extracts all blocks (except those /// specified in the argument list) from the functions in the module. diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h index 093da64..d5d2e49 100644 --- a/include/llvm/Transforms/Scalar.h +++ b/include/llvm/Transforms/Scalar.h @@ -220,7 +220,7 @@ extern const PassInfo *const BreakCriticalEdgesID; // // AU.addRequiredID(LoopSimplifyID); // -FunctionPass *createLoopSimplifyPass(); +Pass *createLoopSimplifyPass(); extern const PassInfo *const LoopSimplifyID; //===----------------------------------------------------------------------===// |