LLVM API Documentation

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

#include <MipsInstPrinter.h>

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

List of all members.

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)

Detailed Description

Definition at line 78 of file MipsInstPrinter.h.


Constructor & Destructor Documentation

Definition at line 80 of file MipsInstPrinter.h.


Member Function Documentation

static const char* llvm::MipsInstPrinter::getRegisterName ( unsigned  RegNo) [static]

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

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


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