Go to the documentation of this file.
13 #ifndef LLVM_LIB_TARGET_VE_INSTPRINTER_VEINSTPRINTER_H
14 #define LLVM_LIB_TARGET_VE_INSTPRINTER_VEINSTPRINTER_H
38 unsigned AltIdx = VE::NoRegAltName);
44 const char *Modifier =
nullptr);
47 const char *Modifier =
nullptr);
50 const char *Modifier =
nullptr);
53 const char *Modifier =
nullptr);
VEInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI)
This is an optimization pass for GlobalISel generic memory operations.
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 printMemASXOperand(const MCInst *MI, int OpNum, const MCSubtargetInfo &STI, raw_ostream &OS, const char *Modifier=nullptr)
This class is intended to be used as a base class for asm properties and features specific to the tar...
void printInstruction(const MCInst *, uint64_t, const MCSubtargetInfo &, raw_ostream &)
void printInst(const MCInst *MI, uint64_t Address, StringRef Annot, const MCSubtargetInfo &STI, raw_ostream &OS) override
Print the specified MCInst to the specified raw_ostream.
Reg
All possible values of the reg field in the ModR/M byte.
bool printAliasInstr(const MCInst *, uint64_t Address, const MCSubtargetInfo &, raw_ostream &)
Instances of this class represent a single low-level machine instruction.
void printOperand(const MCInst *MI, int OpNum, const MCSubtargetInfo &STI, raw_ostream &OS)
const MCRegisterInfo & MRI
static const char * getRegisterName(MCRegister Reg, unsigned AltIdx=VE::NoRegAltName)
void printMImmOperand(const MCInst *MI, int OpNum, const MCSubtargetInfo &STI, raw_ostream &OS)
This class implements an extremely fast bulk output stream that can only output to a stream.
void printCCOperand(const MCInst *MI, int OpNum, const MCSubtargetInfo &STI, raw_ostream &OS)
This is an instance of a target assembly language printer that converts an MCInst to valid target ass...
void printRDOperand(const MCInst *MI, int OpNum, const MCSubtargetInfo &STI, raw_ostream &OS)
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...
void printMemASOperandRRM(const MCInst *MI, int OpNum, const MCSubtargetInfo &STI, raw_ostream &OS, const char *Modifier=nullptr)
void printMemASOperandASX(const MCInst *MI, int OpNum, const MCSubtargetInfo &STI, raw_ostream &OS, const char *Modifier=nullptr)
Interface to description of machine instruction set.
void printMemASOperandHM(const MCInst *MI, int OpNum, const MCSubtargetInfo &STI, raw_ostream &OS, const char *Modifier=nullptr)
void printRegName(raw_ostream &OS, MCRegister Reg) const override
Print the assembler register name.
Generic base class for all target subtargets.
Wrapper class representing physical registers. Should be passed by value.