mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Declare FunctionPasses as such.
llvm-svn: 9767
This commit is contained in:
parent
238613ff30
commit
b6f41c96d7
@ -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();
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user