diff options
Diffstat (limited to 'include/llvm/Transforms/Scalar/IndVarSimplify.h')
-rw-r--r-- | include/llvm/Transforms/Scalar/IndVarSimplify.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/include/llvm/Transforms/Scalar/IndVarSimplify.h b/include/llvm/Transforms/Scalar/IndVarSimplify.h new file mode 100644 index 0000000000000..325bcc7bed8fb --- /dev/null +++ b/include/llvm/Transforms/Scalar/IndVarSimplify.h @@ -0,0 +1,29 @@ +//===- IndVarSimplify.h - Induction Variable Simplification -----*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This file provides the interface for the Induction Variable +// Simplification pass. +// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_TRANSFORMS_SCALAR_INDVARSIMPLIFY_H +#define LLVM_TRANSFORMS_SCALAR_INDVARSIMPLIFY_H + +#include "llvm/Analysis/LoopInfo.h" +#include "llvm/IR/PassManager.h" + +namespace llvm { + +class IndVarSimplifyPass : public PassInfoMixin<IndVarSimplifyPass> { +public: + PreservedAnalyses run(Loop &L, AnalysisManager<Loop> &AM); +}; +} + +#endif // LLVM_TRANSFORMS_SCALAR_INDVARSIMPLIFY_H |