LLVM
22.0.0git
include
llvm
CodeGen
PostRASchedulerList.h
Go to the documentation of this file.
1
//===- llvm/CodeGen/PostRASchedulerList.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_POSTRASCHEDULERLIST_H
10
#define LLVM_CODEGEN_POSTRASCHEDULERLIST_H
11
12
#include "
llvm/CodeGen/MachinePassManager.h
"
13
14
namespace
llvm
{
15
16
class
PostRASchedulerPass
:
public
PassInfoMixin
<PostRASchedulerPass> {
17
const
TargetMachine
*TM;
18
19
public
:
20
PostRASchedulerPass
(
const
TargetMachine
*TM) : TM(TM) {}
21
PreservedAnalyses
run
(
MachineFunction
&MF,
22
MachineFunctionAnalysisManager
&MFAM);
23
24
MachineFunctionProperties
getRequiredProperties
()
const
{
25
return
MachineFunctionProperties
().setNoVRegs();
26
}
27
};
28
29
}
// namespace llvm
30
31
#endif
// LLVM_CODEGEN_POSTRASCHEDULERLIST_H
MachinePassManager.h
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::PostRASchedulerPass::getRequiredProperties
MachineFunctionProperties getRequiredProperties() const
Definition
PostRASchedulerList.h:24
llvm::PostRASchedulerPass::run
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
Definition
PostRASchedulerList.cpp:373
llvm::PostRASchedulerPass::PostRASchedulerPass
PostRASchedulerPass(const TargetMachine *TM)
Definition
PostRASchedulerList.h:20
llvm::PreservedAnalyses
A set of analyses that are preserved following a run of a transformation pass.
Definition
Analysis.h:112
llvm::TargetMachine
Primary interface to the complete machine description for the target machine.
Definition
TargetMachine.h:83
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition
AddressRanges.h:18
llvm::MachineFunctionAnalysisManager
AnalysisManager< MachineFunction > MachineFunctionAnalysisManager
Definition
MachineFunctionAnalysisManager.h:24
llvm::PassInfoMixin
A CRTP mix-in to automatically provide informational APIs needed for passes.
Definition
PassManager.h:70
Generated on
for LLVM by
1.14.0