LLVM API Documentation

Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Attributes
llvm::HexagonInstPrinter Class Reference

#include <HexagonInstPrinter.h>

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

List of all members.

Public Member Functions

 HexagonInstPrinter (const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI)
void printInst (const MCInst *MI, raw_ostream &O, StringRef Annot) override
void printInst (const HexagonMCInst *MI, raw_ostream &O, StringRef Annot)
virtual StringRef getOpcodeName (unsigned Opcode) const
void printInstruction (const MCInst *MI, raw_ostream &O)
StringRef getRegName (unsigned RegNo) const
void printOperand (const MCInst *MI, unsigned OpNo, raw_ostream &O) const
void printImmOperand (const MCInst *MI, unsigned OpNo, raw_ostream &O) const
void printExtOperand (const MCInst *MI, unsigned OpNo, raw_ostream &O) const
void printUnsignedImmOperand (const MCInst *MI, unsigned OpNo, raw_ostream &O) const
void printNegImmOperand (const MCInst *MI, unsigned OpNo, raw_ostream &O) const
void printNOneImmOperand (const MCInst *MI, unsigned OpNo, raw_ostream &O) const
void printMEMriOperand (const MCInst *MI, unsigned OpNo, raw_ostream &O) const
void printFrameIndexOperand (const MCInst *MI, unsigned OpNo, raw_ostream &O) const
void printBranchOperand (const MCInst *MI, unsigned OpNo, raw_ostream &O) const
void printCallOperand (const MCInst *MI, unsigned OpNo, raw_ostream &O) const
void printAbsAddrOperand (const MCInst *MI, unsigned OpNo, raw_ostream &O) const
void printPredicateOperand (const MCInst *MI, unsigned OpNo, raw_ostream &O) const
void printGlobalOperand (const MCInst *MI, unsigned OpNo, raw_ostream &O) const
void printJumpTable (const MCInst *MI, unsigned OpNo, raw_ostream &O) const
void printConstantPool (const MCInst *MI, unsigned OpNo, raw_ostream &O) const
void printSymbolHi (const MCInst *MI, unsigned OpNo, raw_ostream &O) const
void printSymbolLo (const MCInst *MI, unsigned OpNo, raw_ostream &O) const
const MCInstrInfogetMII () const

Static Public Member Functions

static const char * getRegisterName (unsigned RegNo)

Protected Member Functions

void printSymbol (const MCInst *MI, unsigned OpNo, raw_ostream &O, bool hi) const

Static Protected Attributes

static const char PacketPadding = '\t'

Detailed Description

Definition at line 23 of file HexagonInstPrinter.h.


Constructor & Destructor Documentation

Definition at line 25 of file HexagonInstPrinter.h.


Member Function Documentation

Definition at line 70 of file HexagonInstPrinter.h.

getOpcodeName - Return the name of the specified opcode enum (e.g. "MOV32ri") or empty if we can't resolve it.

Reimplemented from llvm::MCInstPrinter.

Definition at line 33 of file HexagonInstPrinter.cpp.

References llvm::MCInstrInfo::getName().

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

Definition at line 37 of file HexagonInstPrinter.cpp.

References getRegisterName().

Definition at line 189 of file HexagonInstPrinter.cpp.

Definition at line 178 of file HexagonInstPrinter.cpp.

References llvm_unreachable.

void HexagonInstPrinter::printCallOperand ( const MCInst MI,
unsigned  OpNo,
raw_ostream O 
) const

Definition at line 185 of file HexagonInstPrinter.cpp.

void HexagonInstPrinter::printConstantPool ( const MCInst MI,
unsigned  OpNo,
raw_ostream O 
) const
void HexagonInstPrinter::printExtOperand ( const MCInst MI,
unsigned  OpNo,
raw_ostream O 
) const
void HexagonInstPrinter::printImmOperand ( const MCInst MI,
unsigned  OpNo,
raw_ostream O 
) const
void HexagonInstPrinter::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 41 of file HexagonInstPrinter.cpp.

Referenced by printInst().

Referenced by printInst().

void HexagonInstPrinter::printJumpTable ( const MCInst MI,
unsigned  OpNo,
raw_ostream O 
) const
void HexagonInstPrinter::printMEMriOperand ( const MCInst MI,
unsigned  OpNo,
raw_ostream O 
) const

Definition at line 135 of file HexagonInstPrinter.cpp.

void HexagonInstPrinter::printOperand ( const MCInst MI,
unsigned  OpNo,
raw_ostream O 
) const

Definition at line 193 of file HexagonInstPrinter.cpp.

void HexagonInstPrinter::printSymbol ( const MCInst MI,
unsigned  OpNo,
raw_ostream O,
bool  hi 
) const [protected]
void llvm::HexagonInstPrinter::printSymbolHi ( const MCInst MI,
unsigned  OpNo,
raw_ostream O 
) const [inline]

Definition at line 65 of file HexagonInstPrinter.h.

References printSymbol().

void llvm::HexagonInstPrinter::printSymbolLo ( const MCInst MI,
unsigned  OpNo,
raw_ostream O 
) const [inline]

Definition at line 67 of file HexagonInstPrinter.h.

References printSymbol().


Member Data Documentation

const char HexagonInstPrinter::PacketPadding = '\t' [static, protected]

Definition at line 78 of file HexagonInstPrinter.h.

Referenced by printInst().


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