*** empty log message ***
[libfirm] / ir / tr / typewalk.h
1 /* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe
2
3 ** All rights reserved.
4 **
5 ** Author: Goetz Lindenmaier
6 **
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
11 */
12
13
14 /* walk over all type information reachable from the ir graph. */
15
16
17
18 # include "type_or_entity.h"
19
20 void type_walk(ir_graph *irg,
21               void (pre)(type_or_ent*, void*), void (post)(type_or_ent*, void*),
22               void *env);