|
LLVM
7.0.0
|
#include "Target/X86/InstPrinter/X86IntelInstPrinter.h"
Static Public Member Functions | |
| static const char * | getRegisterName (unsigned RegNo) |
Additional Inherited Members | |
Protected Member Functions inherited from llvm::X86InstPrinterCommon | |
| void | printInstFlags (const MCInst *MI, raw_ostream &O) |
| void | printOptionalSegReg (const MCInst *MI, unsigned OpNo, raw_ostream &O) |
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 22 of file X86IntelInstPrinter.h.
|
inline |
Definition at line 24 of file X86IntelInstPrinter.h.
References getRegisterName(), MI, llvm::RISCVFenceField::O, printDstIdx(), printInst(), printInstruction(), printMemOffset(), printMemReference(), printOperand(), printRegName(), printSrcIdx(), and printU8Imm().
Referenced by llvm::X86Operand::print(), printRegName(), and X86IntelInstPrinter().
|
inline |
Definition at line 43 of file X86IntelInstPrinter.h.
References printMemReference().
| void X86IntelInstPrinter::printDstIdx | ( | const MCInst * | MI, |
| unsigned | OpNo, | ||
| raw_ostream & | O | ||
| ) |
Definition at line 129 of file X86IntelInstPrinter.cpp.
References printOperand().
Referenced by printDstIdx16(), printDstIdx32(), printDstIdx64(), printDstIdx8(), and X86IntelInstPrinter().
|
inline |
Definition at line 125 of file X86IntelInstPrinter.h.
References printDstIdx().
|
inline |
Definition at line 129 of file X86IntelInstPrinter.h.
References printDstIdx().
|
inline |
Definition at line 133 of file X86IntelInstPrinter.h.
References printDstIdx().
|
inline |
Definition at line 121 of file X86IntelInstPrinter.h.
References printDstIdx().
|
inline |
Definition at line 91 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 95 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 79 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 99 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 83 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 87 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 67 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 55 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 71 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 59 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 75 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 63 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 51 of file X86IntelInstPrinter.h.
References printMemReference().
|
overridevirtual |
Print the specified MCInst to the specified raw_ostream.
Implements llvm::MCInstPrinter.
Definition at line 38 of file X86IntelInstPrinter.cpp.
References llvm::MCInstPrinter::CommentStream, llvm::EmitAnyX86InstComments(), llvm::MCSubtargetInfo::getFeatureBits(), llvm::MCInst::getOpcode(), llvm::MCInstPrinter::MII, llvm::MCInstPrinter::printAnnotation(), llvm::X86InstPrinterCommon::printInstFlags(), and printInstruction().
Referenced by X86IntelInstPrinter().
| void llvm::X86IntelInstPrinter::printInstruction | ( | const MCInst * | MI, |
| raw_ostream & | O | ||
| ) |
Referenced by printInst(), and X86IntelInstPrinter().
|
inline |
Definition at line 141 of file X86IntelInstPrinter.h.
References printMemOffset().
|
inline |
Definition at line 145 of file X86IntelInstPrinter.h.
References printMemOffset().
|
inline |
Definition at line 149 of file X86IntelInstPrinter.h.
References printMemOffset().
|
inline |
Definition at line 137 of file X86IntelInstPrinter.h.
References printMemOffset().
| void X86IntelInstPrinter::printMemOffset | ( | const MCInst * | MI, |
| unsigned | OpNo, | ||
| raw_ostream & | O | ||
| ) |
Definition at line 137 of file X86IntelInstPrinter.cpp.
References assert(), llvm::MCInstPrinter::formatImm(), llvm::MCOperand::getExpr(), llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::MCOperand::isExpr(), llvm::MCOperand::isImm(), llvm::MCInstPrinter::MAI, llvm::MCExpr::print(), and llvm::X86InstPrinterCommon::printOptionalSegReg().
Referenced by printMemOffs16(), printMemOffs32(), printMemOffs64(), printMemOffs8(), and X86IntelInstPrinter().
| void X86IntelInstPrinter::printMemReference | ( | const MCInst * | MI, |
| unsigned | Op, | ||
| raw_ostream & | O | ||
| ) |
Definition at line 72 of file X86IntelInstPrinter.cpp.
References llvm::X86::AddrBaseReg, llvm::X86::AddrDisp, llvm::X86::AddrIndexReg, llvm::X86::AddrScaleAmt, llvm::X86::AddrSegmentReg, assert(), llvm::MCInstPrinter::formatImm(), llvm::MCOperand::getExpr(), llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), llvm::MCOperand::isExpr(), llvm::MCOperand::isImm(), llvm::MCInstPrinter::MAI, llvm::MCExpr::print(), printOperand(), and llvm::X86InstPrinterCommon::printOptionalSegReg().
Referenced by printanymem(), printf128mem(), printf256mem(), printf32mem(), printf512mem(), printf64mem(), printf80mem(), printi128mem(), printi16mem(), printi256mem(), printi32mem(), printi512mem(), printi64mem(), printi8mem(), printopaquemem(), and X86IntelInstPrinter().
|
inline |
Definition at line 47 of file X86IntelInstPrinter.h.
References printMemReference().
|
overridevirtual |
Implements llvm::X86InstPrinterCommon.
Definition at line 58 of file X86IntelInstPrinter.cpp.
References assert(), llvm::MCInstPrinter::formatImm(), llvm::MCOperand::getExpr(), llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), llvm::MCOperand::isExpr(), llvm::MCOperand::isImm(), llvm::MCOperand::isReg(), llvm::MCInstPrinter::MAI, llvm::MCExpr::print(), and printRegName().
Referenced by printDstIdx(), printMemReference(), printSrcIdx(), and X86IntelInstPrinter().
|
overridevirtual |
Print the assembler register name.
Reimplemented from llvm::MCInstPrinter.
Definition at line 34 of file X86IntelInstPrinter.cpp.
References getRegisterName().
Referenced by printOperand(), and X86IntelInstPrinter().
| void X86IntelInstPrinter::printSrcIdx | ( | const MCInst * | MI, |
| unsigned | OpNo, | ||
| raw_ostream & | O | ||
| ) |
Definition at line 120 of file X86IntelInstPrinter.cpp.
References printOperand(), and llvm::X86InstPrinterCommon::printOptionalSegReg().
Referenced by printSrcIdx16(), printSrcIdx32(), printSrcIdx64(), printSrcIdx8(), and X86IntelInstPrinter().
|
inline |
Definition at line 109 of file X86IntelInstPrinter.h.
References printSrcIdx().
|
inline |
Definition at line 113 of file X86IntelInstPrinter.h.
References printSrcIdx().
|
inline |
Definition at line 117 of file X86IntelInstPrinter.h.
References printSrcIdx().
|
inline |
Definition at line 105 of file X86IntelInstPrinter.h.
References printSrcIdx().
| void X86IntelInstPrinter::printU8Imm | ( | const MCInst * | MI, |
| unsigned | Op, | ||
| raw_ostream & | O | ||
| ) |
Definition at line 156 of file X86IntelInstPrinter.cpp.
References llvm::MCInstPrinter::formatImm(), llvm::MCOperand::getExpr(), llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::MCOperand::isExpr(), llvm::MCInstPrinter::MAI, and llvm::MCExpr::print().
Referenced by X86IntelInstPrinter().
1.8.13