LLVM API Documentation
#include <X86IntelInstPrinter.h>
Static Public Member Functions | |
static const char * | getRegisterName (unsigned RegNo) |
Additional Inherited Members | |
![]() | |
void | printAnnotation (raw_ostream &OS, StringRef Annot) |
Utility function for printing annotations. More... | |
![]() | |
raw_ostream * | CommentStream |
const MCAsmInfo & | MAI |
const MCInstrInfo & | MII |
const MCRegisterInfo & | MRI |
uint64_t | AvailableFeatures |
The current set of available features. More... | |
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 24 of file X86IntelInstPrinter.h.
|
inline |
Definition at line 26 of file X86IntelInstPrinter.h.
|
static |
Referenced by printInst(), and printRegName().
void X86IntelInstPrinter::printAVXCC | ( | const MCInst * | MI, |
unsigned | Op, | ||
raw_ostream & | O | ||
) |
Definition at line 76 of file X86IntelInstPrinter.cpp.
References llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), and llvm_unreachable.
|
inline |
Definition at line 89 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 93 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 77 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 97 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 81 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 85 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 65 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 53 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 69 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 57 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 73 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 61 of file X86IntelInstPrinter.h.
References printMemReference().
|
inline |
Definition at line 49 of file X86IntelInstPrinter.h.
References printMemReference().
|
virtual |
printInst - Print the specified MCInst to the specified raw_ostream.
Implements llvm::MCInstPrinter.
Definition at line 34 of file X86IntelInstPrinter.cpp.
References llvm::MCInstPrinter::CommentStream, 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 106 of file X86IntelInstPrinter.h.
References printMemOffset().
|
inline |
Definition at line 110 of file X86IntelInstPrinter.h.
References printMemOffset().
|
inline |
Definition at line 114 of file X86IntelInstPrinter.h.
References printMemOffset().
|
inline |
Definition at line 102 of file X86IntelInstPrinter.h.
References printMemOffset().
void X86IntelInstPrinter::printMemOffset | ( | const MCInst * | MI, |
unsigned | OpNo, | ||
raw_ostream & | O | ||
) |
Definition at line 204 of file X86IntelInstPrinter.cpp.
References llvm::MCInstPrinter::formatImm(), llvm::MCOperand::getExpr(), llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::MCOperand::isExpr(), and llvm::MCOperand::isImm().
Referenced by printMemOffs16(), printMemOffs32(), printMemOffs64(), and printMemOffs8().
void X86IntelInstPrinter::printMemReference | ( | const MCInst * | MI, |
unsigned | Op, | ||
raw_ostream & | O | ||
) |
Definition at line 152 of file X86IntelInstPrinter.cpp.
References llvm::MCInstPrinter::formatImm(), llvm::MCOperand::getExpr(), llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), llvm::MCOperand::isExpr(), llvm::MCOperand::isImm(), and printOperand().
Referenced by printf128mem(), printf256mem(), printf32mem(), printf512mem(), printf64mem(), printf80mem(), printi128mem(), printi16mem(), printi256mem(), printi32mem(), printi512mem(), printi64mem(), printi8mem(), and printopaquemem().
|
inline |
Definition at line 44 of file X86IntelInstPrinter.h.
References printMemReference().
void X86IntelInstPrinter::printOperand | ( | const MCInst * | MI, |
unsigned | OpNo, | ||
raw_ostream & | O | ||
) |
Definition at line 139 of file X86IntelInstPrinter.cpp.
References llvm::MCInstPrinter::formatImm(), llvm::MCOperand::getExpr(), llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), llvm::MCOperand::isExpr(), llvm::MCOperand::isImm(), llvm::MCOperand::isReg(), and printRegName().
Referenced by printMemReference().
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 118 of file X86IntelInstPrinter.cpp.
References llvm::dyn_cast(), llvm::MCInstPrinter::formatHex(), llvm::MCInstPrinter::formatImm(), llvm::MCOperand::getExpr(), llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::MCOperand::isExpr(), and llvm::MCOperand::isImm().
|
virtual |
printRegName - Print the assembler register name.
Reimplemented from llvm::MCInstPrinter.
Definition at line 30 of file X86IntelInstPrinter.cpp.
References getRegisterName().
Referenced by printOperand().
void X86IntelInstPrinter::printSSECC | ( | const MCInst * | MI, |
unsigned | Op, | ||
raw_ostream & | O | ||
) |
Definition at line 52 of file X86IntelInstPrinter.cpp.
References llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), and llvm_unreachable.