LLVM API Documentation
#include <XCoreInstPrinter.h>


Public Member Functions | |
| XCoreInstPrinter (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 |
Static Public Member Functions | |
| static const char * | getRegisterName (unsigned RegNo) |
Definition at line 24 of file XCoreInstPrinter.h.
| llvm::XCoreInstPrinter::XCoreInstPrinter | ( | const MCAsmInfo & | MAI, |
| const MCInstrInfo & | MII, | ||
| const MCRegisterInfo & | MRI | ||
| ) | [inline] |
Definition at line 26 of file XCoreInstPrinter.h.
| static const char* llvm::XCoreInstPrinter::getRegisterName | ( | unsigned | RegNo | ) | [static] |
Referenced by printRegName().
| void XCoreInstPrinter::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 32 of file XCoreInstPrinter.cpp.
References llvm::MCInstPrinter::printAnnotation(), and printInstruction().
| void llvm::XCoreInstPrinter::printInstruction | ( | const MCInst * | MI, |
| raw_ostream & | O | ||
| ) |
Referenced by printInst().
| void XCoreInstPrinter::printRegName | ( | raw_ostream & | OS, |
| unsigned | RegNo | ||
| ) | const [override, virtual] |
printRegName - Print the assembler register name.
Reimplemented from llvm::MCInstPrinter.
Definition at line 28 of file XCoreInstPrinter.cpp.
References getRegisterName(), and llvm::StringRef::lower().