5 File name: ir/ana/pto_name.h
6 Purpose: Names for abstract objects
9 Created: Sat Nov 13 19:35:27 CET 2004
11 Copyright: (c) 1999-2004 Universität Karlsruhe
12 Licence: This file is protected by the GPL - GNU GENERAL PUBLIC LICENSE.
19 # include "pto_comp.h" /* for pto_t */
24 /* ===================================================
26 =================================================== */
28 /* ===================================================
30 =================================================== */
31 typedef enum desc_kind_enum {
37 /* abstract super class for all descriptors */
38 typedef struct desc_str
42 ir_node *node; /* allocation node */
43 struct desc_str *prev; /* linked list */
46 /* object descriptor */
47 typedef struct obj_desc_str
51 ir_node *node; /* allocation node */
52 struct desc_str *prev; /* linked list */
59 /* array descriptor */
60 typedef struct arr_desc_str
64 ir_node *node; /* allocation node */
65 struct desc_str *prev; /* linked list */
70 /* ===================================================
72 =================================================== */
73 /* get a new descriptor for the given type at the given node */
74 desc_t *new_name (type*, ir_node*);
76 /* get a new descriptor for the given (presumably static) entity */
77 desc_t *new_ent_name (entity*);
79 /* Initialise the name module */
80 void pto_name_init (void);
82 /* Cleanup the name module */
83 void pto_name_cleanup (void);
85 /* ===================================================
87 =================================================== */
90 # endif /* not defined _PTO_NAME_ */
96 Revision 1.2 2004/11/24 14:53:56 liekweg
99 Revision 1.1 2004/11/18 16:37:34 liekweg