|
LLVM
3.7.0
|
#include <BPFInstPrinter.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 BPFInstPrinter.h.
|
inline |
Definition at line 24 of file BPFInstPrinter.h.
Referenced by printMemOperand(), and printOperand().
| void BPFInstPrinter::printImm64Operand | ( | const MCInst * | MI, |
| unsigned | OpNo, | ||
| raw_ostream & | O | ||
| ) |
Definition at line 81 of file BPFInstPrinter.cpp.
References llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), and llvm::MCOperand::isImm().
|
overridevirtual |
Print the specified MCInst to the specified raw_ostream.
Implements llvm::MCInstPrinter.
Definition at line 29 of file BPFInstPrinter.cpp.
References llvm::MCInstPrinter::printAnnotation(), and printInstruction().
| void llvm::BPFInstPrinter::printInstruction | ( | const MCInst * | MI, |
| raw_ostream & | O | ||
| ) |
Referenced by printInst().
| void BPFInstPrinter::printMemOperand | ( | const MCInst * | MI, |
| int | OpNo, | ||
| raw_ostream & | O, | ||
| const char * | Modifier = nullptr |
||
| ) |
Definition at line 66 of file BPFInstPrinter.cpp.
References llvm::MCInstPrinter::formatDec(), llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), getRegisterName(), llvm::MCOperand::isImm(), and llvm::MCOperand::isReg().
| void BPFInstPrinter::printOperand | ( | const MCInst * | MI, |
| unsigned | OpNo, | ||
| raw_ostream & | O, | ||
| const char * | Modifier = nullptr |
||
| ) |
Definition at line 52 of file BPFInstPrinter.cpp.
References llvm::MCOperand::getExpr(), llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), getRegisterName(), llvm::MCOperand::isExpr(), llvm::MCOperand::isImm(), llvm::MCOperand::isReg(), and printExpr().
1.8.6