[Alignment][NFC] Support compile time constants
[llvm-core.git] / include / llvm / Transforms / Scalar / LoopDeletion.h
blob557616e2e6bac954810637e81844ee6f3dc09ab3
1 //===- LoopDeletion.h - Loop Deletion ---------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file provides the interface for the Loop Deletion Pass.
11 //===----------------------------------------------------------------------===//
13 #ifndef LLVM_TRANSFORMS_SCALAR_LOOPDELETION_H
14 #define LLVM_TRANSFORMS_SCALAR_LOOPDELETION_H
16 #include "llvm/Analysis/LoopAnalysisManager.h"
17 #include "llvm/Analysis/LoopInfo.h"
18 #include "llvm/Analysis/ScalarEvolution.h"
19 #include "llvm/IR/PassManager.h"
20 #include "llvm/Transforms/Scalar/LoopPassManager.h"
22 namespace llvm {
24 class LoopDeletionPass : public PassInfoMixin<LoopDeletionPass> {
25 public:
26 LoopDeletionPass() = default;
28 PreservedAnalyses run(Loop &L, LoopAnalysisManager &AM,
29 LoopStandardAnalysisResults &AR, LPMUpdater &U);
32 } // end namespace llvm
34 #endif // LLVM_TRANSFORMS_SCALAR_LOOPDELETION_H