diff options
Diffstat (limited to 'include/llvm/Transforms/Scalar/LoopInstSimplify.h')
-rw-r--r-- | include/llvm/Transforms/Scalar/LoopInstSimplify.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/include/llvm/Transforms/Scalar/LoopInstSimplify.h b/include/llvm/Transforms/Scalar/LoopInstSimplify.h new file mode 100644 index 0000000000000..f67343f40a7cf --- /dev/null +++ b/include/llvm/Transforms/Scalar/LoopInstSimplify.h @@ -0,0 +1,29 @@ +//===- LoopInstSimplify.h - Loop Inst Simplify Pass -------*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This pass performs lightweight instruction simplification on loop bodies. +// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_TRANSFORMS_SCALAR_LOOPINSTSIMPLIFY_H +#define LLVM_TRANSFORMS_SCALAR_LOOPINSTSIMPLIFY_H + +#include "llvm/Analysis/LoopInfo.h" +#include "llvm/IR/PassManager.h" + +namespace llvm { + +/// Performs Loop Inst Simplify Pass. +class LoopInstSimplifyPass : public PassInfoMixin<LoopInstSimplifyPass> { +public: + PreservedAnalyses run(Loop &L, AnalysisManager<Loop> &AM); +}; +} // end namespace llvm + +#endif // LLVM_TRANSFORMS_SCALAR_LOOPINSTSIMPLIFY_H |