Reduced dependence graph by statement
Reduced dependence graph by statement.The coherence of the structure depends on NstStatement::tag(), NstVertexSet::label() and an internal array of pointers to statements and vertices. At graph creation, all pointers to statements in the code, and to vertices in the vertex list of the graph are stored in the array. NstStatement::tag() is the place of a statement in the array, NstVertexSet::label() is the place of a vertex in the array. Warning: this array remains unchanged. Therefore, the user has to remember that the array contains pieces of information that were available at graph creation. If the list of vertices is destroyed, or if statements tags or vertexset labels are changed by the user, then the coherence may be lost. Howewer, changing the order in the vertex list has no consequence.
NstRDGStat(NstStatement* s, int type1 = 0, int type2 = 0)
type1 - If type1 = 0, a statement is any
NstStatement. Otherwise, all statements within a
NstStatementNestor are considered as a single statement.
type2 - If type2 = 0, all attributes of a loop (lower, upper
bounds, and step) form a single vertex, otherwise each one corresponds
to a different vertex. NstStatement* statement(int i)
NstVertexSet* vertex(int i)
int branch(int i)
int nb_vertices()
bool built()
string petit_input_file
string petit_output_file
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de