(mostly) generic timimg
[libfirm] / ir / ana / irdom.h
index 975f759..12af237 100644 (file)
 # include "irnode.h"
 
 
-/* Accessing the dominator datastructure.
+/** Accessing the dominator datastructure.
  *
  * These routines only work properly if the ir_graph is in state
  * dom_consistent or dom_inconsistent.
+ *
+ * If the block is not reachable from Start, returns a Bad node.
  */
 ir_node *get_Block_idom(ir_node *bl);
 void set_Block_idom(ir_node *bl, ir_node *n);
@@ -60,10 +62,12 @@ void set_Block_pre_num(ir_node *bl, int num);
  *   idom = NULL;
  *   dom_depth = -1;
  *   pre_num = -1;
+ * Also constructs outs information.  As this information is correct after
+ * the run does not free the outs information.
  */
 void compute_doms(ir_graph *irg);
 
-/** Frees the dominator datastructures.  Sets the flag in irg to "no_dom". */
+/** Frees the dominator datastructures.  Sets the flag in irg to "dom_none". */
 void free_dom_and_peace(ir_graph *irg);
 
 #endif /* _IRDOM_H_ */