LLVM API Documentation
#include <MBlazeInstPrinter.h>


Public Member Functions | |
| MBlazeInstPrinter (const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI) | |
| virtual void | printInst (const MCInst *MI, raw_ostream &O, StringRef Annot) |
| void | printInstruction (const MCInst *MI, raw_ostream &O) |
| void | printOperand (const MCInst *MI, unsigned OpNo, raw_ostream &O, const char *Modifier=0) |
| void | printFSLImm (const MCInst *MI, int OpNo, raw_ostream &O) |
| void | printUnsignedImm (const MCInst *MI, int OpNo, raw_ostream &O) |
| void | printMemOperand (const MCInst *MI, int OpNo, raw_ostream &O, const char *Modifier=0) |
Static Public Member Functions | |
| static const char * | getRegisterName (unsigned RegNo) |
Definition at line 22 of file MBlazeInstPrinter.h.
| llvm::MBlazeInstPrinter::MBlazeInstPrinter | ( | const MCAsmInfo & | MAI, |
| const MCInstrInfo & | MII, | ||
| const MCRegisterInfo & | MRI | ||
| ) | [inline] |
Definition at line 24 of file MBlazeInstPrinter.h.
| static const char* llvm::MBlazeInstPrinter::getRegisterName | ( | unsigned | RegNo | ) | [static] |
Referenced by printOperand().
| void MBlazeInstPrinter::printFSLImm | ( | const MCInst * | MI, |
| int | OpNo, | ||
| raw_ostream & | O | ||
| ) |
Definition at line 48 of file MBlazeInstPrinter.cpp.
References llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::MCOperand::isImm(), and printOperand().
| void MBlazeInstPrinter::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 28 of file MBlazeInstPrinter.cpp.
References llvm::MCInstPrinter::printAnnotation(), and printInstruction().
| void llvm::MBlazeInstPrinter::printInstruction | ( | const MCInst * | MI, |
| raw_ostream & | O | ||
| ) |
Referenced by printInst().
| void MBlazeInstPrinter::printMemOperand | ( | const MCInst * | MI, |
| int | OpNo, | ||
| raw_ostream & | O, | ||
| const char * | Modifier = 0 |
||
| ) |
Definition at line 66 of file MBlazeInstPrinter.cpp.
References printOperand().
| void MBlazeInstPrinter::printOperand | ( | const MCInst * | MI, |
| unsigned | OpNo, | ||
| raw_ostream & | O, | ||
| const char * | Modifier = 0 |
||
| ) |
Definition at line 34 of file MBlazeInstPrinter.cpp.
References llvm::MCOperand::getExpr(), llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), getRegisterName(), llvm::MCOperand::isExpr(), llvm::MCOperand::isImm(), and llvm::MCOperand::isReg().
Referenced by printFSLImm(), printMemOperand(), and printUnsignedImm().
| void MBlazeInstPrinter::printUnsignedImm | ( | const MCInst * | MI, |
| int | OpNo, | ||
| raw_ostream & | O | ||
| ) |
Definition at line 57 of file MBlazeInstPrinter.cpp.
References llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::MCOperand::isImm(), and printOperand().