summaryrefslogtreecommitdiff
path: root/include/llvm/Transforms/IPO.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Transforms/IPO.h')
-rw-r--r--include/llvm/Transforms/IPO.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/llvm/Transforms/IPO.h b/include/llvm/Transforms/IPO.h
index 54e6b3459e..44ffa473e4 100644
--- a/include/llvm/Transforms/IPO.h
+++ b/include/llvm/Transforms/IPO.h
@@ -21,6 +21,7 @@ namespace llvm {
class FunctionPass;
class ModulePass;
+class Pass;
class Function;
class BasicBlock;
@@ -101,13 +102,13 @@ ModulePass *createFunctionResolvingPass();
/// createFunctionInliningPass - Return a new pass object that uses a heuristic
/// to inline direct function calls to small functions.
///
-ModulePass *createFunctionInliningPass();
+Pass *createFunctionInliningPass();
//===----------------------------------------------------------------------===//
/// createPruneEHPass - Return a new pass object which transforms invoke
/// instructions into calls, if the callee can _not_ unwind the stack.
///
-ModulePass *createPruneEHPass();
+Pass *createPruneEHPass();
//===----------------------------------------------------------------------===//
/// createInternalizePass - This pass loops over all of the functions in the
@@ -134,7 +135,7 @@ ModulePass *createDeadArgHackingPass();
/// createArgumentPromotionPass - This pass promotes "by reference" arguments to
/// be passed by value.
///
-ModulePass *createArgumentPromotionPass();
+Pass *createArgumentPromotionPass();
//===----------------------------------------------------------------------===//
/// createIPConstantPropagationPass - This pass propagates constants from call