|
OpenASIP 2.2
|
#include <OperationBehavior.hh>


Public Member Functions | |
| virtual bool | simulateTrigger (SimValue **, OperationContext &context) const |
| virtual bool | lateResult (SimValue **, OperationContext &context) const |
Public Member Functions inherited from OperationBehavior | |
| virtual bool | areValid (const InputOperandVector &inputs, const OperationContext &context) const |
| virtual void | createState (OperationContext &context) const |
| virtual void | deleteState (OperationContext &context) const |
| virtual const char * | stateName () const |
| virtual bool | canBeSimulated () const |
| virtual void | writeOutput (const char *text) const |
| OperationBehavior () | |
| OperationBehavior (const Operation &parent) | |
| virtual | ~OperationBehavior () |
Static Public Member Functions | |
| static NullOperationBehavior & | instance () |
Protected Member Functions | |
| NullOperationBehavior () | |
Static Private Attributes | |
| static NullOperationBehavior | instance_ |
Additional Inherited Members | |
Public Types inherited from OperationBehavior | |
| typedef std::vector< SimValue > | InputOperandVector |
| Input operand type for areValid() | |
Protected Attributes inherited from OperationBehavior | |
| const Operation & | parent_ |
Singleton class to represent an undefined operation behavior.
All methods cause program abort with an error log message.
Definition at line 93 of file OperationBehavior.hh.
|
inlineprotected |
Definition at line 105 of file OperationBehavior.hh.
|
inlinestatic |
Definition at line 95 of file OperationBehavior.hh.
References instance_.
Referenced by NullOperation::behavior(), OSEdTreeView::constructTree(), OperationIndex::effectiveOperation(), RISCVInstructionExecutor::executeInstructionHelper(), OperationPoolPimpl::loadFromLLVM(), OperationContainer::operation(), and OperationPropertyDialog::OperationPropertyDialog().
|
virtual |
Writes an error message to error log and aborts the program.
| io | Not used. |
| context | Not used. |
Definition at line 198 of file OperationBehavior.cc.
References abortWithError, and ERROR_MESSAGE.
|
virtual |
Writes an error message to error log and aborts the program.
| io | Not used. |
| context | Not used. |
Implements OperationBehavior.
Definition at line 182 of file OperationBehavior.cc.
References abortWithError, and ERROR_MESSAGE.
|
staticprivate |
Definition at line 108 of file OperationBehavior.hh.
Referenced by instance().