12 #ifndef LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUINSTPRINTER_H 13 #define LLVM_LIB_TARGET_AMDGPU_MCTARGETDESC_AMDGPUINSTPRINTER_H 36 void printU4ImmOperand(
const MCInst *MI,
unsigned OpNo,
39 void printU16ImmOperand(
const MCInst *MI,
unsigned OpNo,
44 void printU32ImmOperand(
const MCInst *MI,
unsigned OpNo,
61 void printSMRDOffset8(
const MCInst *MI,
unsigned OpNo,
63 void printSMRDOffset20(
const MCInst *MI,
unsigned OpNo,
65 void printSMRDLiteralOffset(
const MCInst *MI,
unsigned OpNo,
89 void printLWE(
const MCInst *MI,
unsigned OpNo,
91 void printD16(
const MCInst *MI,
unsigned OpNo,
93 void printExpCompr(
const MCInst *MI,
unsigned OpNo,
95 void printExpVM(
const MCInst *MI,
unsigned OpNo,
97 void printFORMAT(
const MCInst *MI,
unsigned OpNo,
115 void printOperandAndFPInputMods(
const MCInst *MI,
unsigned OpNo,
117 void printOperandAndIntInputMods(
const MCInst *MI,
unsigned OpNo,
125 void printBankMask(
const MCInst *MI,
unsigned OpNo,
127 void printBoundCtrl(
const MCInst *MI,
unsigned OpNo,
129 void printFI(
const MCInst *MI,
unsigned OpNo,
132 void printSDWADstSel(
const MCInst *MI,
unsigned OpNo,
134 void printSDWASrc0Sel(
const MCInst *MI,
unsigned OpNo,
136 void printSDWASrc1Sel(
const MCInst *MI,
unsigned OpNo,
138 void printSDWADstUnused(
const MCInst *MI,
unsigned OpNo,
142 void printOpSel(
const MCInst *MI,
unsigned OpNo,
144 void printOpSelHi(
const MCInst *MI,
unsigned OpNo,
146 void printNegLo(
const MCInst *MI,
unsigned OpNo,
148 void printNegHi(
const MCInst *MI,
unsigned OpNo,
150 void printInterpSlot(
const MCInst *MI,
unsigned OpNo,
152 void printInterpAttr(
const MCInst *MI,
unsigned OpNo,
154 void printInterpAttrChan(
const MCInst *MI,
unsigned OpNo,
157 void printVGPRIndexMode(
const MCInst *MI,
unsigned OpNo,
159 void printMemOperand(
const MCInst *MI,
unsigned OpNo,
171 template <
unsigned N>
172 void printExpSrcN(
const MCInst *MI,
unsigned OpNo,
174 void printExpSrc0(
const MCInst *MI,
unsigned OpNo,
176 void printExpSrc1(
const MCInst *MI,
unsigned OpNo,
178 void printExpSrc2(
const MCInst *MI,
unsigned OpNo,
180 void printExpSrc3(
const MCInst *MI,
unsigned OpNo,
182 void printExpTgt(
const MCInst *MI,
unsigned OpNo,
This class represents lattice values for constants.
amdgpu Simplify well known AMD library false FunctionCallee Value const Twine & Name
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.
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)
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 printEndpgm(const MCInst *MI, unsigned OpNo, const MCSubtargetInfo &STI, raw_ostream &O)
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)
void printInstruction(const MCInst *MI, uint64_t Address, 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)
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)
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