LLVM 20.0.0git
|
#include "Target/SystemZ/MCTargetDesc/SystemZInstPrinterCommon.h"
Additional Inherited Members | |
Public Types inherited from llvm::MCInstPrinter | |
enum class | Markup { Immediate , Register , Target , Memory } |
Protected Attributes inherited from llvm::MCInstPrinter | |
raw_ostream * | CommentStream = nullptr |
A stream that comments can be emitted to if desired. | |
const MCAsmInfo & | MAI |
const MCInstrInfo & | MII |
const MCRegisterInfo & | MRI |
const MCInstrAnalysis * | MIA = nullptr |
bool | UseMarkup = false |
True if we are printing marked up assembly. | |
bool | UseColor = false |
True if we are printing colored assembly. | |
bool | PrintAliases = true |
True if we prefer aliases (e.g. nop) to raw mnemonics. | |
bool | PrintImmHex = false |
True if we are printing immediates as hex. | |
HexStyle::Style | PrintHexStyle = HexStyle::C |
Which style to use for printing hexadecimal values. | |
bool | PrintBranchImmAsAddress = false |
If true, a branch immediate (e.g. | |
bool | SymbolizeOperands = false |
If true, symbolize branch target and memory reference operands. | |
SmallVector< raw_ostream::Colors, 4 > | ColorStack {raw_ostream::Colors::RESET} |
Definition at line 25 of file SystemZInstPrinterCommon.h.
|
inline |
Definition at line 27 of file SystemZInstPrinterCommon.h.
void SystemZInstPrinterCommon::printAddress | ( | const MCAsmInfo * | MAI, |
MCRegister | Base, | ||
const MCOperand & | DispMO, | ||
MCRegister | Index, | ||
raw_ostream & | O | ||
) |
Definition at line 25 of file SystemZInstPrinterCommon.cpp.
References llvm::sampleprof::Base, llvm::MCInstPrinter::MAI, printOperand(), and printRegName().
Referenced by printBDAddrOperand(), printBDVAddrOperand(), and printBDXAddrOperand().
|
protected |
Definition at line 190 of file SystemZInstPrinterCommon.cpp.
References llvm::MCInstPrinter::MAI, MI, and printAddress().
|
protected |
Definition at line 202 of file SystemZInstPrinterCommon.cpp.
References llvm::sampleprof::Base, llvm::Length, llvm::MCInstPrinter::MAI, MI, printOperand(), and printRegName().
|
protected |
Definition at line 216 of file SystemZInstPrinterCommon.cpp.
References llvm::sampleprof::Base, llvm::Length, llvm::MCInstPrinter::MAI, MI, printOperand(), and printRegName().
|
protected |
Definition at line 231 of file SystemZInstPrinterCommon.cpp.
References llvm::MCInstPrinter::MAI, MI, and printAddress().
|
protected |
Definition at line 196 of file SystemZInstPrinterCommon.cpp.
References llvm::MCInstPrinter::MAI, MI, and printAddress().
|
protected |
Definition at line 237 of file SystemZInstPrinterCommon.cpp.
|
inlinevirtual |
Definition at line 38 of file SystemZInstPrinterCommon.h.
Referenced by printRegName().
|
protected |
Definition at line 185 of file SystemZInstPrinterCommon.cpp.
References llvm::MCInstPrinter::MAI, MI, and printOperand().
|
inlineprotected |
Definition at line 52 of file SystemZInstPrinterCommon.h.
References MI, and printOperand().
void SystemZInstPrinterCommon::printOperand | ( | const MCOperand & | MO, |
const MCAsmInfo * | MAI, | ||
raw_ostream & | O | ||
) |
Definition at line 44 of file SystemZInstPrinterCommon.cpp.
References llvm::MCOperand::getExpr(), llvm::MCOperand::getImm(), llvm::MCOperand::getReg(), llvm::MCInstPrinter::Immediate, llvm::MCOperand::isExpr(), llvm::MCOperand::isImm(), llvm::MCOperand::isReg(), llvm_unreachable, llvm::MCInstPrinter::MAI, llvm::MCInstPrinter::markup(), llvm::MCExpr::print(), and printRegName().
Referenced by printAddress(), printBDLAddrOperand(), printBDRAddrOperand(), and printOperand().
|
protected |
Definition at line 150 of file SystemZInstPrinterCommon.cpp.
References llvm::MCOperand::getExpr(), llvm::MCOperand::getImm(), llvm::MCInstPrinter::Immediate, llvm::MCOperand::isImm(), llvm::MCInstPrinter::MAI, llvm::MCInstPrinter::markup(), MI, and llvm::MCExpr::print().
Referenced by printPCRelOperand(), and printPCRelTLSOperand().
|
inlineprotected |
Definition at line 74 of file SystemZInstPrinterCommon.h.
References MI, and printPCRelOperand().
|
protected |
Definition at line 161 of file SystemZInstPrinterCommon.cpp.
References llvm::MCOperand::getExpr(), llvm::MCSymbolRefExpr::getKind(), llvm::MCSymbol::getName(), llvm::MCSymbolRefExpr::getSymbol(), llvm_unreachable, MI, printPCRelOperand(), llvm::MCSymbolRefExpr::VK_TLSGD, and llvm::MCSymbolRefExpr::VK_TLSLDM.
|
overridevirtual |
Print the assembler register name.
Reimplemented from llvm::MCInstPrinter.
Definition at line 60 of file SystemZInstPrinterCommon.cpp.
References llvm::MCInstPrinter::MAI, and printFormattedRegName().
Referenced by printAddress(), printBDLAddrOperand(), printBDRAddrOperand(), and printOperand().
|
protected |
Definition at line 125 of file SystemZInstPrinterCommon.cpp.
References MI.
|
protected |
Definition at line 135 of file SystemZInstPrinterCommon.cpp.
References MI.
|
protected |
Definition at line 110 of file SystemZInstPrinterCommon.cpp.
References MI.
|
protected |
Definition at line 78 of file SystemZInstPrinterCommon.cpp.
References assert(), llvm::MCOperand::getExpr(), llvm::MCInstPrinter::Immediate, llvm::MCOperand::isExpr(), llvm::MCInstPrinter::markup(), and MI.
|
protected |
Definition at line 120 of file SystemZInstPrinterCommon.cpp.
References MI.
|
protected |
Definition at line 130 of file SystemZInstPrinterCommon.cpp.
References MI.
|
protected |
Definition at line 90 of file SystemZInstPrinterCommon.cpp.
References MI.
|
protected |
Definition at line 95 of file SystemZInstPrinterCommon.cpp.
References MI.
|
protected |
Definition at line 140 of file SystemZInstPrinterCommon.cpp.
References MI.
|
protected |
Definition at line 100 of file SystemZInstPrinterCommon.cpp.
References MI.
|
protected |
Definition at line 145 of file SystemZInstPrinterCommon.cpp.
References MI.
|
protected |
Definition at line 105 of file SystemZInstPrinterCommon.cpp.
References MI.
|
protected |
Definition at line 115 of file SystemZInstPrinterCommon.cpp.
References MI.
|
protected |
Definition at line 65 of file SystemZInstPrinterCommon.cpp.
References assert(), llvm::MCOperand::getExpr(), llvm::MCOperand::getImm(), llvm::MCInstPrinter::Immediate, llvm::MCOperand::isExpr(), llvm::MCInstPrinter::markup(), and MI.