|
LLVM
10.0.0
|
#include "Target/X86/MCTargetDesc/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) |
| void | printVKPair (const MCInst *MI, unsigned OpNo, raw_ostream &OS) |
Protected Member Functions inherited from llvm::MCInstPrinter | |
| void | printAnnotation (raw_ostream &OS, StringRef Annot) |
| Utility function for printing annotations. More... | |
| const char * | matchAliasPatterns (const MCInst *MI, const MCSubtargetInfo *STI, const AliasMatchingData &M) |
| Helper for matching MCInsts to alias patterns when printing instructions. 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 21 of file X86IntelInstPrinter.h.
|
inline |
Definition at line 23 of file X86IntelInstPrinter.h.
References llvm::Address, getRegisterName(), MI, llvm::RISCVFenceField::O, printAliasInstr(), printCustomAliasOperand(), printDstIdx(), printInst(), printInstruction(), printMemOffset(), printMemReference(), printOperand(), printRegName(), printSrcIdx(), printSTiRegOperand(), printU8Imm(), and printVecCompareInstr().
Referenced by llvm::X86Operand::print(), printRegName(), and X86IntelInstPrinter().
| bool llvm::X86IntelInstPrinter::printAliasInstr | ( | const MCInst * | MI, |
| raw_ostream & | OS | ||
| ) |
Referenced by printInst(), and X86IntelInstPrinter().
|
inline |
Definition at line 50 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 58 of file X86IntelInstPrinter.h.
References printMemReference().
| void llvm::X86IntelInstPrinter::printCustomAliasOperand | ( | const MCInst * | MI, |
| unsigned | OpIdx, | ||
| unsigned | PrintMethodIdx, | ||
| raw_ostream & | O | ||
| ) |
Referenced by X86IntelInstPrinter().
| void X86IntelInstPrinter::printDstIdx | ( | const MCInst * | MI, |
| unsigned | OpNo, | ||
| raw_ostream & | O | ||
| ) |
Definition at line 401 of file X86IntelInstPrinter.cpp.
References printOperand().
Referenced by printDstIdx16(), printDstIdx32(), printDstIdx64(), printDstIdx8(), and X86IntelInstPrinter().
|
inline |
Definition at line 112 of file X86IntelInstPrinter.h.
References printDstIdx().
|
inline |
Definition at line 116 of file X86IntelInstPrinter.h.
References printDstIdx().
|
inline |
Definition at line 120 of file X86IntelInstPrinter.h.
References printDstIdx().
|
inline |
Definition at line 108 of file X86IntelInstPrinter.h.
References printDstIdx().
|
inline |
Definition at line 66 of file X86IntelInstPrinter.h.
References printMemReference().
Referenced by printVecCompareInstr().
|
overridevirtual |
Print the specified MCInst to the specified raw_ostream.
Implements llvm::MCInstPrinter.
Definition at line 39 of file X86IntelInstPrinter.cpp.
References llvm::MCInstPrinter::CommentStream, llvm::EmitAnyX86InstComments(), llvm::MCSubtargetInfo::getFeatureBits(), llvm::MCInst::getOpcode(), llvm::MCInstPrinter::MII, printAliasInstr(), llvm::MCInstPrinter::printAnnotation(), llvm::X86InstPrinterCommon::printInstFlags(), printInstruction(), and printVecCompareInstr().
Referenced by X86IntelInstPrinter().
| void llvm::X86IntelInstPrinter::printInstruction | ( | const MCInst * | MI, |
| uint64_t | Address, | ||
| raw_ostream & | O | ||
| ) |
Referenced by printInst(), and X86IntelInstPrinter().
|
inline |
Definition at line 128 of file X86IntelInstPrinter.h.
References printMemOffset().
|
inline |
Definition at line 132 of file X86IntelInstPrinter.h.
References printMemOffset().
|
inline |
Definition at line 136 of file X86IntelInstPrinter.h.
References printMemOffset().
|
inline |
Definition at line 124 of file X86IntelInstPrinter.h.
References printMemOffset().
| void X86IntelInstPrinter::printMemOffset | ( | const MCInst * | MI, |
| unsigned | OpNo, | ||
| raw_ostream & | O | ||
| ) |
Definition at line 409 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 344 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(), printbytemem(), printdwordmem(), printopaquemem(), printqwordmem(), printtbytemem(), printwordmem(), printxmmwordmem(), printymmwordmem(), printzmmwordmem(), and X86IntelInstPrinter().
|
inline |
Definition at line 54 of file X86IntelInstPrinter.h.
References printMemReference().
|
overridevirtual |
Implements llvm::X86InstPrinterCommon.
Definition at line 330 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(), printVecCompareInstr(), and X86IntelInstPrinter().
|
inline |
Definition at line 70 of file X86IntelInstPrinter.h.
References printMemReference().
Referenced by printVecCompareInstr().
|
overridevirtual |
Print the assembler register name.
Reimplemented from llvm::MCInstPrinter.
Definition at line 35 of file X86IntelInstPrinter.cpp.
References getRegisterName().
Referenced by printOperand(), printSTiRegOperand(), and X86IntelInstPrinter().
| void X86IntelInstPrinter::printSrcIdx | ( | const MCInst * | MI, |
| unsigned | OpNo, | ||
| raw_ostream & | O | ||
| ) |
Definition at line 392 of file X86IntelInstPrinter.cpp.
References printOperand(), and llvm::X86InstPrinterCommon::printOptionalSegReg().
Referenced by printSrcIdx16(), printSrcIdx32(), printSrcIdx64(), printSrcIdx8(), and X86IntelInstPrinter().
|
inline |
Definition at line 96 of file X86IntelInstPrinter.h.
References printSrcIdx().
|
inline |
Definition at line 100 of file X86IntelInstPrinter.h.
References printSrcIdx().
|
inline |
Definition at line 104 of file X86IntelInstPrinter.h.
References printSrcIdx().
|
inline |
Definition at line 92 of file X86IntelInstPrinter.h.
References printSrcIdx().
| void X86IntelInstPrinter::printSTiRegOperand | ( | const MCInst * | MI, |
| unsigned | OpNo, | ||
| raw_ostream & | OS | ||
| ) |
Definition at line 436 of file X86IntelInstPrinter.cpp.
References llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), printRegName(), and Reg.
Referenced by X86IntelInstPrinter().
|
inline |
Definition at line 86 of file X86IntelInstPrinter.h.
References printMemReference().
| void X86IntelInstPrinter::printU8Imm | ( | const MCInst * | MI, |
| unsigned | Op, | ||
| raw_ostream & | O | ||
| ) |
Definition at line 428 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().
| bool X86IntelInstPrinter::printVecCompareInstr | ( | const MCInst * | MI, |
| raw_ostream & | OS | ||
| ) |
Definition at line 60 of file X86IntelInstPrinter.cpp.
References llvm::X86II::EVEX_B, llvm::X86II::EVEX_K, llvm::X86II::EVEX_L2, llvm::X86II::FormMask, llvm::MCInstrInfo::get(), llvm::MCInst::getNumOperands(), llvm::MCInst::getOpcode(), llvm::MCInst::getOperand(), llvm::MCInstPrinter::MII, llvm::X86II::MRMSrcMem, llvm::X86II::OpPrefixMask, llvm::X86InstPrinterCommon::printCMPMnemonic(), printdwordmem(), printOperand(), printqwordmem(), llvm::X86InstPrinterCommon::printVPCMPMnemonic(), llvm::X86InstPrinterCommon::printVPCOMMnemonic(), printxmmwordmem(), printymmwordmem(), printzmmwordmem(), llvm::MCInstrDesc::TSFlags, llvm::X86II::VEX_L, llvm::X86II::VEX_W, llvm::X86II::XD, and llvm::X86II::XS.
Referenced by printInst(), and X86IntelInstPrinter().
|
inline |
Definition at line 62 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 74 of file X86IntelInstPrinter.h.
References printMemReference().
Referenced by printVecCompareInstr().
|
inline |
Definition at line 78 of file X86IntelInstPrinter.h.
References printMemReference().
Referenced by printVecCompareInstr().
|
inline |
Definition at line 82 of file X86IntelInstPrinter.h.
References printMemReference().
Referenced by printVecCompareInstr().
1.8.13