LLVM API Documentation

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

#include <NVPTXInstPrinter.h>

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

List of all members.

Public Member Functions

 NVPTXInstPrinter (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 &OS, StringRef Annot) override
void printInstruction (const MCInst *MI, raw_ostream &O)
void printOperand (const MCInst *MI, unsigned OpNo, raw_ostream &O)
void printCvtMode (const MCInst *MI, int OpNum, raw_ostream &O, const char *Modifier=nullptr)
void printCmpMode (const MCInst *MI, int OpNum, raw_ostream &O, const char *Modifier=nullptr)
void printLdStCode (const MCInst *MI, int OpNum, raw_ostream &O, const char *Modifier=nullptr)
void printMemOperand (const MCInst *MI, int OpNum, raw_ostream &O, const char *Modifier=nullptr)
void printProtoIdent (const MCInst *MI, int OpNum, raw_ostream &O, const char *Modifier=nullptr)

Static Public Member Functions

static const char * getRegisterName (unsigned RegNo)

Detailed Description

Definition at line 25 of file NVPTXInstPrinter.h.


Constructor & Destructor Documentation


Member Function Documentation

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

Referenced by printRegName().

void NVPTXInstPrinter::printCmpMode ( const MCInst MI,
int  OpNum,
raw_ostream O,
const char *  Modifier = nullptr 
)
void NVPTXInstPrinter::printCvtMode ( const MCInst MI,
int  OpNum,
raw_ostream O,
const char *  Modifier = nullptr 
)
void NVPTXInstPrinter::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 74 of file NVPTXInstPrinter.cpp.

References llvm::MCInstPrinter::printAnnotation(), and printInstruction().

Referenced by printInst().

void NVPTXInstPrinter::printLdStCode ( const MCInst MI,
int  OpNum,
raw_ostream O,
const char *  Modifier = nullptr 
)
void NVPTXInstPrinter::printMemOperand ( const MCInst MI,
int  OpNum,
raw_ostream O,
const char *  Modifier = nullptr 
)
void NVPTXInstPrinter::printProtoIdent ( const MCInst MI,
int  OpNum,
raw_ostream O,
const char *  Modifier = nullptr 
)
void NVPTXInstPrinter::printRegName ( raw_ostream OS,
unsigned  RegNo 
) const [override, virtual]

printRegName - Print the assembler register name.

Reimplemented from llvm::MCInstPrinter.

Definition at line 39 of file NVPTXInstPrinter.cpp.

References getRegisterName(), and llvm::report_fatal_error().

Referenced by printOperand().


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