X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fana2%2Fpto_name.h;h=fb75d5e0ed87427289a2e55d6aaf91e908ddd890;hb=aec2ca30abe2ff7d0053c29dfc8ee517672bb3c1;hp=3839f2c033c27605fd0bfe36312490a3576e7e11;hpb=d07b7388a477ce7ce7ceb5fcf427b8db040ff55e;p=libfirm diff --git a/ir/ana2/pto_name.h b/ir/ana2/pto_name.h index 3839f2c03..fb75d5e0e 100644 --- a/ir/ana2/pto_name.h +++ b/ir/ana2/pto_name.h @@ -37,6 +37,10 @@ typedef enum desc_kind_enum { /* abstract super class for all descriptors */ typedef struct desc_str { + int id; + int visit; + int ctx; + int col_idx; desc_kind_t kind; type *tp; ir_node *node; /* allocation node */ @@ -46,6 +50,10 @@ typedef struct desc_str /* object descriptor */ typedef struct obj_desc_str { + int id; + int visit; + int ctx; + int col_idx; desc_kind_t kind; type *tp; ir_node *node; /* allocation node */ @@ -59,6 +67,10 @@ typedef struct obj_desc_str /* array descriptor */ typedef struct arr_desc_str { + int id; + int visit; + int ctx; + int col_idx; desc_kind_t kind; type *tp; ir_node *node; /* allocation node */ @@ -70,8 +82,14 @@ typedef struct arr_desc_str /* =================================================== Global Prototypes: =================================================== */ +/* Dump all names to a file of the given name */ +void pto_dump_names (const char*); + +/* Find the given descriptor's entry for the given entity */ +qset_t *get_entry (desc_t*, entity*); + /* get a new descriptor for the given type at the given node */ -desc_t *new_name (type*, ir_node*); +desc_t *new_name (type*, ir_node*, int); /* get a new descriptor for the given (presumably static) entity */ desc_t *new_ent_name (entity*); @@ -93,6 +111,18 @@ void pto_name_cleanup (void); /* $Log$ + Revision 1.6 2004/12/15 13:30:41 liekweg + print yet nicer names + + Revision 1.5 2004/12/06 12:52:09 liekweg + colorize name dump + + Revision 1.4 2004/11/30 15:49:27 liekweg + include 'dump' + + Revision 1.3 2004/11/30 14:47:54 liekweg + fix initialisation; do correct iteration + Revision 1.2 2004/11/24 14:53:56 liekweg Bugfixes