LLVM
8.0.1
|
#include "Target/SystemZ/InstPrinter/SystemZInstPrinter.h"
Static Public Member Functions | |
static const char * | getRegisterName (unsigned RegNo) |
static void | printAddress (unsigned Base, int64_t Disp, unsigned Index, raw_ostream &O) |
static void | printOperand (const MCOperand &MO, const MCAsmInfo *MAI, raw_ostream &O) |
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 SystemZInstPrinter.h.
|
inline |
Definition at line 26 of file SystemZInstPrinter.h.
References getRegisterName(), llvm::MCInstPrinter::MAI, MI, llvm::RISCVFenceField::O, printAddress(), printInst(), printInstruction(), printOperand(), and printRegName().
Referenced by printAddress(), printMCExpr(), printOperand(), printRegName(), printSImmOperand(), and SystemZInstPrinter().
|
static |
Definition at line 27 of file SystemZInstPrinter.cpp.
References getRegisterName().
Referenced by llvm::SystemZAsmPrinter::PrintAsmMemoryOperand(), printSImmOperand(), and SystemZInstPrinter().
|
overridevirtual |
Print the specified MCInst to the specified raw_ostream.
Implements llvm::MCInstPrinter.
Definition at line 55 of file SystemZInstPrinter.cpp.
References llvm::MCInstPrinter::printAnnotation(), and printInstruction().
Referenced by SystemZInstPrinter().
void llvm::SystemZInstPrinter::printInstruction | ( | const MCInst * | MI, |
raw_ostream & | O | ||
) |
Referenced by printInst(), and SystemZInstPrinter().
|
static |
Definition at line 43 of file SystemZInstPrinter.cpp.
References llvm::MCOperand::getExpr(), llvm::MCOperand::getImm(), llvm::MCOperand::getReg(), getRegisterName(), llvm::MCOperand::isExpr(), llvm::MCOperand::isImm(), llvm::MCOperand::isReg(), llvm_unreachable, and llvm::MCExpr::print().
Referenced by llvm::SystemZAsmPrinter::PrintAsmOperand(), printSImmOperand(), and SystemZInstPrinter().
|
overridevirtual |
Print the assembler register name.
Reimplemented from llvm::MCInstPrinter.
Definition at line 62 of file SystemZInstPrinter.cpp.
References getRegisterName().
Referenced by SystemZInstPrinter().