LLVM API Documentation
#include <PPCInstPrinter.h>
Definition at line 23 of file PPCInstPrinter.h.
llvm::PPCInstPrinter::PPCInstPrinter | ( | const MCAsmInfo & | MAI, |
const MCInstrInfo & | MII, | ||
const MCRegisterInfo & | MRI, | ||
bool | isDarwin | ||
) | [inline] |
Definition at line 26 of file PPCInstPrinter.h.
static const char* llvm::PPCInstPrinter::getRegisterName | ( | unsigned | RegNo | ) | [static] |
Referenced by printOperand(), and printRegName().
bool llvm::PPCInstPrinter::isDarwinSyntax | ( | ) | const [inline] |
Definition at line 30 of file PPCInstPrinter.h.
Referenced by printOperand().
void PPCInstPrinter::printAbsBranchOperand | ( | const MCInst * | MI, |
unsigned | OpNo, | ||
raw_ostream & | O | ||
) |
Definition at line 266 of file PPCInstPrinter.cpp.
References llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::MCOperand::isImm(), and printOperand().
Referenced by printBranchOperand().
void PPCInstPrinter::printBranchOperand | ( | const MCInst * | MI, |
unsigned | OpNo, | ||
raw_ostream & | O | ||
) |
Definition at line 255 of file PPCInstPrinter.cpp.
References llvm::MCInst::getOperand(), llvm::MCOperand::isImm(), printAbsBranchOperand(), and printOperand().
void PPCInstPrinter::printcrbitm | ( | const MCInst * | MI, |
unsigned | OpNo, | ||
raw_ostream & | O | ||
) |
Definition at line 275 of file PPCInstPrinter.cpp.
References llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), and llvm_unreachable.
void PPCInstPrinter::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 40 of file PPCInstPrinter.cpp.
References llvm::TargetOpcode::COPY_TO_REGCLASS, llvm::MCOperand::getImm(), llvm::MCInst::getOpcode(), llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), OR, llvm::MCInstPrinter::printAnnotation(), printInstruction(), and printOperand().
void llvm::PPCInstPrinter::printInstruction | ( | const MCInst * | MI, |
raw_ostream & | O | ||
) |
Referenced by printInst().
void PPCInstPrinter::printMemRegImm | ( | const MCInst * | MI, |
unsigned | OpNo, | ||
raw_ostream & | O | ||
) |
Definition at line 293 of file PPCInstPrinter.cpp.
References llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), printOperand(), and printS16ImmOperand().
void PPCInstPrinter::printMemRegReg | ( | const MCInst * | MI, |
unsigned | OpNo, | ||
raw_ostream & | O | ||
) |
Definition at line 304 of file PPCInstPrinter.cpp.
References llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), and printOperand().
void PPCInstPrinter::printOperand | ( | const MCInst * | MI, |
unsigned | OpNo, | ||
raw_ostream & | O | ||
) |
Definition at line 351 of file PPCInstPrinter.cpp.
References llvm::MCOperand::getExpr(), llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::MCOperand::getReg(), getRegisterName(), isDarwinSyntax(), llvm::MCOperand::isExpr(), llvm::MCOperand::isImm(), llvm::MCOperand::isReg(), and stripRegisterPrefix().
Referenced by printAbsBranchOperand(), printBranchOperand(), printInst(), printMemRegImm(), printMemRegReg(), printPredicateOperand(), printS16ImmOperand(), printTLSCall(), and printU16ImmOperand().
void PPCInstPrinter::printPredicateOperand | ( | const MCInst * | MI, |
unsigned | OpNo, | ||
raw_ostream & | O, | ||
const char * | Modifier = nullptr |
||
) |
Definition at line 107 of file PPCInstPrinter.cpp.
References llvm::tgtok::Code, llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm_unreachable, llvm::PPC::PRED_BIT_SET, llvm::PPC::PRED_BIT_UNSET, llvm::PPC::PRED_EQ, llvm::PPC::PRED_EQ_MINUS, llvm::PPC::PRED_EQ_PLUS, llvm::PPC::PRED_GE, llvm::PPC::PRED_GE_MINUS, llvm::PPC::PRED_GE_PLUS, llvm::PPC::PRED_GT, llvm::PPC::PRED_GT_MINUS, llvm::PPC::PRED_GT_PLUS, llvm::PPC::PRED_LE, llvm::PPC::PRED_LE_MINUS, llvm::PPC::PRED_LE_PLUS, llvm::PPC::PRED_LT, llvm::PPC::PRED_LT_MINUS, llvm::PPC::PRED_LT_PLUS, llvm::PPC::PRED_NE, llvm::PPC::PRED_NE_MINUS, llvm::PPC::PRED_NE_PLUS, llvm::PPC::PRED_NU, llvm::PPC::PRED_NU_MINUS, llvm::PPC::PRED_NU_PLUS, llvm::PPC::PRED_UN, llvm::PPC::PRED_UN_MINUS, llvm::PPC::PRED_UN_PLUS, and printOperand().
void PPCInstPrinter::printRegName | ( | raw_ostream & | OS, |
unsigned | RegNo | ||
) | const [override, virtual] |
printRegName - Print the assembler register name.
Reimplemented from llvm::MCInstPrinter.
Definition at line 36 of file PPCInstPrinter.cpp.
References getRegisterName().
void PPCInstPrinter::printS16ImmOperand | ( | const MCInst * | MI, |
unsigned | OpNo, | ||
raw_ostream & | O | ||
) |
Definition at line 239 of file PPCInstPrinter.cpp.
References llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::MCOperand::isImm(), and printOperand().
Referenced by printMemRegImm().
void PPCInstPrinter::printS5ImmOperand | ( | const MCInst * | MI, |
unsigned | OpNo, | ||
raw_ostream & | O | ||
) |
Definition at line 218 of file PPCInstPrinter.cpp.
References llvm::MCOperand::getImm(), and llvm::MCInst::getOperand().
void PPCInstPrinter::printTLSCall | ( | const MCInst * | MI, |
unsigned | OpNo, | ||
raw_ostream & | O | ||
) |
Definition at line 317 of file PPCInstPrinter.cpp.
References llvm::MCOperand::getExpr(), llvm::MCSymbolRefExpr::getKind(), llvm::MCSymbol::getName(), llvm::MCInst::getOperand(), llvm::MCSymbolRefExpr::getSymbol(), llvm::MCSymbolRefExpr::getVariantKindName(), printOperand(), and llvm::MCSymbolRefExpr::VK_None.
void PPCInstPrinter::printU16ImmOperand | ( | const MCInst * | MI, |
unsigned | OpNo, | ||
raw_ostream & | O | ||
) |
Definition at line 247 of file PPCInstPrinter.cpp.
References llvm::MCOperand::getImm(), llvm::MCInst::getOperand(), llvm::MCOperand::isImm(), and printOperand().
void PPCInstPrinter::printU2ImmOperand | ( | const MCInst * | MI, |
unsigned | OpNo, | ||
raw_ostream & | O | ||
) |
Definition at line 204 of file PPCInstPrinter.cpp.
References llvm::MCOperand::getImm(), and llvm::MCInst::getOperand().
void PPCInstPrinter::printU4ImmOperand | ( | const MCInst * | MI, |
unsigned | OpNo, | ||
raw_ostream & | O | ||
) |
Definition at line 211 of file PPCInstPrinter.cpp.
References llvm::MCOperand::getImm(), and llvm::MCInst::getOperand().
void PPCInstPrinter::printU5ImmOperand | ( | const MCInst * | MI, |
unsigned | OpNo, | ||
raw_ostream & | O | ||
) |
Definition at line 225 of file PPCInstPrinter.cpp.
References llvm::MCOperand::getImm(), and llvm::MCInst::getOperand().
void PPCInstPrinter::printU6ImmOperand | ( | const MCInst * | MI, |
unsigned | OpNo, | ||
raw_ostream & | O | ||
) |
Definition at line 232 of file PPCInstPrinter.cpp.
References llvm::MCOperand::getImm(), and llvm::MCInst::getOperand().