LLVM API Documentation
#include <SparcInstPrinter.h>
Definition at line 24 of file SparcInstPrinter.h.
llvm::SparcInstPrinter::SparcInstPrinter | ( | const MCAsmInfo & | MAI, |
const MCInstrInfo & | MII, | ||
const MCRegisterInfo & | MRI, | ||
const MCSubtargetInfo & | sti | ||
) | [inline] |
Definition at line 27 of file SparcInstPrinter.h.
static const char* llvm::SparcInstPrinter::getRegisterName | ( | unsigned | RegNo | ) | [static] |
bool SparcInstPrinter::isV9 | ( | ) | const |
Definition at line 37 of file SparcInstPrinter.cpp.
bool llvm::SparcInstPrinter::printAliasInstr | ( | const MCInst * | MI, |
raw_ostream & | O | ||
) |
void SparcInstPrinter::printCCOperand | ( | const MCInst * | MI, |
int | opNum, | ||
raw_ostream & | OS | ||
) |
Definition at line 149 of file SparcInstPrinter.cpp.
References llvm::MCOperand::getImm(), llvm::MCInst::getOpcode(), llvm::MCInst::getOperand(), and llvm::SPARCCondCodeToString().
void llvm::SparcInstPrinter::printCustomAliasOperand | ( | const MCInst * | MI, |
unsigned | OpIdx, | ||
unsigned | PrintMethodIdx, | ||
raw_ostream & | O | ||
) |
bool SparcInstPrinter::printGetPCX | ( | const MCInst * | MI, |
unsigned | OpNo, | ||
raw_ostream & | OS | ||
) |
Definition at line 173 of file SparcInstPrinter.cpp.
References llvm_unreachable.
void SparcInstPrinter::printInst | ( | const MCInst * | MI, |
raw_ostream & | OS, | ||
StringRef | Annot | ||
) | [override, virtual] |
printInst - Print the specified MCInst to the specified raw_ostream.
Implements llvm::MCInstPrinter.
Definition at line 46 of file SparcInstPrinter.cpp.
void llvm::SparcInstPrinter::printInstruction | ( | const MCInst * | MI, |
raw_ostream & | O | ||
) |
void SparcInstPrinter::printMemOperand | ( | const MCInst * | MI, |
int | opNum, | ||
raw_ostream & | OS, | ||
const char * | Modifier = nullptr |
||
) |
Definition at line 126 of file SparcInstPrinter.cpp.
References llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), llvm::MCOperand::isImm(), llvm::MCOperand::isReg(), printOperand(), and llvm::LibFunc::strcmp.
void SparcInstPrinter::printOperand | ( | const MCInst * | MI, |
int | opNum, | ||
raw_ostream & | OS | ||
) |
Definition at line 107 of file SparcInstPrinter.cpp.
References llvm::MCOperand::getExpr(), llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), llvm::MCOperand::isExpr(), llvm::MCOperand::isImm(), llvm::MCOperand::isReg(), and llvm::MCExpr::print().
void SparcInstPrinter::printRegName | ( | raw_ostream & | OS, |
unsigned | RegNo | ||
) | const [override, virtual] |
printRegName - Print the assembler register name.
Reimplemented from llvm::MCInstPrinter.
Definition at line 41 of file SparcInstPrinter.cpp.
References llvm::StringRef::lower().
bool SparcInstPrinter::printSparcAliasInstr | ( | const MCInst * | MI, |
raw_ostream & | OS | ||
) |
Definition at line 54 of file SparcInstPrinter.cpp.
References llvm::MCOperand::getImm(), llvm::MCInst::getNumOperands(), llvm::MCInst::getOpcode(), llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), llvm::MCOperand::isImm(), llvm::MCOperand::isReg(), and printOperand().