|
LLVM
4.0.0
|
#include <X86IntelInstPrinter.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 |
| A stream that comments can be emitted to if desired. More... | |
| const MCAsmInfo & | MAI |
| const MCInstrInfo & | MII |
| const MCRegisterInfo & | MRI |
| bool | UseMarkup |
| True if we are printing marked up assembly. More... | |
| bool | PrintImmHex |
| True if we are printing immediates as hex. More... | |
| HexStyle::Style | PrintHexStyle |
| 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.
Referenced by printInst(), and printRegName().
|
inline |
Definition at line 47 of file X86IntelInstPrinter.h.
References printMemReference().
| void X86IntelInstPrinter::printDstIdx | ( | const MCInst * | MI, |
| unsigned | OpNo, | ||
| raw_ostream & | O | ||
| ) |
Definition at line 223 of file X86IntelInstPrinter.cpp.
References printOperand().
Referenced by printDstIdx16(), printDstIdx32(), printDstIdx64(), and printDstIdx8().
|
inline |
Definition at line 130 of file X86IntelInstPrinter.h.
References printDstIdx().
|
inline |
Definition at line 134 of file X86IntelInstPrinter.h.
References printDstIdx().
|
inline |
Definition at line 138 of file X86IntelInstPrinter.h.
References printDstIdx().
|
inline |
Definition at line 126 of file X86IntelInstPrinter.h.
References printDstIdx().
|
inline |
Definition at line 96 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 100 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 84 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 104 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 88 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 92 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 72 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 60 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 76 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 64 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 80 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 68 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 56 of file X86IntelInstPrinter.h.
References printMemReference().
|
overridevirtual |
Print the specified MCInst to the specified raw_ostream.
Implements llvm::MCInstPrinter.
Definition at line 35 of file X86IntelInstPrinter.cpp.
References llvm::MCInstPrinter::CommentStream, Desc, llvm::EmitAnyX86InstComments(), llvm::MCInstrInfo::get(), llvm::MCInst::getOpcode(), getRegisterName(), llvm::X86II::LOCK, llvm::MCInstPrinter::MII, llvm::MCInstPrinter::printAnnotation(), printInstruction(), and llvm::MCInstrDesc::TSFlags.
| void llvm::X86IntelInstPrinter::printInstruction | ( | const MCInst * | MI, |
| raw_ostream & | O | ||
| ) |
Referenced by printInst().
|
inline |
Definition at line 146 of file X86IntelInstPrinter.h.
References printMemOffset().
|
inline |
Definition at line 150 of file X86IntelInstPrinter.h.
References printMemOffset().
|
inline |
Definition at line 154 of file X86IntelInstPrinter.h.
References printMemOffset().
|
inline |
Definition at line 142 of file X86IntelInstPrinter.h.
References printMemOffset().
| void X86IntelInstPrinter::printMemOffset | ( | const MCInst * | MI, |
| unsigned | OpNo, | ||
| raw_ostream & | O | ||
| ) |
Definition at line 231 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::MCInstPrinter::MAI, llvm::MCExpr::print(), and printOperand().
Referenced by printMemOffs16(), printMemOffs32(), printMemOffs64(), and printMemOffs8().
| void X86IntelInstPrinter::printMemReference | ( | const MCInst * | MI, |
| unsigned | Op, | ||
| raw_ostream & | O | ||
| ) |
Definition at line 157 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(), and printOperand().
Referenced by printanymem(), printf128mem(), printf256mem(), printf32mem(), printf512mem(), printf64mem(), printf80mem(), printi128mem(), printi16mem(), printi256mem(), printi32mem(), printi512mem(), printi64mem(), printi8mem(), and printopaquemem().
|
inline |
Definition at line 51 of file X86IntelInstPrinter.h.
References printMemReference().
| void X86IntelInstPrinter::printOperand | ( | const MCInst * | MI, |
| unsigned | OpNo, | ||
| raw_ostream & | O | ||
| ) |
Definition at line 144 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(), printMemOffset(), printMemReference(), and printSrcIdx().
| void X86IntelInstPrinter::printPCRelImm | ( | const MCInst * | MI, |
| unsigned | OpNo, | ||
| raw_ostream & | O | ||
| ) |
printPCRelImm - This is used to print an immediate value that ends up being encoded as a pc-relative value.
Definition at line 123 of file X86IntelInstPrinter.cpp.
References llvm::dwarf::syntax::Address, assert(), llvm::dyn_cast(), llvm::MCInstPrinter::formatHex(), llvm::MCInstPrinter::formatImm(), llvm::MCOperand::getExpr(), llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::MCOperand::isExpr(), llvm::MCOperand::isImm(), llvm::MCInstPrinter::MAI, and llvm::MCExpr::print().
|
overridevirtual |
Print the assembler register name.
Reimplemented from llvm::MCInstPrinter.
Definition at line 31 of file X86IntelInstPrinter.cpp.
References getRegisterName().
Referenced by printOperand().
| void X86IntelInstPrinter::printRoundingControl | ( | const MCInst * | MI, |
| unsigned | Op, | ||
| raw_ostream & | OS | ||
| ) |
Definition at line 110 of file X86IntelInstPrinter.cpp.
References llvm::MCOperand::getImm(), and llvm::MCInst::getOperand().
| void X86IntelInstPrinter::printSrcIdx | ( | const MCInst * | MI, |
| unsigned | OpNo, | ||
| raw_ostream & | O | ||
| ) |
Definition at line 209 of file X86IntelInstPrinter.cpp.
References llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), and printOperand().
Referenced by printSrcIdx16(), printSrcIdx32(), printSrcIdx64(), and printSrcIdx8().
|
inline |
Definition at line 114 of file X86IntelInstPrinter.h.
References printSrcIdx().
|
inline |
Definition at line 118 of file X86IntelInstPrinter.h.
References printSrcIdx().
|
inline |
Definition at line 122 of file X86IntelInstPrinter.h.
References printSrcIdx().
|
inline |
Definition at line 110 of file X86IntelInstPrinter.h.
References printSrcIdx().
| void X86IntelInstPrinter::printSSEAVXCC | ( | const MCInst * | MI, |
| unsigned | Op, | ||
| raw_ostream & | O | ||
| ) |
Definition at line 54 of file X86IntelInstPrinter.cpp.
References llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), and llvm_unreachable.
| void X86IntelInstPrinter::printU8Imm | ( | const MCInst * | MI, |
| unsigned | Op, | ||
| raw_ostream & | O | ||
| ) |
Definition at line 254 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().
| void X86IntelInstPrinter::printXOPCC | ( | const MCInst * | MI, |
| unsigned | Op, | ||
| raw_ostream & | O | ||
| ) |
Definition at line 94 of file X86IntelInstPrinter.cpp.
References llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), and llvm_unreachable.
1.8.6