|
LLVM
8.0.1
|
#include "Target/Mips/InstPrinter/MipsInstPrinter.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 76 of file MipsInstPrinter.h.
|
inline |
Definition at line 78 of file MipsInstPrinter.h.
References getRegisterName(), MI, llvm::RISCVFenceField::O, printMemOperand(), and printOperand().
Referenced by llvm::MipsTargetAsmStreamer::emitDirectiveCpLoad(), llvm::MipsTargetAsmStreamer::emitDirectiveCpsetup(), llvm::MipsTargetAsmStreamer::emitFrame(), llvm::MipsAsmPrinter::PrintAsmMemoryOperand(), llvm::MipsAsmPrinter::PrintAsmOperand(), llvm::MipsAsmPrinter::printOperand(), and printRegName().
| bool llvm::MipsInstPrinter::printAliasInstr | ( | const MCInst * | MI, |
| raw_ostream & | OS | ||
| ) |
Referenced by printInst().
| void llvm::MipsInstPrinter::printCustomAliasOperand | ( | const MCInst * | MI, |
| unsigned | OpIdx, | ||
| unsigned | PrintMethodIdx, | ||
| raw_ostream & | O | ||
| ) |
|
overridevirtual |
Print the specified MCInst to the specified raw_ostream.
Implements llvm::MCInstPrinter.
Definition at line 79 of file MipsInstPrinter.cpp.
References assert(), llvm::tgtok::Bits, llvm::MCInstPrinter::formatImm(), llvm::MCOperand::getExpr(), llvm::MCOperand::getImm(), llvm::MCInst::getNumOperands(), llvm::MCInst::getOpcode(), llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), llvm::MCOperand::isExpr(), llvm::MCOperand::isImm(), llvm::MCOperand::isReg(), llvm_unreachable, llvm::MCInstPrinter::MAI, MI, llvm::Mips::MipsFCCToString(), llvm::RISCVFenceField::O, OR, llvm::MCExpr::print(), printAliasInstr(), llvm::MCInstPrinter::printAnnotation(), printInstruction(), and printRegName().
| void llvm::MipsInstPrinter::printInstruction | ( | const MCInst * | MI, |
| raw_ostream & | O | ||
| ) |
Referenced by printInst().
|
overridevirtual |
Print the assembler register name.
Reimplemented from llvm::MCInstPrinter.
Definition at line 75 of file MipsInstPrinter.cpp.
References getRegisterName(), and llvm::StringRef::lower().
Referenced by printInst().
1.8.13