mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-29 10:32:47 +00:00
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:
parent
f0d6b493f2
commit
d24fdda8e9
@ -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