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) |
| virtual void | printRegName (raw_ostream &OS, unsigned RegNo) const |
| printRegName - Print the assembler register name. | |
| virtual void | printInst (const MCInst *MI, raw_ostream &O, StringRef Annot) |
| void | printCPURegs (const MCInst *MI, unsigned OpNo, raw_ostream &O) |
| bool | printAliasInstr (const MCInst *MI, raw_ostream &OS) |
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] |
| bool llvm::MipsInstPrinter::printAliasInstr | ( | const MCInst * | MI, |
| raw_ostream & | OS | ||
| ) |
Referenced by printInst().
| void MipsInstPrinter::printCPURegs | ( | const MCInst * | MI, |
| unsigned | OpNo, | ||
| raw_ostream & | O | ||
| ) |
Definition at line 155 of file MipsInstPrinter.cpp.
References llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), and printRegName().
| void MipsInstPrinter::printInst | ( | const MCInst * | MI, |
| raw_ostream & | OS, | ||
| StringRef | Annot | ||
| ) | [virtual] |
printInst - Print the specified MCInst to the specified raw_ostream.
Implements llvm::MCInstPrinter.
Definition at line 71 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 [virtual] |
printRegName - Print the assembler register name.
Reimplemented from llvm::MCInstPrinter.
Definition at line 67 of file MipsInstPrinter.cpp.
References getRegisterName(), and llvm::StringRef::lower().
Referenced by printCPURegs().