diff options
Diffstat (limited to 'include/llvm/Transforms/RaisePointerReferences.h')
-rw-r--r-- | include/llvm/Transforms/RaisePointerReferences.h | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/include/llvm/Transforms/RaisePointerReferences.h b/include/llvm/Transforms/RaisePointerReferences.h index b652f33712..ec2ce319a3 100644 --- a/include/llvm/Transforms/RaisePointerReferences.h +++ b/include/llvm/Transforms/RaisePointerReferences.h @@ -9,27 +9,12 @@ #ifndef LLVM_TRANSFORMS_LEVELCHANGE_H #define LLVM_TRANSFORMS_LEVELCHANGE_H -#include "llvm/Pass.h" +class Pass; // RaisePointerReferences - Try to eliminate as many pointer arithmetic // expressions as possible, by converting expressions to use getelementptr and // friends. // -struct RaisePointerReferences : public MethodPass { - static bool doit(Method *M); - - virtual bool runOnMethod(Method *M) { return doit(M); } -}; - - -// EliminateAuxillaryInductionVariables - Eliminate all aux indvars. This -// converts all induction variables to reference a cannonical induction -// variable (which starts at 0 and counts by 1). -// -struct EliminateAuxillaryInductionVariables : public MethodPass { - static bool doit(Method *M) { return false; } // TODO! - - virtual bool runOnMethod(Method *M) { return doit(M); } -}; +Pass *createRaisePointerReferencesPass(); #endif |