aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Transforms/Scalar/IndVarSimplify.h
blob: 00a43b5ab879917ae5f4f929170b40b07e49ea97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//===- llvm/Transforms/Scalar/IndVarSimplify.h - IV Eliminate ----*- C++ -*--=//
//
// InductionVariableSimplify - Transform induction variables in a program
//   to all use a single cannonical induction variable per loop.
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_TRANSFORMS_SCALAR_INDVARSIMPLIFY_H
#define LLVM_TRANSFORMS_SCALAR_INDVARSIMPLIFY_H

#include "llvm/Pass.h"

struct InductionVariableSimplify : public Pass {
  static bool doit(Method *M);

  virtual bool doPerMethodWork(Method *M) { return doit(M); }
};

#endif