|
OpenASIP 2.2
|
#include <OperationDAGEdge.hh>


Public Member Functions | |
| OperationDAGEdge (int srcOperand, int dstOperand) | |
| OperationDAGEdge (const OperationDAGEdge &other) | |
| virtual | ~OperationDAGEdge () |
| virtual GraphEdge * | clone () const |
| int | srcOperand () const |
| int | dstOperand () const |
| TCEString | toString () const |
Public Member Functions inherited from GraphEdge | |
| GraphEdge () | |
| GraphEdge (const GraphEdge &edge) | |
| virtual | ~GraphEdge () |
| virtual int | edgeID () const |
| virtual TCEString | dotString () const |
| virtual bool | isBackEdge () const |
| int | weight () const |
| void | setWeight (int w) |
Private Attributes | |
| int | srcOperand_ |
| int | dstOperand_ |
Definition at line 38 of file OperationDAGEdge.hh.
| OperationDAGEdge::OperationDAGEdge | ( | int | srcOperand, |
| int | dstOperand | ||
| ) |
Definition at line 36 of file OperationDAGEdge.cc.
| OperationDAGEdge::OperationDAGEdge | ( | const OperationDAGEdge & | other | ) |
Definition at line 39 of file OperationDAGEdge.cc.
|
inlinevirtual |
Definition at line 42 of file OperationDAGEdge.hh.
|
virtual |
Clones edge. Needed for dynamic binding, when copying instances through the base class.
Reimplemented from GraphEdge.
Definition at line 44 of file OperationDAGEdge.cc.
| int OperationDAGEdge::dstOperand | ( | ) | const |
Definition at line 54 of file OperationDAGEdge.cc.
References dstOperand_.
Referenced by TDGen::emulatingOpNodeLLVMName(), MemoryAliasAnalyzer::findTwoPartAddressOperands(), OperationDAGBehavior::OperationDAGBehavior(), TDGen::operationNodeToString(), FUGen::subOpConnection(), and OperationDAGConverter::writeNode().
| int OperationDAGEdge::srcOperand | ( | ) | const |
Definition at line 49 of file OperationDAGEdge.cc.
References srcOperand_.
Referenced by TDGen::emulatingOpNodeLLVMName(), OperationDAGBehavior::OperationDAGBehavior(), FUGen::subOpConnection(), and OperationDAGConverter::writeNode().
|
virtual |
Return the label of the edge as a string.
Used for printing graph in GraphViz .dot file.
Reimplemented from GraphEdge.
Definition at line 59 of file OperationDAGEdge.cc.
References dstOperand_, srcOperand_, and Conversion::toString().

|
private |
Definition at line 53 of file OperationDAGEdge.hh.
Referenced by dstOperand(), and toString().
|
private |
Definition at line 52 of file OperationDAGEdge.hh.
Referenced by srcOperand(), and toString().