Declare FunctionPasses as such.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9767 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Misha Brukman 2003-11-07 17:19:39 +00:00
parent f0d6b493f2
commit d24fdda8e9

View 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();
//===----------------------------------------------------------------------===//
//