LLVM
8.0.1
|
#include "Target/MSP430/InstPrinter/MSP430InstPrinter.h"
Static Public Member Functions | |
static const char * | getRegisterName (unsigned RegNo) |
Additional Inherited Members | |
Protected Member Functions inherited from llvm::MCInstPrinter | |
void | printAnnotation (raw_ostream &OS, StringRef Annot) |
Utility function for printing annotations. More... | |
Protected Attributes inherited from llvm::MCInstPrinter | |
raw_ostream * | CommentStream = nullptr |
A stream that comments can be emitted to if desired. More... | |
const MCAsmInfo & | MAI |
const MCInstrInfo & | MII |
const MCRegisterInfo & | MRI |
bool | UseMarkup = false |
True if we are printing marked up assembly. More... | |
bool | PrintImmHex = false |
True if we are printing immediates as hex. More... | |
HexStyle::Style | PrintHexStyle = HexStyle::C |
Which style to use for printing hexadecimal values. More... | |
Definition at line 20 of file MSP430InstPrinter.h.
|
inline |
Definition at line 22 of file MSP430InstPrinter.h.
References getRegisterName(), MI, llvm::RISCVFenceField::O, printAliasInstr(), printCustomAliasOperand(), printInst(), and printInstruction().
Referenced by MSP430InstPrinter(), and printInst().
bool llvm::MSP430InstPrinter::printAliasInstr | ( | const MCInst * | MI, |
raw_ostream & | O | ||
) |
Referenced by MSP430InstPrinter(), and printInst().
void llvm::MSP430InstPrinter::printCustomAliasOperand | ( | const MCInst * | MI, |
unsigned | OpIdx, | ||
unsigned | PrintMethodIdx, | ||
raw_ostream & | O | ||
) |
Referenced by MSP430InstPrinter().
|
overridevirtual |
Print the specified MCInst to the specified raw_ostream.
Implements llvm::MCInstPrinter.
Definition at line 30 of file MSP430InstPrinter.cpp.
References assert(), MSP430CC::COND_E, MSP430CC::COND_GE, MSP430CC::COND_HS, MSP430CC::COND_L, MSP430CC::COND_LO, MSP430CC::COND_N, MSP430CC::COND_NE, llvm::MCOperand::getExpr(), llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), getRegisterName(), llvm::MCOperand::isExpr(), llvm::MCOperand::isImm(), llvm::MCOperand::isReg(), llvm_unreachable, llvm::MCInstPrinter::MAI, MI, llvm::RISCVFenceField::O, llvm::MCExpr::print(), printAliasInstr(), llvm::MCInstPrinter::printAnnotation(), and printInstruction().
Referenced by MSP430InstPrinter().
void llvm::MSP430InstPrinter::printInstruction | ( | const MCInst * | MI, |
raw_ostream & | O | ||
) |
Referenced by MSP430InstPrinter(), and printInst().