OpenASIP
2.0
|
#include <NullInstructionReferenceManager.hh>
Public Member Functions | |
virtual | ~NullInstructionReferenceManager () |
![]() | |
InstructionReferenceManager () | |
virtual | ~InstructionReferenceManager () |
InstructionReference | createReference (Instruction &ins) |
void | replace (Instruction &insA, Instruction &insB) |
void | clearReferences () |
bool | hasReference (Instruction &ins) const |
unsigned int | referenceCount (Instruction &ins) const |
void | referenceDied (Instruction *ins) |
void | validate () |
Iterator | begin () |
Iterator | end () |
Static Public Member Functions | |
static NullInstructionReferenceManager & | instance () |
Protected Member Functions | |
NullInstructionReferenceManager () | |
Private Member Functions | |
NullInstructionReferenceManager (const NullInstructionReferenceManager &) | |
Copying not allowed. More... | |
NullInstructionReferenceManager & | operator= (const NullInstructionReferenceManager &) |
Assignment not allowed. More... | |
Static Private Attributes | |
static NullInstructionReferenceManager | instance_ |
Unique instance of NullInstructionReferenceManager. More... | |
Additional Inherited Members | |
![]() | |
typedef std::map< Instruction *, InstructionReferenceImpl * > | RefMap |
Map for instruction references. faster to search than list. More... | |
A singleton class that represents a null global scope.
Definition at line 43 of file NullInstructionReferenceManager.hh.
|
virtual |
|
protected |
The constructor.
Definition at line 47 of file NullInstructionReferenceManager.cc.
|
private |
Copying not allowed.
|
static |
Returns an instance of NullInstructionReferenceManager class (singleton).
Definition at line 63 of file NullInstructionReferenceManager.cc.
References instance_.
Referenced by TTAProgram::NullProgram::instructionReferenceManager().
|
private |
Assignment not allowed.
|
staticprivate |
Unique instance of NullInstructionReferenceManager.
Definition at line 59 of file NullInstructionReferenceManager.hh.
Referenced by instance().