LLVM
8.0.1
lib
Target
SystemZ
SystemZMCInstLower.h
Go to the documentation of this file.
1
//===-- SystemZMCInstLower.h - Lower MachineInstr to MCInst ----*- C++ -*--===//
2
//
3
// The LLVM Compiler Infrastructure
4
//
5
// This file is distributed under the University of Illinois Open Source
6
// License. See LICENSE.TXT for details.
7
//
8
//===----------------------------------------------------------------------===//
9
10
#ifndef LLVM_LIB_TARGET_SYSTEMZ_SYSTEMZMCINSTLOWER_H
11
#define LLVM_LIB_TARGET_SYSTEMZ_SYSTEMZMCINSTLOWER_H
12
13
#include "
llvm/MC/MCExpr.h
"
14
#include "
llvm/Support/Compiler.h
"
15
#include "
llvm/Support/DataTypes.h
"
16
17
namespace
llvm
{
18
class
MCInst;
19
class
MCOperand;
20
class
MachineInstr;
21
class
MachineOperand;
22
class
Mangler;
23
class
SystemZAsmPrinter;
24
25
class
LLVM_LIBRARY_VISIBILITY
SystemZMCInstLower
{
26
MCContext
&Ctx;
27
SystemZAsmPrinter
&
AsmPrinter
;
28
29
public
:
30
SystemZMCInstLower
(
MCContext
&ctx,
SystemZAsmPrinter
&asmPrinter);
31
32
// Lower MachineInstr MI to MCInst OutMI.
33
void
lower(
const
MachineInstr
*
MI
,
MCInst
&OutMI)
const
;
34
35
// Return an MCOperand for MO.
36
MCOperand
lowerOperand(
const
MachineOperand
& MO)
const
;
37
38
// Return an MCExpr for symbolic operand MO with variant kind Kind.
39
const
MCExpr
*
getExpr
(
const
MachineOperand
&MO,
40
MCSymbolRefExpr::VariantKind
Kind
)
const
;
41
};
42
}
// end namespace llvm
43
44
#endif
llvm
This class represents lattice values for constants.
Definition:
AllocatorList.h:24
llvm::SystemZAsmPrinter
Definition:
SystemZAsmPrinter.h:26
llvm::MCExpr
Base class for the full range of assembler expressions which are needed for parsing.
Definition:
MCExpr.h:36
llvm::MCContext
Context object for machine code objects.
Definition:
MCContext.h:63
llvm::MCInst
Instances of this class represent a single low-level machine instruction.
Definition:
MCInst.h:161
llvm::AsmPrinter
This class is intended to be used as a driving class for all asm writers.
Definition:
AsmPrinter.h:79
MCExpr.h
llvm::MCSymbolRefExpr::VariantKind
VariantKind
Definition:
MCExpr.h:168
llvm::SystemZMCInstLower
Definition:
SystemZMCInstLower.h:25
llvm::MachineOperand
MachineOperand class - Representation of each machine instruction operand.
Definition:
MachineOperand.h:49
Compiler.h
DataTypes.h
llvm::MachineInstr
Representation of each machine instruction.
Definition:
MachineInstr.h:64
llvm::HexagonMCInstrInfo::getExpr
MCExpr const & getExpr(MCExpr const &Expr)
Definition:
HexagonMCInstrInfo.cpp:280
LLVM_LIBRARY_VISIBILITY
#define LLVM_LIBRARY_VISIBILITY
LLVM_LIBRARY_VISIBILITY - If a class marked with this attribute is linked into a shared library...
Definition:
Compiler.h:108
Kind
const unsigned Kind
Definition:
ARMAsmParser.cpp:10586
MI
IRTranslator LLVM IR MI
Definition:
IRTranslator.cpp:89
llvm::MCOperand
Instances of this class represent operands of the MCInst class.
Definition:
MCInst.h:35
Generated on Sun Dec 20 2020 13:58:04 for LLVM by
1.8.13