LLVM API Documentation

Public Member Functions | Static Public Member Functions
llvm::XCoreInstPrinter Class Reference

#include <XCoreInstPrinter.h>

Inheritance diagram for llvm::XCoreInstPrinter:
Inheritance graph
[legend]
Collaboration diagram for llvm::XCoreInstPrinter:
Collaboration graph
[legend]

List of all members.

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)

Detailed Description

Definition at line 24 of file XCoreInstPrinter.h.


Constructor & Destructor Documentation

Definition at line 26 of file XCoreInstPrinter.h.


Member Function Documentation

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().

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().


The documentation for this class was generated from the following files: