ir_graph *get_current_ir_graph(void);
void set_current_ir_graph(ir_graph *graph);
+#ifdef INTERPROCEDURAL_VIEW
/** This flag indicate the current view. The behavior of some methods
* (get_irn_*, set_irn_*) is influenced by this flag. */
int get_interprocedural_view(void);
void set_interprocedural_view(int state);
+#else
+#define get_interprocedural_view() 0
+#endif
/**
* Create a new ir graph to build ir for a procedure.
static INLINE int using_irn_link(const ir_graph *irg) { (void) irg; return 0; }
#endif
+/** Normalization: Move Proj nodes into the same block as its predecessors */
+void normalize_proj_nodes(ir_graph *irg);
+
/** set a description for local value n */
void set_irg_loc_description(ir_graph *irg, int n, void *description);