1 //===- llvm/Transforms/Scalar/IndVarSimplify.h - IV Eliminate ----*- C++ -*--=//
3 // InductionVariableSimplify - Transform induction variables in a program
4 // to all use a single cannonical induction variable per loop.
6 //===----------------------------------------------------------------------===//
8 #ifndef LLVM_TRANSFORMS_SCALAR_INDVARSIMPLIFY_H
9 #define LLVM_TRANSFORMS_SCALAR_INDVARSIMPLIFY_H
11 #include "llvm/Pass.h"
13 struct InductionVariableSimplify : public MethodPass {
14 static bool doit(Method *M);
16 virtual bool runOnMethod(Method *M) { return doit(M); }