Used new arch_dep names
[libfirm] / ir / ir / irgraph.h
index 9c051cb..edceb00 100644 (file)
@@ -281,10 +281,13 @@ typedef enum {
   loopinfo_cf               = 4,       /**< Loop information constructed for control flow only. */
   loopinfo_inter            = 8,       /**< Loop information for interprocedural view. */
 
+  loopinfo_for_firmjni      = 16,      /**< A hack for firmjni:  all enums must differ as they
+                                         are used in a switch. */
+
   /** IntRAprocedural loop information constructed and valid. */
   loopinfo_consistent         = loopinfo_constructed | loopinfo_valid,
   /** IntRAprocedural loop information constructed and invalid. */
-  loopinfo_inconsistent       = loopinfo_constructed,
+  loopinfo_inconsistent       = loopinfo_constructed | loopinfo_for_firmjni,
 
   /** IntERprocedural loop information constructed and valid. */
   loopinfo_ip_consistent      = loopinfo_constructed | loopinfo_inter | loopinfo_valid,
@@ -307,8 +310,6 @@ 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);
-/** Returns true if irg has consistent loop info. */
-int get_irg_loopinfo_state_consistent(ir_graph *irg);
 
 /** state: callee_information_state
  *  Call nodes contain a list of possible callees.  This list must be
@@ -354,4 +355,7 @@ void          inc_irg_block_visited (ir_graph *irg);
 unsigned long get_irg_block_visited (ir_graph *irg);
 void          set_irg_block_visited (ir_graph *irg, unsigned long i);
 
+/* is irg a pseudo graph for analysis? */
+int      is_pseudo_ir_graph(ir_graph *irg);
+
 # endif /* _IRGRAPH_H_ */