13 #ifndef LLVM_LIB_TARGET_AMDGPU_INSTPRINTER_AMDGPUINSTPRINTER_H 14 #define LLVM_LIB_TARGET_AMDGPU_INSTPRINTER_AMDGPUINSTPRINTER_H 37 void printU4ImmOperand(
const MCInst *MI,
unsigned OpNo,
40 void printU16ImmOperand(
const MCInst *MI,
unsigned OpNo,
46 void printU32ImmOperand(
const MCInst *MI,
unsigned OpNo,
63 void printSMRDOffset8(
const MCInst *MI,
unsigned OpNo,
65 void printSMRDOffset20(
const MCInst *MI,
unsigned OpNo,
67 void printSMRDLiteralOffset(
const MCInst *MI,
unsigned OpNo,
85 void printLWE(
const MCInst *MI,
unsigned OpNo,
87 void printD16(
const MCInst *MI,
unsigned OpNo,
89 void printExpCompr(
const MCInst *MI,
unsigned OpNo,
91 void printExpVM(
const MCInst *MI,
unsigned OpNo,
93 void printFORMAT(
const MCInst *MI,
unsigned OpNo,
111 void printOperandAndFPInputMods(
const MCInst *MI,
unsigned OpNo,
113 void printOperandAndIntInputMods(
const MCInst *MI,
unsigned OpNo,
119 void printBankMask(
const MCInst *MI,
unsigned OpNo,
121 void printBoundCtrl(
const MCInst *MI,
unsigned OpNo,
124 void printSDWADstSel(
const MCInst *MI,
unsigned OpNo,
126 void printSDWASrc0Sel(
const MCInst *MI,
unsigned OpNo,
128 void printSDWASrc1Sel(
const MCInst *MI,
unsigned OpNo,
130 void printSDWADstUnused(
const MCInst *MI,
unsigned OpNo,
134 void printOpSel(
const MCInst *MI,
unsigned OpNo,
136 void printOpSelHi(
const MCInst *MI,
unsigned OpNo,
138 void printNegLo(
const MCInst *MI,
unsigned OpNo,
140 void printNegHi(
const MCInst *MI,
unsigned OpNo,
142 void printInterpSlot(
const MCInst *MI,
unsigned OpNo,
144 void printInterpAttr(
const MCInst *MI,
unsigned OpNo,
146 void printInterpAttrChan(
const MCInst *MI,
unsigned OpNo,
149 void printVGPRIndexMode(
const MCInst *MI,
unsigned OpNo,
151 void printMemOperand(
const MCInst *MI,
unsigned OpNo,
155 template <
unsigned N>
156 void printExpSrcN(
const MCInst *MI,
unsigned OpNo,
158 void printExpSrc0(
const MCInst *MI,
unsigned OpNo,
160 void printExpSrc1(
const MCInst *MI,
unsigned OpNo,
162 void printExpSrc2(
const MCInst *MI,
unsigned OpNo,
164 void printExpSrc3(
const MCInst *MI,
unsigned OpNo,
166 void printExpTgt(
const MCInst *MI,
unsigned OpNo,
This class represents lattice values for constants.
static void printIfSet(const MCInst *MI, unsigned OpNo, raw_ostream &O, StringRef Asm, StringRef Default="")
void printWaitFlag(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI, raw_ostream &O)
amdgpu Simplify well known AMD library false Value Value const Twine & Name
void printAbs(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI, raw_ostream &O)
static void printRegOperand(unsigned RegNo, raw_ostream &O, const MCRegisterInfo &MRI)
void printOModSI(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI, raw_ostream &O)
void printClamp(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI, raw_ostream &O)
AMDGPUInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI)
static const char * getRegisterName(unsigned RegNo)
void printUpdateExecMask(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI, raw_ostream &O)
void printCT(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI, raw_ostream &O)
Instances of this class represent a single low-level machine instruction.
void printBankSwizzle(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI, raw_ostream &O)
MCRegisterInfo base class - We assume that the target defines a static array of MCRegisterDesc object...
This class is intended to be used as a base class for asm properties and features specific to the tar...
void printWrite(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI, raw_ostream &O)
void printHwreg(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI, raw_ostream &O)
Interface to description of machine instruction set.
void printLiteral(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI, raw_ostream &O)
void printClampSI(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI, raw_ostream &O)
R600InstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI)
void printUpdatePred(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI, raw_ostream &O)
void printNeg(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI, raw_ostream &O)
void printRSel(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI, raw_ostream &O)
The access may modify the value stored in memory.
void printSwizzle(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI, raw_ostream &O)
void printInstruction(const MCInst *MI, const MCSubtargetInfo &STI, raw_ostream &O)
This is an instance of a target assembly language printer that converts an MCInst to valid target ass...
void printOMOD(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI, raw_ostream &O)
void printKCache(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI, raw_ostream &O)
void printInst(const MCInst *MI, raw_ostream &O, StringRef Annot, const MCSubtargetInfo &STI) override
Print the specified MCInst to the specified raw_ostream.
Generic base class for all target subtargets.
This class implements an extremely fast bulk output stream that can only output to a stream...
void printHigh(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI, raw_ostream &O)
StringRef - Represent a constant reference to a string, i.e.
void printLast(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI, raw_ostream &O)
void printRel(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI, raw_ostream &O)
void printSendMsg(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI, raw_ostream &O)
const MCRegisterInfo & MRI