X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firgraph.h;h=edceb0034957f04c983e0897fb01ac04396cf94e;hb=7b11a6af3b0c4bcfa0ae17dc28a70008eefd6b9d;hp=9c051cbd4dc2119d98f6222a4e31b6c2f3d9f985;hpb=330d4a59ef714201ba03b229029af29d68ee13a2;p=libfirm diff --git a/ir/ir/irgraph.h b/ir/ir/irgraph.h index 9c051cbd4..edceb0034 100644 --- a/ir/ir/irgraph.h +++ b/ir/ir/irgraph.h @@ -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_ */