![]() |
PandA-2024.02
|
#include <behavioral_writer_helper.hpp>


Public Member Functions | |
| OpWriter (const OpGraph *operation_graph, const int detail_level) | |
| Constructor. More... | |
| void | operator() (std::ostream &out, const vertex &v) const override |
| Functor to print the label of a vertex. More... | |
Public Member Functions inherited from VertexWriter | |
| VertexWriter (const graph *_graph, const int _detail_level) | |
| Constructor. More... | |
| virtual | ~VertexWriter ()=default |
| Destructor. More... | |
Protected Attributes | |
| const BehavioralHelperConstRef | helper |
| The behavioral helper. More... | |
Protected Attributes inherited from VertexWriter | |
| const graph * | printing_graph |
| The graph to be printed. More... | |
| const int | detail_level |
| The detail level. More... | |
Definition at line 125 of file behavioral_writer_helper.hpp.
| OpWriter::OpWriter | ( | const OpGraph * | operation_graph, |
| const int | detail_level | ||
| ) |
Constructor.
| op_graph | is the operation graph |
| detail_level | is the level of detail: 0 - print operation 1 - print operation and accessed variables |
Definition at line 468 of file behavioral_writer_helper.cpp.
Referenced by operator()().

|
overridevirtual |
Functor to print the label of a vertex.
| out | is the stream where label has to be printed |
| v | is the vertex whose label has to be printed |
Implements VertexWriter.
Definition at line 473 of file behavioral_writer_helper.cpp.
References OpGraph::CGetOpNodeInfo(), VertexWriter::detail_level, GET_NAME, GET_TYPE, helper, OpWriter(), VertexWriter::printing_graph, lenet_tvm::target, TYPE_ASSIGN, TYPE_ENTRY, TYPE_EXIT, TYPE_EXTERNAL, TYPE_GOTO, TYPE_IF, TYPE_LOAD, TYPE_MEMCPY, TYPE_STORE, TYPE_SWITCH, and AbsControlStep::UNKNOWN.

|
protected |
The behavioral helper.
Definition at line 129 of file behavioral_writer_helper.hpp.
Referenced by operator()().
1.8.13