LLVM
20.0.0git
lib
Target
SystemZ
SystemZMCInstLower.h
Go to the documentation of this file.
1
//===-- SystemZMCInstLower.h - Lower MachineInstr to MCInst ----*- 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_LIB_TARGET_SYSTEMZ_SYSTEMZMCINSTLOWER_H
10
#define LLVM_LIB_TARGET_SYSTEMZ_SYSTEMZMCINSTLOWER_H
11
12
#include "
llvm/MC/MCExpr.h
"
13
#include "
llvm/Support/Compiler.h
"
14
#include "
llvm/Support/DataTypes.h
"
15
16
namespace
llvm
{
17
class
MCInst;
18
class
MCOperand;
19
class
MachineInstr;
20
class
MachineOperand;
21
class
SystemZAsmPrinter;
22
23
class
LLVM_LIBRARY_VISIBILITY
SystemZMCInstLower
{
24
MCContext
&Ctx;
25
SystemZAsmPrinter
&
AsmPrinter
;
26
27
public
:
28
SystemZMCInstLower
(
MCContext
&ctx,
SystemZAsmPrinter
&asmPrinter);
29
30
// Lower MachineInstr MI to MCInst OutMI.
31
void
lower(
const
MachineInstr
*
MI
,
MCInst
&OutMI)
const
;
32
33
// Return an MCOperand for MO.
34
MCOperand
lowerOperand(
const
MachineOperand
& MO)
const
;
35
36
// Return an MCExpr for symbolic operand MO with variant kind Kind.
37
const
MCExpr
*getExpr(
const
MachineOperand
&MO,
38
MCSymbolRefExpr::VariantKind
Kind)
const
;
39
};
40
}
// end namespace llvm
41
42
#endif
Compiler.h
LLVM_LIBRARY_VISIBILITY
#define LLVM_LIBRARY_VISIBILITY
Definition:
Compiler.h:133
MI
IRTranslator LLVM IR MI
Definition:
IRTranslator.cpp:112
MCExpr.h
llvm::AsmPrinter
This class is intended to be used as a driving class for all asm writers.
Definition:
AsmPrinter.h:86
llvm::MCContext
Context object for machine code objects.
Definition:
MCContext.h:83
llvm::MCExpr
Base class for the full range of assembler expressions which are needed for parsing.
Definition:
MCExpr.h:34
llvm::MCInst
Instances of this class represent a single low-level machine instruction.
Definition:
MCInst.h:185
llvm::MCOperand
Instances of this class represent operands of the MCInst class.
Definition:
MCInst.h:37
llvm::MCSymbolRefExpr::VariantKind
VariantKind
Definition:
MCExpr.h:194
llvm::MachineInstr
Representation of each machine instruction.
Definition:
MachineInstr.h:69
llvm::MachineOperand
MachineOperand class - Representation of each machine instruction operand.
Definition:
MachineOperand.h:48
llvm::SystemZAsmPrinter
Definition:
SystemZAsmPrinter.h:26
llvm::SystemZMCInstLower
Definition:
SystemZMCInstLower.h:23
DataTypes.h
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
Generated on Sun Dec 22 2024 02:03:57 for LLVM by
1.9.6