From 96d4bf7aee0c6ce915e6eb77065df388f374fafb Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Tue, 27 Jul 2004 17:43:21 +0000 Subject: Make the create...() functions for some of these passes return a FunctionPass *. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15276 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Analysis/LoadValueNumbering.h | 4 ++-- include/llvm/Transforms/Scalar.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/llvm/Analysis/LoadValueNumbering.h b/include/llvm/Analysis/LoadValueNumbering.h index 6218133..212a04b 100644 --- a/include/llvm/Analysis/LoadValueNumbering.h +++ b/include/llvm/Analysis/LoadValueNumbering.h @@ -23,12 +23,12 @@ namespace llvm { -class Pass; +class FunctionPass; /// createLoadValueNumberingPass - Create and return a new pass that implements /// the ValueNumbering interface. /// -Pass *createLoadValueNumberingPass(); +FunctionPass *createLoadValueNumberingPass(); } // End llvm namespace diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h index 5d25655..238179c 100644 --- a/include/llvm/Transforms/Scalar.h +++ b/include/llvm/Transforms/Scalar.h @@ -61,7 +61,7 @@ Pass *createDeadInstEliminationPass(); // their other instructions become dead, to eliminate chains of dead // computations. // -Pass *createDeadCodeEliminationPass(); +FunctionPass *createDeadCodeEliminationPass(); //===----------------------------------------------------------------------===// // @@ -132,7 +132,7 @@ Pass *createIndVarSimplifyPass(); // into: // %Z = add int 2, %X // -Pass *createInstructionCombiningPass(); +FunctionPass *createInstructionCombiningPass(); //===----------------------------------------------------------------------===// -- cgit v1.1