|
LLVM
10.0.0
|
#include "Target/VE/InstPrinter/VEInstPrinter.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... | |
| 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 20 of file VEInstPrinter.h.
|
inline |
Definition at line 22 of file VEInstPrinter.h.
References llvm::Address, getRegisterName(), MI, printAliasInstr(), printCCOperand(), printInst(), printInstruction(), printMemASOperand(), printMemASXOperand(), printOperand(), and printRegName().
| bool llvm::VEInstPrinter::printAliasInstr | ( | const MCInst * | , |
| const MCSubtargetInfo & | , | ||
| raw_ostream & | |||
| ) |
Referenced by VEInstPrinter().
| void VEInstPrinter::printCCOperand | ( | const MCInst * | MI, |
| int | opNum, | ||
| const MCSubtargetInfo & | STI, | ||
| raw_ostream & | OS | ||
| ) |
Definition at line 114 of file VEInstPrinter.cpp.
References llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), and llvm::VECondCodeToString().
Referenced by VEInstPrinter().
|
overridevirtual |
Print the specified MCInst to the specified raw_ostream.
Implements llvm::MCInstPrinter.
Definition at line 42 of file VEInstPrinter.cpp.
Referenced by VEInstPrinter().
| void llvm::VEInstPrinter::printInstruction | ( | const MCInst * | , |
| uint64_t | , | ||
| const MCSubtargetInfo & | , | ||
| raw_ostream & | |||
| ) |
Referenced by VEInstPrinter().
| void VEInstPrinter::printMemASOperand | ( | const MCInst * | MI, |
| int | opNum, | ||
| const MCSubtargetInfo & | STI, | ||
| raw_ostream & | OS, | ||
| const char * | Modifier = nullptr |
||
| ) |
Definition at line 94 of file VEInstPrinter.cpp.
References llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::MCOperand::isImm(), and printOperand().
Referenced by VEInstPrinter().
| void VEInstPrinter::printMemASXOperand | ( | const MCInst * | MI, |
| int | opNum, | ||
| const MCSubtargetInfo & | STI, | ||
| raw_ostream & | OS, | ||
| const char * | Modifier = nullptr |
||
| ) |
Definition at line 74 of file VEInstPrinter.cpp.
References llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::MCOperand::isImm(), and printOperand().
Referenced by VEInstPrinter().
| void VEInstPrinter::printOperand | ( | const MCInst * | MI, |
| int | opNum, | ||
| const MCSubtargetInfo & | STI, | ||
| raw_ostream & | OS | ||
| ) |
Definition at line 50 of file VEInstPrinter.cpp.
References assert(), llvm::MCOperand::getExpr(), llvm::MCOperand::getImm(), llvm::MCInst::getOpcode(), llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), llvm::MCOperand::isExpr(), llvm::MCOperand::isImm(), llvm::isInt< 32 >(), llvm::MCOperand::isReg(), and llvm::MCExpr::print().
Referenced by VEInstPrinter().
|
overridevirtual |
Print the assembler register name.
Reimplemented from llvm::MCInstPrinter.
Definition at line 38 of file VEInstPrinter.cpp.
References getRegisterName(), and llvm::StringRef::lower().
Referenced by VEInstPrinter().
1.8.13