return get_irn_n(irn, 0);
}
+void *be_set_IncSP_pred(ir_node *incsp, ir_node *pred) {
+ assert(be_is_IncSP(incsp));
+ set_irn_n(incsp, 0, pred);
+}
+
ir_node *be_get_IncSP_mem(ir_node *irn) {
assert(be_is_IncSP(irn));
return get_irn_n(irn, 1);
/** Returns the previous node that computes the stack pointer. */
ir_node *be_get_IncSP_pred(ir_node *incsp);
+/** Sets the previous node that computes the stack pointer. */
+void *be_set_IncSP_pred(ir_node *incsp, ir_node *pred);
+
/** Returns the memory input of the IncSP. */
ir_node *be_get_IncSP_mem(ir_node *irn);