LLVM
8.0.1
|
#include "Target/XCore/InstPrinter/XCoreInstPrinter.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 24 of file XCoreInstPrinter.h.
|
inline |
Definition at line 26 of file XCoreInstPrinter.h.
References getRegisterName(), MI, llvm::RISCVFenceField::O, printInst(), printInstruction(), and printRegName().
Referenced by printRegName(), and XCoreInstPrinter().
|
overridevirtual |
Print the specified MCInst to the specified raw_ostream.
Implements llvm::MCInstPrinter.
Definition at line 34 of file XCoreInstPrinter.cpp.
References MI, llvm::RISCVFenceField::O, llvm::MCInstPrinter::printAnnotation(), printInstruction(), and llvm::report_fatal_error().
Referenced by XCoreInstPrinter().
void llvm::XCoreInstPrinter::printInstruction | ( | const MCInst * | MI, |
raw_ostream & | O | ||
) |
Referenced by printInst(), and XCoreInstPrinter().
|
overridevirtual |
Print the assembler register name.
Reimplemented from llvm::MCInstPrinter.
Definition at line 30 of file XCoreInstPrinter.cpp.
References getRegisterName(), and llvm::StringRef::lower().
Referenced by printExpr(), and XCoreInstPrinter().