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

Detailed Description

Definition at line 78 of file MipsInstPrinter.h.


Constructor & Destructor Documentation

llvm::MipsInstPrinter::MipsInstPrinter ( const MCAsmInfo MAI,
const MCInstrInfo MII,
const MCRegisterInfo MRI 
) [inline]

Definition at line 80 of file MipsInstPrinter.h.


Member Function Documentation

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


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