14#ifndef LLVM_LIB_TARGET_M68K_INSTPRINTER_M68KINSTPRINTER_H
15#define LLVM_LIB_TARGET_M68K_INSTPRINTER_M68KINSTPRINTER_H
63 printAbsMem(
MI, opNum, O);
69 void printARI16Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &O) {
72 void printARI32Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &O) {
76 void printARIPI8Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &O) {
79 void printARIPI16Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &O) {
82 void printARIPI32Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &O) {
86 void printARIPD8Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &O) {
89 void printARIPD16Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &O) {
92 void printARIPD32Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &O) {
96 void printARID8Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &O) {
99 void printARID16Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &O) {
102 void printARID32Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &O) {
106 void printARII8Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &O) {
109 void printARII16Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &O) {
112 void printARII32Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &O) {
116 void printAS8Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &O) {
117 printAbsMem(
MI, opNum, O);
119 void printAS16Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &O) {
120 printAbsMem(
MI, opNum, O);
122 void printAS32Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &O) {
123 printAbsMem(
MI, opNum, O);
126 void printAL8Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &O) {
127 printAbsMem(
MI, opNum, O);
129 void printAL16Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &O) {
130 printAbsMem(
MI, opNum, O);
132 void printAL32Mem(
const MCInst *
MI,
unsigned opNum, raw_ostream &O) {
133 printAbsMem(
MI, opNum, O);
This file contains memory operand printing logics shared between AsmPrinter.
static bool printOperand(raw_ostream &OS, const SelectionDAG *G, const SDValue Value)
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)
void printARIDMem(const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printPCDMem(const MCInst *MI, uint64_t Address, unsigned OpNum, raw_ostream &O)
void printPCIMem(const MCInst *MI, uint64_t Address, unsigned OpNum, raw_ostream &O)
void printARIPDMem(const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printARIPIMem(const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printARIIMem(const MCInst *MI, unsigned OpNum, raw_ostream &O)
void printARIMem(const MCInst *MI, unsigned OpNum, raw_ostream &O)
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.