|
LLVM
7.0.0
|
#include "Target/Nios2/InstPrinter/Nios2InstPrinter.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 = 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 Nios2InstPrinter.h.
|
inline |
Definition at line 23 of file Nios2InstPrinter.h.
References getRegisterName(), MI, llvm::RISCVFenceField::O, printAliasInstr(), printCustomAliasOperand(), printInst(), printInstruction(), printMemOperand(), printOperand(), and printRegName().
Referenced by Nios2InstPrinter(), and printRegName().
| bool llvm::Nios2InstPrinter::printAliasInstr | ( | const MCInst * | MI, |
| const MCSubtargetInfo & | STI, | ||
| raw_ostream & | O | ||
| ) |
Referenced by Nios2InstPrinter(), and printInst().
| void llvm::Nios2InstPrinter::printCustomAliasOperand | ( | const MCInst * | MI, |
| unsigned | OpIdx, | ||
| unsigned | PrintMethodIdx, | ||
| const MCSubtargetInfo & | STI, | ||
| raw_ostream & | O | ||
| ) |
Referenced by Nios2InstPrinter().
|
overridevirtual |
Print the specified MCInst to the specified raw_ostream.
Implements llvm::MCInstPrinter.
Definition at line 32 of file Nios2InstPrinter.cpp.
References printAliasInstr(), llvm::MCInstPrinter::printAnnotation(), and printInstruction().
Referenced by Nios2InstPrinter().
| void llvm::Nios2InstPrinter::printInstruction | ( | const MCInst * | MI, |
| const MCSubtargetInfo & | STI, | ||
| raw_ostream & | O | ||
| ) |
Referenced by Nios2InstPrinter(), and printInst().
| void Nios2InstPrinter::printMemOperand | ( | const MCInst * | MI, |
| int | opNum, | ||
| const MCSubtargetInfo & | STI, | ||
| raw_ostream & | OS, | ||
| const char * | Modifier = nullptr |
||
| ) |
Definition at line 58 of file Nios2InstPrinter.cpp.
References printOperand().
Referenced by Nios2InstPrinter().
| void Nios2InstPrinter::printOperand | ( | const MCInst * | MI, |
| int | opNum, | ||
| const MCSubtargetInfo & | STI, | ||
| raw_ostream & | OS | ||
| ) |
Definition at line 40 of file Nios2InstPrinter.cpp.
References assert(), 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 Nios2InstPrinter(), and printMemOperand().
|
overridevirtual |
Print the assembler register name.
Reimplemented from llvm::MCInstPrinter.
Definition at line 28 of file Nios2InstPrinter.cpp.
References getRegisterName().
Referenced by Nios2InstPrinter(), and printOperand().
1.8.13