Implement a more powerful, simpler, pass system. This pass system can figure
[oota-llvm.git] / include / llvm / Transforms / Scalar / IndVarSimplify.h
1 //===- llvm/Transforms/Scalar/IndVarSimplify.h - IV Eliminate ----*- C++ -*--=//
2 //
3 // InductionVariableSimplify - Transform induction variables in a program
4 //   to all use a single cannonical induction variable per loop.
5 //
6 //===----------------------------------------------------------------------===//
7
8 #ifndef LLVM_TRANSFORMS_SCALAR_INDVARSIMPLIFY_H
9 #define LLVM_TRANSFORMS_SCALAR_INDVARSIMPLIFY_H
10
11 #include "llvm/Pass.h"
12
13 struct InductionVariableSimplify : public MethodPass {
14   static bool doit(Method *M);
15
16   virtual bool runOnMethod(Method *M) { return doit(M); }
17 };
18
19 #endif