X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fana2%2Fpto_name.h;h=09191c924f1aa49c5317bfe1d763fa942945eba4;hb=ff244fb7355c6120cf0f15ba7911b473bb91c64b;hp=fd227278e5a9e2c3dfc38f7e5758fe8f1a363c3e;hpb=51f81d66d0833b57c8af5258d91499abc8464d5e;p=libfirm diff --git a/ir/ana2/pto_name.h b/ir/ana2/pto_name.h index fd227278e..09191c924 100644 --- a/ir/ana2/pto_name.h +++ b/ir/ana2/pto_name.h @@ -38,8 +38,11 @@ typedef enum desc_kind_enum { typedef struct desc_str { int id; + int visit; + int ctx; + int col_idx; desc_kind_t kind; - type *tp; + ir_type *tp; ir_node *node; /* allocation node */ struct desc_str *prev; /* linked list */ } desc_t; @@ -48,8 +51,11 @@ typedef struct desc_str typedef struct obj_desc_str { int id; + int visit; + int ctx; + int col_idx; desc_kind_t kind; - type *tp; + ir_type *tp; ir_node *node; /* allocation node */ struct desc_str *prev; /* linked list */ @@ -62,8 +68,11 @@ typedef struct obj_desc_str typedef struct arr_desc_str { int id; + int visit; + int ctx; + int col_idx; desc_kind_t kind; - type *tp; + ir_type *tp; ir_node *node; /* allocation node */ struct desc_str *prev; /* linked list */ @@ -74,13 +83,13 @@ typedef struct arr_desc_str Global Prototypes: =================================================== */ /* Dump all names to a file of the given name */ -void pto_dump (const char*); +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 (ir_type*, ir_node*, int); /* get a new descriptor for the given (presumably static) entity */ desc_t *new_ent_name (entity*); @@ -102,6 +111,18 @@ void pto_name_cleanup (void); /* $Log$ + Revision 1.7 2006/01/13 22:00:15 beck + renamed all types 'type' to 'ir_type' + + 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