1 /* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe
3 ** All rights reserved.
5 ** Author: Goetz Lindenmaier
7 ** traverse the type information. The walker walks the whole ir graph
8 ** to find the distinct type trees in the type graph forest.
9 ** - execute the pre function before recursion
10 ** - execute the post function after recursion
14 /* walk over all type information reachable from the ir graph. */
19 # include "type_or_entity.h"
22 /** dumps all type information reachable from global roots **/
23 void type_walk(void (pre)(type_or_ent*, void*),
24 void (post)(type_or_ent*, void*),
27 /** dumps all type information reachable from irg **/
28 void type_walk_irg(ir_graph *irg,
29 void (pre)(type_or_ent*, void*),
30 void (post)(type_or_ent*, void*),
34 #endif /* _TYPEWALK_H_ */