14#ifndef LLVM_LIB_TARGET_M68K_INSTPRINTER_M68KINSTPRINTER_H
15#define LLVM_LIB_TARGET_M68K_INSTPRINTER_M68KINSTPRINTER_H
68 printAbsMem(
MI, opNum, 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);
M68kInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI)
bool printAliasInstr(const MCInst *MI, uint64_t Address, raw_ostream &OS)
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.
void printRegName(raw_ostream &OS, MCRegister Reg) const override
Print the assembler register name.
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...
void printInstruction(const MCInst *MI, uint64_t Address, raw_ostream &O)
void printCustomAliasOperand(const MCInst *MI, unsigned OpIdx, unsigned PrintMethodIdx, raw_ostream &O)
static const char * getRegisterName(MCRegister Reg)
This class is intended to be used as a base class for asm properties and features specific to the tar...
This is an instance of a target assembly language printer that converts an MCInst to valid target ass...
const MCRegisterInfo & MRI
Instances of this class represent a single low-level machine instruction.
Interface to description of machine instruction set.
MCRegisterInfo base class - We assume that the target defines a static array of MCRegisterDesc object...
Wrapper class representing physical registers. Should be passed by value.
Generic base class for all target subtargets.
StringRef - Represent a constant reference to a string, i.e.
This class implements an extremely fast bulk output stream that can only output to a stream.
This is an optimization pass for GlobalISel generic memory operations.