libFirm
irverify.h
1 /*
2  * This file is part of libFirm.
3  * Copyright (C) 2012 University of Karlsruhe.
4  */
5 
11 #ifndef FIRM_IR_IRVERIFY_H
12 #define FIRM_IR_IRVERIFY_H
13 
14 #include "firm_types.h"
15 #include "begin.h"
16 
28 FIRM_API int irn_verify(const ir_node *node);
29 
38 FIRM_API int irg_verify(ir_graph *irg);
39 
44 FIRM_API void irg_assert_verify(ir_graph *irg);
45 
48 #include "end.h"
49 
50 #endif
int irn_verify(const ir_node *node)
Tests node for well-formedness.
void irg_assert_verify(ir_graph *irg)
Convenience function: Checks graph for errors, in case of error the graph is dumped to a file with "-...
int irg_verify(ir_graph *irg)
Calls irn_verify() for each node in irg.
struct ir_node ir_node
Procedure Graph Node.
Definition: firm_types.h:53
struct ir_graph ir_graph
Procedure Graph.
Definition: firm_types.h:74