HPCToolkit
EmptyISA Class Referenceabstract

#include <EmptyISA.hpp>

Inheritance diagram for EmptyISA:
Collaboration diagram for EmptyISA:

Public Member Functions

 EmptyISA ()
 
virtual ~EmptyISA ()
 
virtual ushort getInsnSize (MachInsn *GCC_ATTR_UNUSED mi)
 
virtual ushort getInsnNumOps (MachInsn *GCC_ATTR_UNUSED mi)
 
virtual InsnDesc getInsnDesc (MachInsn *mi, ushort opIndex, ushort sz=0)
 
virtual VMA getInsnTargetVMA (MachInsn *mi, VMA pc, ushort opIndex, ushort sz=0)
 
virtual ushort getInsnNumDelaySlots (MachInsn *mi, ushort opIndex, ushort sz=0)
 
virtual bool isParallelWithSuccessor (MachInsn *GCC_ATTR_UNUSED mi1, ushort GCC_ATTR_UNUSED opIndex1, ushort GCC_ATTR_UNUSED sz1, MachInsn *GCC_ATTR_UNUSED mi2, ushort GCC_ATTR_UNUSED opIndex2, ushort GCC_ATTR_UNUSED sz2) const
 
virtual void decode (std::ostream &os, MachInsn *mi, VMA vma, ushort opIndex)
 
void attach ()
 
void detach ()
 
virtual ushort getInsnSize (MachInsn *mi)=0
 
virtual ushort getInsnNumOps (MachInsn *mi)=0
 
virtual bool isParallelWithSuccessor (MachInsn *mi1, ushort opIndex1, ushort sz1, MachInsn *mi2, ushort opIndex2, ushort sz2) const =0
 
virtual VMA convertVMAToOpVMA (VMA vma, ushort GCC_ATTR_UNUSED opIndex) const
 
virtual VMA convertOpVMAToVMA (VMA opvma, ushort &opIndex) const
 

Protected Member Functions

DecodingCachecacheLookup (MachInsn *cmi)
 
void cacheSet (MachInsn *cmi, ushort size)
 

Detailed Description

Definition at line 70 of file EmptyISA.hpp.

Constructor & Destructor Documentation

◆ EmptyISA()

EmptyISA::EmptyISA ( )
inline

Definition at line 72 of file EmptyISA.hpp.

◆ ~EmptyISA()

virtual EmptyISA::~EmptyISA ( )
inlinevirtual

Definition at line 74 of file EmptyISA.hpp.

Member Function Documentation

◆ attach()

void ISA::attach ( )
inlineinherited

Definition at line 384 of file ISA.hpp.

Here is the caller graph for this function:

◆ cacheLookup()

DecodingCache* ISA::cacheLookup ( MachInsn cmi)
inlineprotectedinherited

Definition at line 489 of file ISA.hpp.

Here is the caller graph for this function:

◆ cacheSet()

void ISA::cacheSet ( MachInsn cmi,
ushort  size 
)
inlineprotectedinherited

Definition at line 501 of file ISA.hpp.

Here is the caller graph for this function:

◆ convertOpVMAToVMA()

virtual VMA ISA::convertOpVMAToVMA ( VMA  opvma,
ushort opIndex 
) const
inlinevirtualinherited

Reimplemented in IA64ISA.

Definition at line 475 of file ISA.hpp.

Here is the caller graph for this function:

◆ convertVMAToOpVMA()

virtual VMA ISA::convertVMAToOpVMA ( VMA  vma,
ushort GCC_ATTR_UNUSED  opIndex 
) const
inlinevirtualinherited

Definition at line 471 of file ISA.hpp.

Here is the caller graph for this function:

◆ decode()

virtual void EmptyISA::decode ( std::ostream &  os,
MachInsn mi,
VMA  vma,
ushort  opIndex 
)
inlinevirtual

Implements ISA.

Definition at line 109 of file EmptyISA.hpp.

◆ detach()

void ISA::detach ( )
inlineinherited

Definition at line 388 of file ISA.hpp.

Here is the caller graph for this function:

◆ getInsnDesc()

virtual InsnDesc EmptyISA::getInsnDesc ( MachInsn mi,
ushort  opIndex,
ushort  sz = 0 
)
inlinevirtual

Implements ISA.

Definition at line 85 of file EmptyISA.hpp.

◆ getInsnNumDelaySlots()

virtual ushort EmptyISA::getInsnNumDelaySlots ( MachInsn mi,
ushort  opIndex,
ushort  sz = 0 
)
inlinevirtual

Implements ISA.

Definition at line 96 of file EmptyISA.hpp.

◆ getInsnNumOps() [1/2]

virtual ushort EmptyISA::getInsnNumOps ( MachInsn *GCC_ATTR_UNUSED  mi)
inlinevirtual

Definition at line 81 of file EmptyISA.hpp.

◆ getInsnNumOps() [2/2]

virtual ushort ISA::getInsnNumOps ( MachInsn mi)
pure virtualinherited

Implemented in IA64ISA.

Here is the caller graph for this function:

◆ getInsnSize() [1/2]

virtual ushort EmptyISA::getInsnSize ( MachInsn *GCC_ATTR_UNUSED  mi)
inlinevirtual

Definition at line 77 of file EmptyISA.hpp.

◆ getInsnSize() [2/2]

virtual ushort ISA::getInsnSize ( MachInsn mi)
pure virtualinherited

Implemented in x86ISA, x86ISABinutils, and x86ISAXed.

Here is the caller graph for this function:

◆ getInsnTargetVMA()

virtual VMA EmptyISA::getInsnTargetVMA ( MachInsn mi,
VMA  pc,
ushort  opIndex,
ushort  sz = 0 
)
inlinevirtual

Implements ISA.

Definition at line 92 of file EmptyISA.hpp.

◆ isParallelWithSuccessor() [1/2]

virtual bool EmptyISA::isParallelWithSuccessor ( MachInsn *GCC_ATTR_UNUSED  mi1,
ushort GCC_ATTR_UNUSED  opIndex1,
ushort GCC_ATTR_UNUSED  sz1,
MachInsn *GCC_ATTR_UNUSED  mi2,
ushort GCC_ATTR_UNUSED  opIndex2,
ushort GCC_ATTR_UNUSED  sz2 
) const
inlinevirtual

Definition at line 100 of file EmptyISA.hpp.

◆ isParallelWithSuccessor() [2/2]

virtual bool ISA::isParallelWithSuccessor ( MachInsn mi1,
ushort  opIndex1,
ushort  sz1,
MachInsn mi2,
ushort  opIndex2,
ushort  sz2 
) const
pure virtualinherited
Here is the caller graph for this function:

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