-/**
- * Returns true if an address represents a global variable.
- *
- * @param irn the node representing the address
- */
-static INLINE int is_global_var(ir_node *irn) {
- return is_SymConst_addr_ent(irn);
-} /* is_global_var */
-
-/**
- * classify storage locations.
- * Except STORAGE_CLASS_POINTER they are all disjoint.
- * STORAGE_CLASS_POINTER potentially aliases all classes which don't have a
- * NOTTAKEN modifier.
- */
-typedef enum {
- STORAGE_CLASS_POINTER = 0x0000,
- STORAGE_CLASS_GLOBALVAR = 0x0001,
- STORAGE_CLASS_LOCALVAR = 0x0002,
- STORAGE_CLASS_ARGUMENT = 0x0003,
- STORAGE_CLASS_TLS = 0x0004,
- STORAGE_CLASS_MALLOCED = 0x0005,
-
- STORAGE_CLASS_MODIFIER_NOTTAKEN = 0x1000,
-} storage_class_class_t;
-