LLVM 20.0.0git
MachineLICM.h
Go to the documentation of this file.
1//===- llvm/CodeGen/MachineLICM.h -------------------------------*- 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#ifndef LLVM_CODEGEN_MACHINELICM_H
10#define LLVM_CODEGEN_MACHINELICM_H
11
13
14namespace llvm {
15
16template <typename DerivedT, bool PreRegAlloc>
17class MachineLICMBasePass : public PassInfoMixin<DerivedT> {
18public:
21};
22
24 : public MachineLICMBasePass<EarlyMachineLICMPass, true> {};
25
26class MachineLICMPass : public MachineLICMBasePass<MachineLICMPass, false> {};
27
28} // namespace llvm
29
31 true>;
33
34#endif // LLVM_CODEGEN_MACHINELICM_H
A container for analyses that lazily runs them and caches their results.
Definition: PassManager.h:253
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
A set of analyses that are preserved following a run of a transformation pass.
Definition: Analysis.h:111
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
A CRTP mix-in to automatically provide informational APIs needed for passes.
Definition: PassManager.h:69