diff options
Diffstat (limited to 'contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/LoopFlatten.h')
-rw-r--r-- | contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/LoopFlatten.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/LoopFlatten.h b/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/LoopFlatten.h new file mode 100644 index 000000000000..41f91f090013 --- /dev/null +++ b/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/LoopFlatten.h @@ -0,0 +1,32 @@ +//===- LoopFlatten.h - Loop Flatten ---------------- -----------*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// +// +// This file provides the interface for the Loop Flatten Pass. +// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_TRANSFORMS_SCALAR_LOOPFLATTEN_H +#define LLVM_TRANSFORMS_SCALAR_LOOPFLATTEN_H + +#include "llvm/Analysis/LoopAnalysisManager.h" +#include "llvm/Analysis/LoopInfo.h" +#include "llvm/IR/PassManager.h" +#include "llvm/Transforms/Scalar/LoopPassManager.h" + +namespace llvm { + +class LoopFlattenPass : public PassInfoMixin<LoopFlattenPass> { +public: + LoopFlattenPass() = default; + + PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM); +}; + +} // end namespace llvm + +#endif // LLVM_TRANSFORMS_SCALAR_LOOPFLATTEN_H |