X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbeifg.h;h=7b548438b959eecb277ca7ada99a0f529acb9e83;hb=5474a1c188c9d59eea2c915515980cd9cbab58d8;hp=f0da29d023ffe3bc619c46f8138bb1b723bfb08c;hpb=1a3b7d363474ab544c13093a2f0b578718d37c7a;p=libfirm diff --git a/ir/be/beifg.h b/ir/be/beifg.h index f0da29d02..7b548438b 100644 --- a/ir/be/beifg.h +++ b/ir/be/beifg.h @@ -22,7 +22,6 @@ * @brief Interface for interference graphs. * @author Sebastian Hack * @date 18.11.2005 - * @version $Id$ */ #ifndef FIRM_BE_BEIFG_H #define FIRM_BE_BEIFG_H @@ -35,9 +34,9 @@ #include "becopyopt.h" #include "beirg.h" -typedef struct be_ifg_t { +struct be_ifg_t { const be_chordal_env_t *env; -} be_ifg_t; +}; typedef struct nodes_iter_t { const be_chordal_env_t *env; @@ -102,24 +101,4 @@ void be_ifg_stat(ir_graph *irg, be_ifg_t *ifg, be_ifg_stat_t *stat); be_ifg_t *be_create_ifg(const be_chordal_env_t *env); -/* - ____ _ - | _ \ _ _ _ __ ___ _ __ (_)_ __ __ _ - | | | | | | | '_ ` _ \| '_ \| | '_ \ / _` | - | |_| | |_| | | | | | | |_) | | | | | (_| | - |____/ \__,_|_| |_| |_| .__/|_|_| |_|\__, | - |_| |___/ -*/ - -typedef struct be_ifg_dump_dot_cb_t { - int (*is_dump_node)(void *self, ir_node *irn); - void (*graph_attr)(FILE *f, void *self); - void (*node_attr)(FILE *f, void *self, ir_node *irn); - void (*edge_attr)(FILE *f, void *self, ir_node *from, ir_node *to); - void (*at_begin)(FILE *file, void *self); - void (*at_end)(FILE *file, void *self); -} be_ifg_dump_dot_cb_t; - -void be_ifg_dump_dot(be_ifg_t *ifg, ir_graph *irg, FILE *file, const be_ifg_dump_dot_cb_t *cb, void *self); - #endif