indentation fixed
[libfirm] / include / libfirm / firm_types.h
index e0028d5..4749dda 100644 (file)
@@ -44,6 +44,7 @@ typedef unsigned long long ulong64;
 
 typedef unsigned long ir_visited_t;
 typedef unsigned long ir_exc_region_t;
+typedef unsigned long ir_label_t;
 
 typedef struct dbg_info             dbg_info,            *dbg_info_ptr;
 typedef const struct _ident         ident,               *ir_ident_ptr;
@@ -72,4 +73,20 @@ typedef void irg_reg_walk_func(ir_region *, void *);
 typedef struct ir_settings_arch_dep_t ir_settings_arch_dep_t;
 typedef struct ir_settings_if_conv_t  ir_settings_if_conv_t;
 
+/* states */
+
+/** The state of the interprocedural view.
+ *
+ * This value indicates the state of the interprocedural view.
+ */
+typedef enum {
+       ip_view_no,       /**< The interprocedural view is not constructed.  There are no
+                              view specific nodes (EndReg, Filter, Break ...) in any graph.  */
+       ip_view_valid,    /**< The interprocedural view is valid.  */
+       ip_view_invalid   /**< The interprocedural view is invalid.  Specific nodes are
+                              all still in the representation, but the graph is no more complete. */
+} ip_view_state;
+
+
+
 #endif