LLVM API Documentation

Public Member Functions | Static Public Member Functions
llvm::PPCInstPrinter Class Reference

#include <PPCInstPrinter.h>

Inheritance diagram for llvm::PPCInstPrinter:
Inheritance graph
[legend]
Collaboration diagram for llvm::PPCInstPrinter:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PPCInstPrinter (const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI, bool isDarwin)
bool isDarwinSyntax () const
void printRegName (raw_ostream &OS, unsigned RegNo) const override
 printRegName - Print the assembler register name.
void printInst (const MCInst *MI, raw_ostream &O, StringRef Annot) override
void printInstruction (const MCInst *MI, raw_ostream &O)
void printOperand (const MCInst *MI, unsigned OpNo, raw_ostream &O)
void printPredicateOperand (const MCInst *MI, unsigned OpNo, raw_ostream &O, const char *Modifier=nullptr)
void printU2ImmOperand (const MCInst *MI, unsigned OpNo, raw_ostream &O)
void printU4ImmOperand (const MCInst *MI, unsigned OpNo, raw_ostream &O)
void printS5ImmOperand (const MCInst *MI, unsigned OpNo, raw_ostream &O)
void printU5ImmOperand (const MCInst *MI, unsigned OpNo, raw_ostream &O)
void printU6ImmOperand (const MCInst *MI, unsigned OpNo, raw_ostream &O)
void printS16ImmOperand (const MCInst *MI, unsigned OpNo, raw_ostream &O)
void printU16ImmOperand (const MCInst *MI, unsigned OpNo, raw_ostream &O)
void printBranchOperand (const MCInst *MI, unsigned OpNo, raw_ostream &O)
void printAbsBranchOperand (const MCInst *MI, unsigned OpNo, raw_ostream &O)
void printTLSCall (const MCInst *MI, unsigned OpNo, raw_ostream &O)
void printcrbitm (const MCInst *MI, unsigned OpNo, raw_ostream &O)
void printMemRegImm (const MCInst *MI, unsigned OpNo, raw_ostream &O)
void printMemRegReg (const MCInst *MI, unsigned OpNo, raw_ostream &O)

Static Public Member Functions

static const char * getRegisterName (unsigned RegNo)

Detailed Description

Definition at line 23 of file PPCInstPrinter.h.


Constructor & Destructor Documentation

llvm::PPCInstPrinter::PPCInstPrinter ( const MCAsmInfo MAI,
const MCInstrInfo MII,
const MCRegisterInfo MRI,
bool  isDarwin 
) [inline]

Definition at line 26 of file PPCInstPrinter.h.


Member Function Documentation

static const char* llvm::PPCInstPrinter::getRegisterName ( unsigned  RegNo) [static]

Referenced by printOperand(), and printRegName().

Definition at line 30 of file PPCInstPrinter.h.

Referenced by printOperand().

void PPCInstPrinter::printcrbitm ( const MCInst MI,
unsigned  OpNo,
raw_ostream O 
)
void PPCInstPrinter::printInst ( const MCInst MI,
raw_ostream OS,
StringRef  Annot 
) [override, virtual]

Referenced by printInst().

void PPCInstPrinter::printOperand ( const MCInst MI,
unsigned  OpNo,
raw_ostream O 
)
void PPCInstPrinter::printPredicateOperand ( const MCInst MI,
unsigned  OpNo,
raw_ostream O,
const char *  Modifier = nullptr 
)
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().

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 204 of file PPCInstPrinter.cpp.

References llvm::MCOperand::getImm(), and llvm::MCInst::getOperand().

Definition at line 211 of file PPCInstPrinter.cpp.

References llvm::MCOperand::getImm(), and llvm::MCInst::getOperand().

Definition at line 225 of file PPCInstPrinter.cpp.

References llvm::MCOperand::getImm(), and llvm::MCInst::getOperand().

Definition at line 232 of file PPCInstPrinter.cpp.

References llvm::MCOperand::getImm(), and llvm::MCInst::getOperand().


The documentation for this class was generated from the following files: