OpenASIP
2.0
|
#include <TerminalNode.hh>
Public Member Functions | |
TerminalNode (int operandIndex) | |
TerminalNode (const TerminalNode &other) | |
virtual | ~TerminalNode () |
virtual GraphNode * | clone () const |
virtual int | operandIndex () 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 | |
int | operandIndex_ |
Input and output node of the operation DAG.
A MoveNode represents one input or output value of an operation.
Definition at line 47 of file TerminalNode.hh.
TerminalNode::TerminalNode | ( | int | operandIndex | ) |
TerminalNode::TerminalNode | ( | const TerminalNode & | other | ) |
|
inlinevirtual |
Definition at line 53 of file TerminalNode.hh.
|
virtual |
Clones node. Needed for dynamic binding, when copying instances through the base class.
Reimplemented from GraphNode.
Definition at line 55 of file TerminalNode.cc.
References TerminalNode().
|
virtual |
Definition at line 60 of file TerminalNode.cc.
References operandIndex_.
Referenced by TDGen::constantNodeString(), TDGen::dagNodeToString(), TDGen::emulatingOpNodeLLVMName(), MemoryAliasAnalyzer::findTwoPartAddressOperands(), OperationDAGBehavior::OperationDAGBehavior(), FUGen::subOpConnection(), 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 65 of file TerminalNode.cc.
References operandIndex_, and Conversion::toString().
|
private |
Definition at line 62 of file TerminalNode.hh.
Referenced by operandIndex(), and toString().