HPCToolkit
BinUtil::CISCInsn Class Reference

#include <Insn.hpp>

Inheritance diagram for BinUtil::CISCInsn:
Collaboration diagram for BinUtil::CISCInsn:

Public Member Functions

 CISCInsn (MachInsn *minsn, VMA vma, ushort sz)
 
virtual ~CISCInsn ()
 
virtual ushort size () const
 
virtual ushort opIndex () const
 
virtual ushort numOps () const
 
virtual VMA getTargetVMA (VMA vma) const
 
virtual ushort getNumDelaySlots () const
 
virtual void dump (std::ostream &o=std::cerr, int flags=LM::DUMP_Short, const char *pre="") const
 
virtual void dumpme (std::ostream &o=std::cerr, const char *pre="") const
 
ISA::InsnDesc desc () const
 
virtual MachInsnbits () const
 
VMA vma () const
 
void vma (VMA vma)
 
VMA endVMA () const
 
VMA opVMA () const
 
virtual VMA targetVMA (VMA vma) const
 
virtual ushort numDelaySlots () const
 
virtual bool isParallelWithSuccessor (Insn *x) const
 
virtual void decode (std::ostream &os)
 
std::string toString (int flags=LM::DUMP_Short, const char *pre="") const
 
void ddump () const
 

Protected Attributes

MachInsnm_minsn
 

Private Member Functions

 CISCInsn ()
 
 CISCInsn (const CISCInsn &GCC_ATTR_UNUSED i)
 
CISCInsnoperator= (const CISCInsn &GCC_ATTR_UNUSED i)
 

Private Attributes

ushort m_size
 

Detailed Description

Definition at line 234 of file Insn.hpp.

Constructor & Destructor Documentation

◆ CISCInsn() [1/3]

BinUtil::CISCInsn::CISCInsn ( MachInsn minsn,
VMA  vma,
ushort  sz 
)
inline

Definition at line 236 of file Insn.hpp.

◆ ~CISCInsn()

virtual BinUtil::CISCInsn::~CISCInsn ( )
inlinevirtual

Definition at line 240 of file Insn.hpp.

◆ CISCInsn() [2/3]

BinUtil::CISCInsn::CISCInsn ( )
private

◆ CISCInsn() [3/3]

BinUtil::CISCInsn::CISCInsn ( const CISCInsn &GCC_ATTR_UNUSED  i)
private

Member Function Documentation

◆ bits()

virtual MachInsn* BinUtil::Insn::bits ( ) const
inlinevirtualinherited

Definition at line 116 of file Insn.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ddump()

void BinUtil::Insn::ddump ( ) const
inherited

Definition at line 118 of file Insn.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ decode()

virtual void BinUtil::Insn::decode ( std::ostream &  os)
inlinevirtualinherited

Definition at line 183 of file Insn.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ desc()

ISA::InsnDesc BinUtil::Insn::desc ( ) const
inlineinherited

Definition at line 108 of file Insn.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dump()

void BinUtil::CISCInsn::dump ( std::ostream &  o = std::cerr,
int  flags = LM::DUMP_Short,
const char *  pre = "" 
) const
virtual

Reimplemented from BinUtil::Insn.

Definition at line 136 of file Insn.cpp.

Here is the call graph for this function:

◆ dumpme()

void BinUtil::CISCInsn::dumpme ( std::ostream &  o = std::cerr,
const char *  pre = "" 
) const
virtual

Reimplemented from BinUtil::Insn.

Definition at line 143 of file Insn.cpp.

Here is the call graph for this function:

◆ endVMA()

VMA BinUtil::Insn::endVMA ( ) const
inlineinherited

Definition at line 134 of file Insn.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getNumDelaySlots()

virtual ushort BinUtil::CISCInsn::getNumDelaySlots ( ) const
inlinevirtual

Definition at line 260 of file Insn.hpp.

Here is the call graph for this function:

◆ getTargetVMA()

virtual VMA BinUtil::CISCInsn::getTargetVMA ( VMA  vma) const
inlinevirtual

Definition at line 256 of file Insn.hpp.

Here is the call graph for this function:

◆ isParallelWithSuccessor()

virtual bool BinUtil::Insn::isParallelWithSuccessor ( Insn x) const
inlinevirtualinherited

Definition at line 174 of file Insn.hpp.

Here is the call graph for this function:

◆ numDelaySlots()

virtual ushort BinUtil::Insn::numDelaySlots ( ) const
inlinevirtualinherited

Definition at line 166 of file Insn.hpp.

Here is the call graph for this function:

◆ numOps()

virtual ushort BinUtil::CISCInsn::numOps ( ) const
inlinevirtual

Implements BinUtil::Insn.

Definition at line 251 of file Insn.hpp.

◆ operator=()

CISCInsn& BinUtil::CISCInsn::operator= ( const CISCInsn &GCC_ATTR_UNUSED  i)
inlineprivate

Definition at line 280 of file Insn.hpp.

◆ opIndex()

virtual ushort BinUtil::CISCInsn::opIndex ( ) const
inlinevirtual

Implements BinUtil::Insn.

Definition at line 247 of file Insn.hpp.

◆ opVMA()

VMA BinUtil::Insn::opVMA ( ) const
inlineinherited

Definition at line 139 of file Insn.hpp.

Here is the call graph for this function:

◆ size()

virtual ushort BinUtil::CISCInsn::size ( ) const
inlinevirtual

Implements BinUtil::Insn.

Definition at line 243 of file Insn.hpp.

◆ targetVMA()

virtual VMA BinUtil::Insn::targetVMA ( VMA  vma) const
inlinevirtualinherited

Definition at line 159 of file Insn.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ toString()

string BinUtil::Insn::toString ( int  flags = LM::DUMP_Short,
const char *  pre = "" 
) const
inherited

Definition at line 109 of file Insn.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ vma() [1/2]

VMA BinUtil::Insn::vma ( ) const
inlineinherited

Definition at line 125 of file Insn.hpp.

Here is the caller graph for this function:

◆ vma() [2/2]

void BinUtil::Insn::vma ( VMA  vma)
inlineinherited

Definition at line 129 of file Insn.hpp.

Here is the call graph for this function:

Member Data Documentation

◆ m_minsn

MachInsn* BinUtil::Insn::m_minsn
protectedinherited

Definition at line 219 of file Insn.hpp.

◆ m_size

ushort BinUtil::CISCInsn::m_size
private

Definition at line 285 of file Insn.hpp.


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