LLVM
23.0.0git
include
llvm
CodeGen
ExpandPostRAPseudos.h
Go to the documentation of this file.
1
//===- llvm/CodeGen/ExpandPostRAPseudos.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_EXPANDPOSTRAPSEUDOS_H
10
#define LLVM_CODEGEN_EXPANDPOSTRAPSEUDOS_H
11
12
#include "
llvm/CodeGen/MachinePassManager.h
"
13
14
namespace
llvm
{
15
16
class
ExpandPostRAPseudosPass
17
:
public
RequiredPassInfoMixin
<ExpandPostRAPseudosPass> {
18
public
:
19
PreservedAnalyses
run
(
MachineFunction
&MF,
20
MachineFunctionAnalysisManager
&MFAM);
21
// We need to expand pseudoinstructions regardless of optimization level or
22
// otherwise later passes (e.g., AsmPrinter) will fail.
23
};
24
25
}
// namespace llvm
26
27
#endif
// LLVM_CODEGEN_EXPANDPOSTRAPSEUDOS_H
MachinePassManager.h
llvm::ExpandPostRAPseudosPass
Definition
ExpandPostRAPseudos.h:17
llvm::ExpandPostRAPseudosPass::run
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
Definition
ExpandPostRAPseudos.cpp:59
llvm::MachineFunction
Definition
MachineFunction.h:294
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
FunctionInfo.h:25
llvm::MachineFunctionAnalysisManager
AnalysisManager< MachineFunction > MachineFunctionAnalysisManager
Definition
MachineFunctionAnalysisManager.h:24
llvm::RequiredPassInfoMixin
A CRTP mix-in for passes that should not be skipped.
Definition
PassManager.h:103
Generated on
for LLVM by
1.14.0