- removed Psi nodes, Mux nodes are used again ...
[libfirm] / include / libfirm / irgraph.h
index 71020ec..6187d51 100644 (file)
@@ -236,16 +236,16 @@ void     set_irg_end_reg(ir_graph *irg, ir_node *node);
 ir_node *get_irg_end_except(const ir_graph *irg);
 void     set_irg_end_except(ir_graph *irg, ir_node *node);
 
+/** Returns the node that represents the initial control flow of the given IR graph. */
+ir_node *get_irg_initial_exec(const ir_graph *irg);
+/** Sets the node that represents the initial control of the given IR graph. */
+void     set_irg_initial_exec(ir_graph *irg, ir_node *node);
+
 /** Returns the node that represents the frame pointer of the given IR graph. */
 ir_node *get_irg_frame(const ir_graph *irg);
 /** Sets the node that represents the frame pointer of the given IR graph. */
 void     set_irg_frame(ir_graph *irg, ir_node *node);
 
-/** Returns the node that represents the global pointer of the given IR graph. */
-ir_node *get_irg_globals(const ir_graph *irg);
-/** Sets the node that represents the global pointer of the given IR graph. */
-void     set_irg_globals(ir_graph *irg, ir_node *node);
-
 /** Returns the node that represents the tls pointer of the given IR graph. */
 ir_node *get_irg_tls(const ir_graph *irg);
 /** Sets the node that represents the tls pointer of the given IR graph. */
@@ -515,22 +515,28 @@ void          set_irg_block_visited(ir_graph *irg, unsigned long i);
 void set_using_block_visited(ir_graph *irg);
 void clear_using_block_visited(ir_graph *irg);
 int  using_block_visited(const ir_graph *irg);
-void set_using_visited(ir_graph *irg);
-void clear_using_visited(ir_graph *irg);
-int  using_visited(const ir_graph *irg);
+void set_using_irn_visited(ir_graph *irg);
+void clear_using_irn_visited(ir_graph *irg);
+int  using_irn_visited(const ir_graph *irg);
 void set_using_irn_link(ir_graph *irg);
 void clear_using_irn_link(ir_graph *irg);
 int  using_irn_link(const ir_graph *irg);
+void set_using_block_mark(ir_graph *irg);
+void clear_using_block_mark(ir_graph *irg);
+int  using_block_mark(const ir_graph *irg);
 #else
-static INLINE void set_using_block_visited(ir_graph *irg) { (void) irg; }
-static INLINE void clear_using_block_visited(ir_graph *irg) { (void) irg; }
-static INLINE int using_block_visited(const ir_graph *irg) { (void) irg; return 0; }
-static INLINE void set_using_visited(ir_graph *irg) { (void) irg; }
-static INLINE void clear_using_visited(ir_graph *irg) { (void) irg; }
-static INLINE int using_visited(const ir_graph *irg) { (void) irg; return 0; }
-static INLINE void set_using_irn_link(ir_graph *irg) { (void) irg; }
-static INLINE void clear_using_irn_link(ir_graph *irg) { (void) irg; }
-static INLINE int using_irn_link(const ir_graph *irg) { (void) irg; return 0; }
+#define set_using_block_visited(irg)
+#define clear_using_block_visited(irg)
+#define using_block_visited(irg)        0
+#define set_using_irn_visited(irg)
+#define clear_using_irn_visited(irg)
+#define using_irn_visited(irg)          0
+#define set_using_irn_link(irg)
+#define clear_using_irn_link(irg)
+#define using_irn_link(irg)             0
+#define set_using_block_mark(irg)
+#define clear_using_block_mark(irg)
+#define using_block_mark(irg)           0
 #endif
 
 /** Normalization: Move Proj nodes into the same block as its predecessors */