renamed function optimize to optimize_node
[libfirm] / ir / ir / irvrfy.h
1 /* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe
2 * All rights reserved.
3 *
4 * Author: Christian Schaefer
5 *
6 * irgraph.h: ir graph verification
7 */
8
9 /* $Id$ */
10
11 # ifndef _IRVRFY_H_
12 # define _IRVRFY_H_
13
14 # include "irnode.h"
15 # include "irgraph.h"
16
17 /* Tests the modes of chechnode and its predecessors.
18    Checknode must be in current_ir_graph. */
19 void irn_vrfy (struct ir_node *checknode);
20
21 /* Calls irn_vrfy for each node in irg.
22    Graph must be in state "pinned".*/
23 void irg_vrfy (ir_graph *irg);
24
25
26 # endif /* _IRVRFY_H_ */