diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2004-07-27 17:43:21 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-07-27 17:43:21 +0000 |
commit | 96d4bf7aee0c6ce915e6eb77065df388f374fafb (patch) | |
tree | 5258e872598d91c67d3d0dfb9dcb679d428674d4 /include | |
parent | c91bc304366399fab9eecd338725ee90f5519778 (diff) | |
download | external_llvm-96d4bf7aee0c6ce915e6eb77065df388f374fafb.zip external_llvm-96d4bf7aee0c6ce915e6eb77065df388f374fafb.tar.gz external_llvm-96d4bf7aee0c6ce915e6eb77065df388f374fafb.tar.bz2 |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Analysis/LoadValueNumbering.h | 4 | ||||
-rw-r--r-- | include/llvm/Transforms/Scalar.h | 4 |
2 files changed, 4 insertions, 4 deletions
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(); //===----------------------------------------------------------------------===// |