LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
llvm::HexagonMCInst Class Reference

#include <HexagonMCInst.h>

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

Public Member Functions

 HexagonMCInst ()
 
 HexagonMCInst (const MCInstrDesc &mcid)
 
bool isPacketStart () const
 
bool isPacketEnd () const
 
void setPacketStart (bool Y)
 
void setPacketEnd (bool Y)
 
void resetPacket ()
 
unsigned getUnits (const HexagonTargetMachine *TM) const
 
unsigned getType () const
 
void setDesc (const MCInstrDesc &mcid)
 
const MCInstrDescgetDesc (void) const
 
bool isCanon () const
 
bool isPrefix () const
 
bool isSolo () const
 
bool isConstExtended () const
 
unsigned short getCExtOpNum (void) const
 
bool isNewValue () const
 
bool hasNewValue () const
 
const MCOperandgetNewValue () const
 
unsigned getBitCount (void) const
 
- Public Member Functions inherited from llvm::MCInst
 MCInst ()
 
void setOpcode (unsigned Op)
 
unsigned getOpcode () const
 
void setLoc (SMLoc loc)
 
SMLoc getLoc () const
 
const MCOperandgetOperand (unsigned i) const
 
MCOperandgetOperand (unsigned i)
 
unsigned getNumOperands () const
 
void addOperand (const MCOperand &Op)
 
void clear ()
 
size_t size ()
 
iterator begin ()
 
iterator end ()
 
iterator insert (iterator I, const MCOperand &Op)
 
void print (raw_ostream &OS, const MCAsmInfo *MAI) const
 
void dump () const
 
void dump_pretty (raw_ostream &OS, const MCAsmInfo *MAI=0, const MCInstPrinter *Printer=0, StringRef Separator=" ") const
 Dump the MCInst as prettily as possible using the additional MC structures, if given. Operators are separated by the Separator string. More...
 

Additional Inherited Members

- Public Types inherited from llvm::MCInst
typedef SmallVectorImpl
< MCOperand >::iterator 
iterator
 

Detailed Description

Definition at line 23 of file HexagonMCInst.h.

Constructor & Destructor Documentation

llvm::HexagonMCInst::HexagonMCInst ( )
inlineexplicit

Definition at line 33 of file HexagonMCInst.h.

llvm::HexagonMCInst::HexagonMCInst ( const MCInstrDesc mcid)
inline

Definition at line 35 of file HexagonMCInst.h.

Member Function Documentation

unsigned HexagonMCInst::getBitCount ( void  ) const
unsigned short HexagonMCInst::getCExtOpNum ( void  ) const
const MCInstrDesc& llvm::HexagonMCInst::getDesc ( void  ) const
inline

Definition at line 51 of file HexagonMCInst.h.

const MCOperand & HexagonMCInst::getNewValue ( ) const
unsigned HexagonMCInst::getType ( ) const
unsigned HexagonMCInst::getUnits ( const HexagonTargetMachine TM) const
bool HexagonMCInst::hasNewValue ( ) const
bool HexagonMCInst::isCanon ( ) const
bool HexagonMCInst::isConstExtended ( void  ) const
bool HexagonMCInst::isNewValue ( ) const
bool llvm::HexagonMCInst::isPacketEnd ( ) const
inline

Definition at line 39 of file HexagonMCInst.h.

Referenced by llvm::HexagonInstPrinter::printInst().

bool llvm::HexagonMCInst::isPacketStart ( ) const
inline

Definition at line 38 of file HexagonMCInst.h.

Referenced by llvm::HexagonInstPrinter::printInst().

bool HexagonMCInst::isPrefix ( ) const

Definition at line 46 of file HexagonMCInst.cpp.

References getType(), and llvm::HexagonII::TypePREFIX.

Referenced by isCanon().

bool HexagonMCInst::isSolo ( ) const
void llvm::HexagonMCInst::resetPacket ( )
inline

Definition at line 42 of file HexagonMCInst.h.

References setPacketEnd(), and setPacketStart().

void llvm::HexagonMCInst::setDesc ( const MCInstrDesc mcid)
inline

Definition at line 50 of file HexagonMCInst.h.

Referenced by llvm::HexagonLowerToMC().

void llvm::HexagonMCInst::setPacketEnd ( bool  Y)
inline

Definition at line 41 of file HexagonMCInst.h.

References Y.

Referenced by llvm::HexagonAsmPrinter::EmitInstruction(), and resetPacket().

void llvm::HexagonMCInst::setPacketStart ( bool  Y)
inline

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