summaryrefslogtreecommitdiff
path: root/include/llvm/Transforms/IPO.h
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2005-01-10 04:23:32 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2005-01-10 04:23:32 +0000
commitecc1cef8bfd07575ba4026780adf7054c771e12e (patch)
tree3c7ab15ef3c62da58ddaaa45c73212cd25f3aeb5 /include/llvm/Transforms/IPO.h
parent6e400f76e6921226ddacba367d3928474ed7567d (diff)
downloadllvm-ecc1cef8bfd07575ba4026780adf7054c771e12e.tar.gz
llvm-ecc1cef8bfd07575ba4026780adf7054c771e12e.tar.bz2
llvm-ecc1cef8bfd07575ba4026780adf7054c771e12e.tar.xz
Apply feedback from Chris.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19432 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/IPO.h')
-rw-r--r--include/llvm/Transforms/IPO.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Transforms/IPO.h b/include/llvm/Transforms/IPO.h
index d2371de517..a0515a7f5e 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.