+ variability not uninitialized. Must be set for variability constant. */
+} compound_ent_attr;
+
+/** a reserved value for "not yet set" */
+#define VTABLE_NUM_NOT_SET ((unsigned)(-1))
+
+/** attributes for methods */
+typedef struct method_ent_attr {
+ ir_graph *irg; /**< The corresponding irg if known.
+ The ir_graph constructor automatically sets this field. */
+ unsigned irg_add_properties; /**< Additional graph properties can be
+ stored in a entity if no irg is available. */
+
+ unsigned vtable_number; /**< For a dynamically called method, the number assigned
+ in the virtual function table. */
+
+ ptr_access_kind *param_access; /**< the parameter access */
+ float *param_weight; /**< The weight of method's parameters. Parameters
+ with a high weight are good for procedure cloning. */
+} method_ent_attr;
+
+
+/** the type of an entity */
+struct entity {
+ firm_kind kind; /**< The dynamic type tag for entity. */
+ ident *name; /**< The name of this entity. */
+ ident *ld_name; /**< Unique name of this entity, i.e., the mangled
+ name. If the field is read before written a default
+ mangling is applies. The name of the owner is prepended
+ to the name of the entity, separated by a underscore.
+ E.g., for a class `A' with field `a' this
+ is the ident for `A_a'. */
+ ir_type *type; /**< The type of this entity, e.g., a method type, a
+ basic type of the language or a class itself. */
+ ir_type *owner; /**< The compound type (e.g. class type) this entity belongs to. */
+ ent_allocation allocation; /**< Distinguishes static and dynamically allocated
+ entities and some further cases. */
+ visibility visibility; /**< Specifies visibility to external program
+ fragments. */
+ ent_variability variability; /**< Specifies variability of entities content. */
+ ent_volatility volatility; /**< Specifies volatility of entities content. */
+ ent_stickyness stickyness; /**< Specifies whether this entity is sticky. */
+ int offset; /**< Offset in bits for this entity. Fixed when layout
+ of owner is determined. */
+ peculiarity peculiarity; /**< The peculiarity of this entity. */
+ unsigned long visit; /**< visited counter for walks of the type information. */
+ struct dbg_info *dbi; /**< A pointer to information for debug support. */
+ void *link; /**< To store some intermediate information. */