LLVM
8.0.1
lib
Target
AArch64
AArch64MCInstLower.h
Go to the documentation of this file.
1
//===-- AArch64MCInstLower.h - Lower MachineInstr to MCInst ---------------===//
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_AARCH64_AARCH64MCINSTLOWER_H
11
#define LLVM_LIB_TARGET_AARCH64_AARCH64MCINSTLOWER_H
12
13
#include "
llvm/ADT/Triple.h
"
14
#include "
llvm/Support/Compiler.h
"
15
16
namespace
llvm
{
17
class
AsmPrinter;
18
class
MCAsmInfo;
19
class
MCContext;
20
class
MCInst;
21
class
MCOperand;
22
class
MCSymbol
;
23
class
MachineInstr;
24
class
MachineModuleInfoMachO;
25
class
MachineOperand;
26
class
Mangler;
27
28
/// AArch64MCInstLower - This class is used to lower an MachineInstr
29
/// into an MCInst.
30
class
LLVM_LIBRARY_VISIBILITY
AArch64MCInstLower
{
31
MCContext
&Ctx;
32
AsmPrinter
&
Printer
;
33
Triple
TargetTriple;
34
35
public
:
36
AArch64MCInstLower
(
MCContext
&ctx,
AsmPrinter
&printer);
37
38
bool
lowerOperand(
const
MachineOperand
&MO,
MCOperand
&MCOp)
const
;
39
void
Lower(
const
MachineInstr
*
MI
,
MCInst
&OutMI)
const
;
40
41
MCOperand
lowerSymbolOperandDarwin(
const
MachineOperand
&MO,
42
MCSymbol
*Sym)
const
;
43
MCOperand
lowerSymbolOperandELF(
const
MachineOperand
&MO,
44
MCSymbol
*Sym)
const
;
45
MCOperand
lowerSymbolOperandCOFF(
const
MachineOperand
&MO,
46
MCSymbol
*Sym)
const
;
47
MCOperand
LowerSymbolOperand
(
const
MachineOperand
&MO,
MCSymbol
*Sym)
const
;
48
49
MCSymbol
*GetGlobalAddressSymbol(
const
MachineOperand
&MO)
const
;
50
MCSymbol
*GetExternalSymbolSymbol(
const
MachineOperand
&MO)
const
;
51
};
52
}
53
54
#endif
llvm
This class represents lattice values for constants.
Definition:
AllocatorList.h:24
llvm::MCSymbol
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
Definition:
MCSymbol.h:42
Triple.h
Printer
print alias Alias Set Printer
Definition:
AliasSetTracker.cpp:740
llvm::ISD::MCSymbol
Definition:
ISDOpcodes.h:139
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
llvm::Triple
Triple - Helper class for working with autoconf configuration names.
Definition:
Triple.h:44
LowerSymbolOperand
static MCOperand LowerSymbolOperand(const MachineInstr *MI, const MachineOperand &MO, AsmPrinter &AP)
Definition:
SparcMCInstLower.cpp:30
llvm::MachineOperand
MachineOperand class - Representation of each machine instruction operand.
Definition:
MachineOperand.h:49
Compiler.h
llvm::MachineInstr
Representation of each machine instruction.
Definition:
MachineInstr.h:64
llvm::AArch64MCInstLower
AArch64MCInstLower - This class is used to lower an MachineInstr into an MCInst.
Definition:
AArch64MCInstLower.h:30
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
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:56:09 for LLVM by
1.8.13