X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbeifg.h;h=0fc3ccf46dafc950f9494e4b016a332728f0c039;hb=df2faee01a5832057bb3ca0ba5f67e979c916e19;hp=38ec52debe6f4a71ed6ad3b470320ccae7d06623;hpb=7a178059678ff6c6094a7cd8fac5644367417102;p=libfirm diff --git a/ir/be/beifg.h b/ir/be/beifg.h index 38ec52deb..0fc3ccf46 100644 --- a/ir/be/beifg.h +++ b/ir/be/beifg.h @@ -22,22 +22,18 @@ * @brief Interface for interference graphs. * @author Sebastian Hack * @date 18.11.2005 - * @version $Id$ */ #ifndef FIRM_BE_BEIFG_H #define FIRM_BE_BEIFG_H -#include - -#include "irnode.h" +#include "be_types.h" +#include "bechordal.h" #include "irnodeset.h" +#include "pset.h" -#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 +98,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