PandA-2024.02
|
Structure holding information about a node into graph. More...
#include <state_transition_graph.hpp>
Public Member Functions | |
void | print (std::ostream &os, const int detail_level) const override |
Implementation of print method for this kind of node. More... | |
StateInfo () | |
Constructor. More... | |
Public Member Functions inherited from NodeInfo | |
NodeInfo () | |
Constructor. More... | |
virtual | ~NodeInfo () |
Destructor. More... | |
Data Fields | |
Wrefcount< const HLS_manager > | HLSMgr |
Weak Reference to function behavior. More... | |
unsigned int | funId |
function identifier of the function from which the state has been derived More... | |
std::string | name |
string used to give a label to the state More... | |
std::list< vertex > | executing_operations |
set of operation vertices which require inputs in this state More... | |
std::list< vertex > | starting_operations |
set of operation vertices which starts in this state More... | |
std::list< vertex > | ending_operations |
set of operation vertices completing their execution in this state More... | |
std::list< vertex > | onfly_operations |
set of operation vertices already in execution at the beginning of this state More... | |
CustomOrderedSet< unsigned int > | BB_ids |
set of BB ids associated with the state More... | |
bool | is_dummy |
flag to check if the state is dummy or not More... | |
bool | is_duplicated |
flag to check if the state is duplicated or not More... | |
unsigned int | sourceBb |
ID of the bb edge associated with the phi operation. More... | |
bool | isOriginalState |
flag to check if the state is duplicated and the original one More... | |
vertex | clonedState |
pointer to the cloned state More... | |
bool | all_paths |
this state is duplicated but manage of path incoming in the phis More... | |
CustomOrderedSet< unsigned int > | moved_op_def_set |
set of ssa vars defined in the state by the moved operations More... | |
CustomOrderedSet< unsigned int > | moved_op_use_set |
set of ssa vars used in the state by the moved operations More... | |
std::list< vertex > | moved_exec_op |
set of moved operations in execution More... | |
std::list< vertex > | moved_ending_op |
set of moved operations ending in this state More... | |
unsigned int | loopId |
ID of the loop this state belongs to. More... | |
Structure holding information about a node into graph.
A node represent an execution state of the machine. It contains operations to be started when execution will reach this state.
Definition at line 81 of file state_transition_graph.hpp.
|
inline |
Constructor.
Definition at line 150 of file state_transition_graph.hpp.
|
overridevirtual |
Implementation of print method for this kind of node.
. include
It simply prints the list of operations contained into this state
os | is the stream reference where you want to print |
behavior includes hls include hls/scheduling tree include utility include
Reimplemented from NodeInfo.
Definition at line 75 of file state_transition_graph.cpp.
References FunctionBehavior::BB, BB_ids, FunctionBehavior::CFG, ending_operations, executing_operations, funId, GET_NAME, GET_TYPE, HLSMgr, Wrefcount< T >::lock(), name, NumberToString(), BehavioralHelper::print_vertex(), STR, TYPE_ENTRY, TYPE_EXIT, and TYPE_STORE.
bool StateInfo::all_paths |
this state is duplicated but manage of path incoming in the phis
Definition at line 123 of file state_transition_graph.hpp.
CustomOrderedSet<unsigned int> StateInfo::BB_ids |
set of BB ids associated with the state
Definition at line 105 of file state_transition_graph.hpp.
Referenced by print().
vertex StateInfo::clonedState |
pointer to the cloned state
Definition at line 120 of file state_transition_graph.hpp.
std::list<vertex> StateInfo::ending_operations |
set of operation vertices completing their execution in this state
Definition at line 99 of file state_transition_graph.hpp.
Referenced by print().
std::list<vertex> StateInfo::executing_operations |
set of operation vertices which require inputs in this state
Definition at line 93 of file state_transition_graph.hpp.
Referenced by print().
unsigned int StateInfo::funId |
function identifier of the function from which the state has been derived
Definition at line 87 of file state_transition_graph.hpp.
Referenced by print().
Wrefcount<const HLS_manager> StateInfo::HLSMgr |
Weak Reference to function behavior.
Definition at line 84 of file state_transition_graph.hpp.
Referenced by print().
bool StateInfo::is_dummy |
flag to check if the state is dummy or not
Definition at line 108 of file state_transition_graph.hpp.
bool StateInfo::is_duplicated |
flag to check if the state is duplicated or not
Definition at line 111 of file state_transition_graph.hpp.
bool StateInfo::isOriginalState |
flag to check if the state is duplicated and the original one
Definition at line 117 of file state_transition_graph.hpp.
unsigned int StateInfo::loopId |
ID of the loop this state belongs to.
Definition at line 138 of file state_transition_graph.hpp.
std::list<vertex> StateInfo::moved_ending_op |
set of moved operations ending in this state
Definition at line 135 of file state_transition_graph.hpp.
std::list<vertex> StateInfo::moved_exec_op |
set of moved operations in execution
Definition at line 132 of file state_transition_graph.hpp.
CustomOrderedSet<unsigned int> StateInfo::moved_op_def_set |
set of ssa vars defined in the state by the moved operations
Definition at line 126 of file state_transition_graph.hpp.
CustomOrderedSet<unsigned int> StateInfo::moved_op_use_set |
set of ssa vars used in the state by the moved operations
Definition at line 129 of file state_transition_graph.hpp.
std::string StateInfo::name |
string used to give a label to the state
Definition at line 90 of file state_transition_graph.hpp.
Referenced by print().
std::list<vertex> StateInfo::onfly_operations |
set of operation vertices already in execution at the beginning of this state
Definition at line 102 of file state_transition_graph.hpp.
unsigned int StateInfo::sourceBb |
ID of the bb edge associated with the phi operation.
Definition at line 114 of file state_transition_graph.hpp.
std::list<vertex> StateInfo::starting_operations |
set of operation vertices which starts in this state
Definition at line 96 of file state_transition_graph.hpp.