mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 22:32:43 -04:00
31 lines
1 KiB
C++
31 lines
1 KiB
C++
//===- 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"
|
|
#include "llvm/Transforms/Scalar/LoopPassManager.h"
|
|
|
|
namespace llvm {
|
|
|
|
/// Performs Loop Inst Simplify Pass.
|
|
class LoopInstSimplifyPass : public PassInfoMixin<LoopInstSimplifyPass> {
|
|
public:
|
|
PreservedAnalyses run(Loop &L, LoopAnalysisManager &AM,
|
|
LoopStandardAnalysisResults &AR, LPMUpdater &U);
|
|
};
|
|
} // end namespace llvm
|
|
|
|
#endif // LLVM_TRANSFORMS_SCALAR_LOOPINSTSIMPLIFY_H
|