+/**
+ * Retrieve the scheduled index (the "step") of this node in its
+ * block.
+ *
+ * @param node the node
+ */
+static inline unsigned get_step(const ir_node *node)
+{
+ return (unsigned)PTR_TO_INT(get_irn_link(node));
+}
+
+/**
+ * Set the scheduled index (the "step") of this node in its
+ * block.
+ *
+ * @param node the node
+ * @param step the scheduled index of the node
+ */
+static inline void set_step(ir_node *node, unsigned step)
+{
+ set_irn_link(node, INT_TO_PTR(step));
+}
+
+/**
+ * Find the next use of a value defined by def, starting at node from.
+ *
+ * @param env the uses environment
+ * @param from the node at which we should start the search
+ * @param def the definition of the value
+ * @param skip_from_uses if non-zero, ignore from uses
+ */