phase handling
[libfirm] / ir / ir / irgraph.h
index 792c8d5..4282b3b 100644 (file)
@@ -259,10 +259,16 @@ typedef enum {
   loopinfo_consistent,      /**< IntRAprocedural loop information constructed and valid. */
   loopinfo_inconsistent,    /**< IntRAprocedural loop information constructed and invalid. */
   loopinfo_ip_consistent,   /**< IntERprocedural loop information constructed and valid. */
-  loopinfo_ip_inconsistent  /**< IntERprocedural loop information constructed and invalid. */
+  loopinfo_ip_inconsistent, /**< IntERprocedural loop information constructed and invalid. */
+  loopinfo_cf_consistent,      /**< IntRAprocedural control loop information constructed and valid. */
+  loopinfo_cf_inconsistent,    /**< IntRAprocedural control loop information constructed and invalid. */
+  loopinfo_cf_ip_consistent,   /**< IntERprocedural control loop information constructed and valid. */
+  loopinfo_cf_ip_inconsistent  /**< IntERprocedural control loop information constructed and invalid. */
 } irg_loopinfo_state;
 irg_loopinfo_state get_irg_loopinfo_state(ir_graph *irg);
 void set_irg_loopinfo_state(ir_graph *irg, irg_loopinfo_state s);
+/* Sets the loopinformation state to the appropriate inconsistent state.
+   If state is 'none' does not change. */
 void set_irg_loopinfo_inconsistent(ir_graph *irg);