3 * File name: ir/ir/irvrfy.h
4 * Purpose: Check irnodes for correctness.
5 * Author: Christian Schaefer
6 * Modified by: Goetz Lindenmaier. Till Riedel
9 * Copyright: (c) 1998-2003 Universität Karlsruhe
10 * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE.
16 * ir graph verification.
18 * @author Christian Schaefer
28 * Tests the modes of chechnode and its predecessors.
29 * Checknode must be in current_ir_graph.
34 int irn_vrfy(struct ir_node *checknode);
37 * Tests the modes of checknode and its predecessors.
38 * Checknode must be in given ir_graph.
43 int irn_vrfy_irg(struct ir_node *checknode, ir_graph *irg);
47 * Calls irn_vrfy for each node in irg.
48 * Graph must be in state "pinned".
51 * NON-zero on success.
53 int irg_vrfy(ir_graph *irg);
56 # endif /* _IRVRFY_H_ */