diff options
Diffstat (limited to 'include/llvm/Transforms')
-rw-r--r-- | include/llvm/Transforms/IPO.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Transforms/IPO.h b/include/llvm/Transforms/IPO.h index d2371de..a0515a7 100644 --- a/include/llvm/Transforms/IPO.h +++ b/include/llvm/Transforms/IPO.h @@ -19,6 +19,7 @@ namespace llvm { +class FunctionPass; class ModulePass; class Function; class BasicBlock; @@ -150,12 +151,12 @@ ModulePass *createIPSCCPPass(); /// createLoopExtractorPass - This pass extracts all natural loops from the /// program into a function if it can. /// -ModulePass *createLoopExtractorPass(); +FunctionPass *createLoopExtractorPass(); /// createSingleLoopExtractorPass - This pass extracts one natural loop from the /// program into a function if it can. This is used by bugpoint. /// -ModulePass *createSingleLoopExtractorPass(); +FunctionPass *createSingleLoopExtractorPass(); // createBlockExtractorPass - This pass extracts all blocks (except those // specified in the argument list) from the functions in the module. |