LLVM
22.0.0git
include
llvm
CodeGen
PostRAMachineSink.h
Go to the documentation of this file.
1
//===- llvm/CodeGen/PostRAMachineSink.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_POSTRAMACHINESINK_H
10
#define LLVM_CODEGEN_POSTRAMACHINESINK_H
11
12
#include "
llvm/CodeGen/MachinePassManager.h
"
13
14
namespace
llvm
{
15
16
class
PostRAMachineSinkingPass
17
:
public
PassInfoMixin
<PostRAMachineSinkingPass> {
18
public
:
19
PreservedAnalyses
run
(
MachineFunction
&MF,
20
MachineFunctionAnalysisManager
&MFAM);
21
22
MachineFunctionProperties
getRequiredProperties
()
const
{
23
return
MachineFunctionProperties
().setNoVRegs();
24
}
25
};
26
27
}
// namespace llvm
28
29
#endif
// LLVM_CODEGEN_POSTRAMACHINESINK_H
MachinePassManager.h
llvm::AnalysisManager
A container for analyses that lazily runs them and caches their results.
Definition:
PassManager.h:255
llvm::MachineFunctionProperties
Properties which a MachineFunction may have at a given point in time.
Definition:
MachineFunction.h:137
llvm::MachineFunction
Definition:
MachineFunction.h:286
llvm::PostRAMachineSinkingPass
Definition:
PostRAMachineSink.h:17
llvm::PostRAMachineSinkingPass::getRequiredProperties
MachineFunctionProperties getRequiredProperties() const
Definition:
PostRAMachineSink.h:22
llvm::PostRAMachineSinkingPass::run
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
Definition:
MachineSink.cpp:2384
llvm::PreservedAnalyses
A set of analyses that are preserved following a run of a transformation pass.
Definition:
Analysis.h:112
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
llvm::PassInfoMixin
A CRTP mix-in to automatically provide informational APIs needed for passes.
Definition:
PassManager.h:70
Generated on Wed Sep 3 2025 01:18:02 for LLVM by
1.9.6