Commit 65bee870 authored by Michael Beck's avatar Michael Beck
Browse files

- improved doxygen comments about edges_activate() and the dep API

[r20732]
parent 158ab9a1
......@@ -197,14 +197,19 @@ const ir_edge_t *get_irn_edge(ir_graph *irg, const ir_node *src, int pos);
#endif
/**
* Activate all the edges for an irg.
* @param irg The graph to activate the edges for.
* Activates data and block edges for an irg.
* If the irg phase is phase_backend, Dependence edges are
* additionally activated.
*
* @param irg The graph to activate the edges for.
*/
void edges_activate(ir_graph *irg);
/**
* Deactivate all the edges for an irg.
* @param irg The graph.
* Deactivate data and block edges for an irg.
* If the irg phase is phase_backend, Dependence edges are
* additionally deactivated.
* @param irg The graph.
*/
void edges_deactivate(ir_graph *irg);
......
......@@ -118,14 +118,19 @@ ir_node *get_irn_n(const ir_node *node, int n);
/**
* Add a artificial dependency to the node.
* The dependency is only inserted if it is not there already.
* This is only allowed in phase_backend!
*
* @param node The node.
* @param dep The dependency target.
*
* @return The index in the array (get_irn_dep() with that index returns @p dep).
*/
int add_irn_dep(ir_node *node, ir_node *dep);
/**
* Copy all dependencies from a node to another.
* This is only allowed in phase_backend!
*
* @param tgt The node which should be enriched.
* @param src The node whose dependencies shall be copied.
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment