LLVM API Documentation

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

#include <SparcInstPrinter.h>

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

List of all members.

Public Member Functions

 SparcInstPrinter (const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI, const MCSubtargetInfo &sti)
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
bool printSparcAliasInstr (const MCInst *MI, raw_ostream &OS)
bool isV9 () const
void printInstruction (const MCInst *MI, raw_ostream &O)
bool printAliasInstr (const MCInst *MI, raw_ostream &O)
void printCustomAliasOperand (const MCInst *MI, unsigned OpIdx, unsigned PrintMethodIdx, raw_ostream &O)
void printOperand (const MCInst *MI, int opNum, raw_ostream &OS)
void printMemOperand (const MCInst *MI, int opNum, raw_ostream &OS, const char *Modifier=nullptr)
void printCCOperand (const MCInst *MI, int opNum, raw_ostream &OS)
bool printGetPCX (const MCInst *MI, unsigned OpNo, raw_ostream &OS)

Static Public Member Functions

static const char * getRegisterName (unsigned RegNo)

Detailed Description

Definition at line 24 of file SparcInstPrinter.h.


Constructor & Destructor Documentation

Definition at line 27 of file SparcInstPrinter.h.


Member Function Documentation

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

Definition at line 37 of file SparcInstPrinter.cpp.

void SparcInstPrinter::printCCOperand ( const MCInst MI,
int  opNum,
raw_ostream OS 
)
void llvm::SparcInstPrinter::printCustomAliasOperand ( const MCInst MI,
unsigned  OpIdx,
unsigned  PrintMethodIdx,
raw_ostream O 
)

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 SparcInstPrinter::printMemOperand ( const MCInst MI,
int  opNum,
raw_ostream OS,
const char *  Modifier = nullptr 
)
void SparcInstPrinter::printOperand ( const MCInst MI,
int  opNum,
raw_ostream OS 
)
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().


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