add an is_Quot function
[libfirm] / ir / ana2 / pto_name.h
index cbc28f3..a3f0342 100644 (file)
@@ -39,9 +39,10 @@ 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;
@@ -51,14 +52,15 @@ 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 */
 
   int n_fields;
-  entity **fields;
+  ir_entity **fields;
   qset_t **values;
 } obj_desc_t;
 
@@ -67,9 +69,10 @@ 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 */
 
@@ -83,13 +86,13 @@ typedef struct arr_desc_str
 void pto_dump_names (const char*);
 
 /* Find the given descriptor's entry for the given entity */
-qset_t *get_entry (desc_t*, entity*);
+qset_t *get_entry (desc_t*, ir_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*);
+desc_t *new_ent_name (ir_entity*);
 
 /* Initialise the name module */
 void pto_name_init (void);
@@ -108,6 +111,15 @@ void pto_name_cleanup (void);
 \f
 /*
   $Log$
+  Revision 1.8  2006/12/13 19:46:47  beck
+  rename type entity into ir_entity
+
+  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