Declare FunctionPasses as such.
authorMisha Brukman <brukman+llvm@gmail.com>
Fri, 7 Nov 2003 17:19:39 +0000 (17:19 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Fri, 7 Nov 2003 17:19:39 +0000 (17:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9767 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Transforms/Scalar.h

index 032a98e4c827d7d6cddfe9b7e99542820c973db8..99fac47ced8af1e650d3967e970c99f816798f53 100644 (file)
@@ -101,7 +101,7 @@ bool DecomposeArrayRef(GetElementPtrInst* GEP);
 // examining the SSA value graph of the function, instead of doing slow
 // bit-vector computations.
 //
-Pass *createGCSEPass();
+FunctionPass *createGCSEPass();
 
 
 //===----------------------------------------------------------------------===//
@@ -132,7 +132,7 @@ Pass *createInstructionCombiningPass();
 // LICM - This pass is a simple natural loop based loop invariant code motion
 // pass.
 //
-Pass *createLICMPass();
+FunctionPass *createLICMPass();
 
 
 //===----------------------------------------------------------------------===//
@@ -179,7 +179,7 @@ Pass *createPromoteMemoryToRegister();
 //
 // For example:  4 + (x + 5)  ->  x + (4 + 5)
 //
-Pass *createReassociatePass();
+FunctionPass *createReassociatePass();
 
 //===----------------------------------------------------------------------===//
 //