Go to the documentation of this file.
14 #ifndef LLVM_LIB_TARGET_M68K_INSTPRINTER_M68KINSTPRINTER_H
15 #define LLVM_LIB_TARGET_M68K_INSTPRINTER_M68KINSTPRINTER_H
68 printAbsMem(
MI, opNum,
O);
71 void printARI8Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &
O) {
72 printARIMem(
MI, opNum,
O);
74 void printARI16Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &
O) {
75 printARIMem(
MI, opNum,
O);
77 void printARI32Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &
O) {
78 printARIMem(
MI, opNum,
O);
81 void printARIPI8Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &
O) {
82 printARIPIMem(
MI, opNum,
O);
84 void printARIPI16Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &
O) {
85 printARIPIMem(
MI, opNum,
O);
87 void printARIPI32Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &
O) {
88 printARIPIMem(
MI, opNum,
O);
91 void printARIPD8Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &
O) {
92 printARIPDMem(
MI, opNum,
O);
94 void printARIPD16Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &
O) {
95 printARIPDMem(
MI, opNum,
O);
97 void printARIPD32Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &
O) {
98 printARIPDMem(
MI, opNum,
O);
101 void printARID8Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &
O) {
102 printARIDMem(
MI, opNum,
O);
104 void printARID16Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &
O) {
105 printARIDMem(
MI, opNum,
O);
107 void printARID32Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &
O) {
108 printARIDMem(
MI, opNum,
O);
111 void printARII8Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &
O) {
112 printARIIMem(
MI, opNum,
O);
114 void printARII16Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &
O) {
115 printARIIMem(
MI, opNum,
O);
117 void printARII32Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &
O) {
118 printARIIMem(
MI, opNum,
O);
121 void printAS8Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &
O) {
122 printAbsMem(
MI, opNum,
O);
124 void printAS16Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &
O) {
125 printAbsMem(
MI, opNum,
O);
127 void printAS32Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &
O) {
128 printAbsMem(
MI, opNum,
O);
131 void printAL8Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &
O) {
132 printAbsMem(
MI, opNum,
O);
134 void printAL16Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &
O) {
135 printAbsMem(
MI, opNum,
O);
137 void printAL32Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &
O) {
138 printAbsMem(
MI, opNum,
O);
141 void printPCD8Mem(
const MCInst *
MI,
uint64_t Address,
unsigned opNum,
143 printPCDMem(
MI, Address, opNum,
O);
145 void printPCD16Mem(
const MCInst *
MI,
uint64_t Address,
unsigned opNum,
147 printPCDMem(
MI, Address, opNum,
O);
149 void printPCD32Mem(
const MCInst *
MI,
uint64_t Address,
unsigned opNum,
151 printPCDMem(
MI, Address, opNum,
O);
154 void printPCI8Mem(
const MCInst *
MI,
uint64_t Address,
unsigned opNum,
156 printPCIMem(
MI, Address, opNum,
O);
158 void printPCI16Mem(
const MCInst *
MI,
uint64_t Address,
unsigned opNum,
160 printPCIMem(
MI, Address, opNum,
O);
162 void printPCI32Mem(
const MCInst *
MI,
uint64_t Address,
unsigned opNum,
164 printPCIMem(
MI, Address, opNum,
O);
169 #endif // LLVM_LIB_TARGET_M68K_INSTPRINTER_M68KINSTPRINTER_H
This is an optimization pass for GlobalISel generic memory operations.
This class is intended to be used as a base class for asm properties and features specific to the tar...
M68kInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI)
Instances of this class represent a single low-level machine instruction.
void printInst(const MCInst *MI, uint64_t Address, StringRef Annot, const MCSubtargetInfo &STI, raw_ostream &O) override
Print the specified MCInst to the specified raw_ostream.
const MCRegisterInfo & MRI
void printCustomAliasOperand(const MCInst *MI, unsigned OpIdx, unsigned PrintMethodIdx, raw_ostream &O)
void printRegName(raw_ostream &OS, unsigned RegNo) const override
Print the assembler register name.
static const char * getRegisterName(unsigned RegNo)
bool printAliasInstr(const MCInst *MI, uint64_t Address, raw_ostream &OS)
This class implements an extremely fast bulk output stream that can only output to a stream.
This is an instance of a target assembly language printer that converts an MCInst to valid target ass...
void printInstruction(const MCInst *MI, uint64_t Address, raw_ostream &O)
StringRef - Represent a constant reference to a string, i.e.
MCRegisterInfo base class - We assume that the target defines a static array of MCRegisterDesc object...
Interface to description of machine instruction set.
std::pair< const char *, uint64_t > getMnemonic(const MCInst *MI) override
Returns a pair containing the mnemonic for MI and the number of bits left for further processing by p...
Generic base class for all target subtargets.