LLVM API Documentation
#include <MipsInstPrinter.h>
Public Member Functions | |
MipsInstPrinter (const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI) | |
void | printInstruction (const MCInst *MI, raw_ostream &O) |
void | printRegName (raw_ostream &OS, unsigned RegNo) const override |
printRegName - Print the assembler register name. | |
void | printInst (const MCInst *MI, raw_ostream &O, StringRef Annot) override |
bool | printAliasInstr (const MCInst *MI, raw_ostream &OS) |
void | printCustomAliasOperand (const MCInst *MI, unsigned OpIdx, unsigned PrintMethodIdx, raw_ostream &O) |
Static Public Member Functions | |
static const char * | getRegisterName (unsigned RegNo) |
Definition at line 78 of file MipsInstPrinter.h.
llvm::MipsInstPrinter::MipsInstPrinter | ( | const MCAsmInfo & | MAI, |
const MCInstrInfo & | MII, | ||
const MCRegisterInfo & | MRI | ||
) | [inline] |
Definition at line 80 of file MipsInstPrinter.h.
static const char* llvm::MipsInstPrinter::getRegisterName | ( | unsigned | RegNo | ) | [static] |
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveCpload(), llvm::MipsTargetAsmStreamer::emitDirectiveCpsetup(), llvm::MipsTargetAsmStreamer::emitFrame(), llvm::MipsAsmPrinter::PrintAsmMemoryOperand(), llvm::MipsAsmPrinter::PrintAsmOperand(), llvm::MipsAsmPrinter::printOperand(), and printRegName().
bool llvm::MipsInstPrinter::printAliasInstr | ( | const MCInst * | MI, |
raw_ostream & | OS | ||
) |
Referenced by printInst().
void llvm::MipsInstPrinter::printCustomAliasOperand | ( | const MCInst * | MI, |
unsigned | OpIdx, | ||
unsigned | PrintMethodIdx, | ||
raw_ostream & | O | ||
) |
void MipsInstPrinter::printInst | ( | const MCInst * | MI, |
raw_ostream & | OS, | ||
StringRef | Annot | ||
) | [override, virtual] |
printInst - Print the specified MCInst to the specified raw_ostream.
Implements llvm::MCInstPrinter.
Definition at line 79 of file MipsInstPrinter.cpp.
References llvm::MCInst::getOpcode(), printAliasInstr(), llvm::MCInstPrinter::printAnnotation(), and printInstruction().
void llvm::MipsInstPrinter::printInstruction | ( | const MCInst * | MI, |
raw_ostream & | O | ||
) |
Referenced by printInst().
void MipsInstPrinter::printRegName | ( | raw_ostream & | OS, |
unsigned | RegNo | ||
) | const [override, virtual] |
printRegName - Print the assembler register name.
Reimplemented from llvm::MCInstPrinter.
Definition at line 75 of file MipsInstPrinter.cpp.
References getRegisterName(), and llvm::StringRef::lower().