LLVM 24.0.0git
llvm::PISAMCInst Class Reference

#include "Target/PISA/PISAMCInstLower.h"

Inheritance diagram for llvm::PISAMCInst:
[legend]

Public Member Functions

unsigned getSourceLine () const
void setSourceLine (unsigned L)
Public Member Functions inherited from llvm::MCInst
 MCInst ()=default
void setOpcode (unsigned Op)
unsigned getOpcode () const
void setFlags (unsigned F)
unsigned getFlags () const
void setLoc (SMLoc loc)
SMLoc getLoc () const
const MCOperand & getOperand (unsigned i) const
MCOperand & getOperand (unsigned i)
unsigned getNumOperands () const
ArrayRef< MCOperand > getOperands () const
void addOperand (const MCOperand Op)
void setOperands (ArrayRef< MCOperand > Ops)
void clear ()
void erase (iterator I)
void erase (iterator First, iterator Last)
size_t size () const
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
iterator insert (iterator I, const MCOperand &Op)
LLVM_ABI void print (raw_ostream &OS, const MCContext *Ctx=nullptr) const
LLVM_ABI void dump () const
LLVM_ABI void dump_pretty (raw_ostream &OS, const MCInstPrinter *Printer=nullptr, StringRef Separator=" ", const MCContext *Ctx=nullptr) const
 Dump the MCInst as prettily as possible using the additional MC structures, if given.
LLVM_ABI void dump_pretty (raw_ostream &OS, StringRef Name, StringRef Separator=" ", const MCContext *Ctx=nullptr) const

Public Attributes

SmallDenseMap< unsigned, PISAMCOpnd > Opnds
unsigned SourceLine = 0

Additional Inherited Members

Public Types inherited from llvm::MCInst
using iterator = SmallVectorImpl<MCOperand>::iterator
using const_iterator = SmallVectorImpl<MCOperand>::const_iterator

Detailed Description

Definition at line 42 of file PISAMCInstLower.h.

Member Function Documentation

◆ getSourceLine()

unsigned llvm::PISAMCInst::getSourceLine ( ) const
inline

Definition at line 49 of file PISAMCInstLower.h.

References SourceLine.

◆ setSourceLine()

void llvm::PISAMCInst::setSourceLine ( unsigned L)
inline

Definition at line 50 of file PISAMCInstLower.h.

References SourceLine.

Member Data Documentation

◆ Opnds

◆ SourceLine

unsigned llvm::PISAMCInst::SourceLine = 0

Definition at line 48 of file PISAMCInstLower.h.

Referenced by getSourceLine(), and setSourceLine().


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