1 //===- LoopDeletion.h - Loop Deletion ---------------------------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
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"
24 class LoopDeletionPass
: public PassInfoMixin
<LoopDeletionPass
> {
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