X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fana%2Firdom.h;h=12af2371b5b9175d0ce5c653cbb8bb89b3000349;hb=73eef69c89c2181e7ed3a2f7c09cdaa0f6d997e5;hp=73db60ba5bdd6796b62fc49937b34cf908429669;hpb=8a5c0280427db7d5e37737c3b79b80de5b304f5f;p=libfirm diff --git a/ir/ana/irdom.h b/ir/ana/irdom.h index 73db60ba5..12af2371b 100644 --- a/ir/ana/irdom.h +++ b/ir/ana/irdom.h @@ -33,10 +33,12 @@ # 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); @@ -65,7 +67,7 @@ void set_Block_pre_num(ir_node *bl, int num); */ 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_ */