OpenASIP
2.0
|
#include <NullNOPEncoding.hh>
Static Public Member Functions | |
static NullNOPEncoding & | instance () |
Private Member Functions | |
NullNOPEncoding () | |
virtual | ~NullNOPEncoding () |
Static Private Attributes | |
static NullNOPEncoding | instance_ |
The only instance. More... | |
static SourceField | sourceField_ |
The parent source field. More... | |
static MoveSlot | moveSlot_ |
The parent move slot. More... | |
static BinaryEncoding | bem_ |
The parent binary encoding. More... | |
Additional Inherited Members | |
Public Member Functions inherited from NOPEncoding | |
NOPEncoding (unsigned int encoding, unsigned int extraBits, SlotField &parent) | |
NOPEncoding (const ObjectState *state, SlotField &parent) | |
virtual | ~NOPEncoding () |
SlotField * | parent () const |
virtual int | bitPosition () const |
virtual ObjectState * | saveState () const |
Public Member Functions inherited from Encoding | |
virtual | ~Encoding () |
InstructionField * | parent () const |
unsigned int | encoding () const |
unsigned int | extraBits () const |
virtual int | width () const |
Static Public Attributes inherited from NOPEncoding | |
static const std::string | OSNAME_NOP_ENCODING = "nop_encoding" |
ObjectState name for NOP encoding. More... | |
Static Public Attributes inherited from Encoding | |
static const std::string | OSNAME_ENCODING = "encoding" |
ObjectState name for Encoding class. More... | |
static const std::string | OSKEY_ENCODING = "encoding" |
ObjectState attribute key for the encoding. More... | |
static const std::string | OSKEY_EXTRA_BITS = "extra_bits" |
ObjectState attribute key for the number of extra bits. More... | |
Protected Member Functions inherited from Encoding | |
Encoding (unsigned int encoding, unsigned int extraBits, InstructionField *parent) | |
Encoding (const ObjectState *state, InstructionField *parent) | |
void | setParent (InstructionField *parent) |
void | setEncoding (unsigned int encoding, unsigned int extraBits) |
A null version of ImmediateEncoding class.
Definition at line 45 of file NullNOPEncoding.hh.
|
private |
The constructor.
Definition at line 47 of file NullNOPEncoding.cc.
|
privatevirtual |
|
static |
Returns the only instance of NullNOPEncoding.
Definition at line 65 of file NullNOPEncoding.cc.
References instance_.
Referenced by CodeCompressorPlugin::encodeNOP(), and SlotField::noOperationEncoding().
|
staticprivate |
The parent binary encoding.
Definition at line 60 of file NullNOPEncoding.hh.
|
staticprivate |
|
staticprivate |
The parent move slot.
Definition at line 58 of file NullNOPEncoding.hh.
|
staticprivate |
The parent source field.
Definition at line 56 of file NullNOPEncoding.hh.