2 * This file is part of libFirm.
3 * Copyright (C) 2012 University of Karlsruhe.
8 * @author Sebastian Hack
12 * An abstract graph "interface". Currently
13 * only used by the DFS facility.
15 * This is just that we can do some graph algos
16 * on the CFG, dominance tree, etc.
18 #ifndef FIRM_ANA_ABSGRAPH_H
19 #define FIRM_ANA_ABSGRAPH_H
23 typedef struct absgraph_t {
24 void *(*get_root)(void *self);
25 void (*grow_succs)(void *self, void *node, struct obstack *obst);
26 void *(*get_end)(void *self);
29 extern const absgraph_t absgraph_irg_cfg_succ;
30 extern const absgraph_t absgraph_irg_cfg_pred;
32 #endif /* FIRM_ANA_ABSGRAPH_H */