OpenASIP
2.0
|
#include <OperationNode.hh>
Public Member Functions | |
OperationNode (Operation &operation) | |
OperationNode (const OperationNode &other) | |
virtual GraphNode * | clone () const |
virtual | ~OperationNode () |
Operation & | referencedOperation () const |
virtual std::string | toString () const |
Public Member Functions inherited from OperationDAGNode | |
virtual | ~OperationDAGNode () |
Public Member Functions inherited from GraphNode | |
GraphNode (int nodeID) | |
GraphNode () | |
virtual | ~GraphNode () |
int | nodeID () const |
virtual std::string | dotString () const |
Private Attributes | |
Operation * | referencedOperation_ |
One operation node of the operation DAG.
Definition at line 47 of file OperationNode.hh.
OperationNode::OperationNode | ( | Operation & | op | ) |
OperationNode::OperationNode | ( | const OperationNode & | other | ) |
Definition at line 48 of file OperationNode.cc.
|
inlinevirtual |
Definition at line 54 of file OperationNode.hh.
|
virtual |
Clones node. Needed for dynamic binding, when copying instances through the base class.
Reimplemented from GraphNode.
Definition at line 60 of file OperationNode.cc.
References OperationNode().
Operation & OperationNode::referencedOperation | ( | ) | const |
Returns operation that is referred from current node.
Definition at line 70 of file OperationNode.cc.
References assert, and referencedOperation_.
Referenced by OperationDAGBehavior::canBeSimulated(), Automagic::canGenerateFromDAG(), ProGeTools::canGenerateFromDAG(), OperationDAGBuilder::connectOperandToNode(), OperationDAGSelector::countUnknownOperations(), TDGen::dagNodeToString(), TDGen::emulatingOpNodeLLVMName(), OperationDAGSelector::findDags(), MemoryAliasAnalyzer::findTwoPartAddressOperands(), TDGen::immediateOperandNameForEmulatedOperation(), MemoryAliasAnalyzer::mausOfOperation(), Automagic::nodeLatency(), ProGeTools::nodeLatency(), OperationDAGBehavior::OperationDAGBehavior(), TDGen::operationDAGCanBeMatched(), TDGen::operationNodeToString(), FUGen::scheduleOperations(), FUGen::subOpName(), and OperationDAGConverter::writeNode().
|
virtual |
Returns a node description as a string.
Used for printing graph into .dot file. This is used for a label in the default dotString() implementation.
Reimplemented from GraphNode.
Definition at line 76 of file OperationNode.cc.
References Operation::name(), and referencedOperation_.
Referenced by OperationDAGBuilder::connectOperandToNode().
|
private |
Definition at line 60 of file OperationNode.hh.
Referenced by referencedOperation(), and toString().