Added beinsn.c
[libfirm] / ir / be / benode_t.h
index 1a2a78d..8a43289 100644 (file)
@@ -157,6 +157,12 @@ ir_node *be_new_IncSP(const arch_register_t *sp, ir_graph *irg, ir_node *bl, ir_
 /** 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);
+
 /** Sets a new offset to a IncSP node. */
 void     be_set_IncSP_offset(ir_node *irn, unsigned offset);
 
@@ -208,7 +214,7 @@ ir_node *be_new_RegParams(ir_graph *irg, ir_node *bl, int n_out);
 
 ir_node *be_new_Barrier(ir_graph *irg, ir_node *bl, int n, ir_node *in[]);
 
-ir_node *be_spill(const arch_env_t *arch_env, ir_node *irn,ir_node *spill_ctx);
+ir_node *be_spill(const arch_env_t *arch_env, ir_node *irn, ir_node *spill_ctx);
 ir_node *be_reload(const arch_env_t *arch_env, const arch_register_class_t *cls, ir_node *reloader, ir_mode *mode, ir_node *spill);
 
 ir_node *be_new_CopyKeep(const arch_register_class_t *cls, ir_graph *irg, ir_node *bl, ir_node *src, int n, ir_node *in_keep[], ir_mode *mode);