X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbenode_t.h;h=2e0ce0e00c7f229f3e044286f6f793a0dc3cb7bf;hb=36c6b99832fbea890115a89d3122d5399c7164a0;hp=7d2f37ee3b88934b63ed7be061d65f01ed3eb37a;hpb=b269a558ba158e761c06161b14e4208c85a07955;p=libfirm diff --git a/ir/be/benode_t.h b/ir/be/benode_t.h index 7d2f37ee3..2e0ce0e00 100644 --- a/ir/be/benode_t.h +++ b/ir/be/benode_t.h @@ -151,12 +151,19 @@ ir_node *be_new_SetSP(const arch_register_t *sp, ir_graph *irg, ir_node *bl, ir_ */ ir_node *be_new_IncSP(const arch_register_t *sp, ir_graph *irg, ir_node *bl, ir_node *old_sp, ir_node *mem, unsigned amount, be_stack_dir_t dir); +/** Returns the previous node that computes the stack pointer. */ +ir_node *be_get_IncSP_pred(ir_node *incsp); - +/** Sets a new offset to a IncSP node. */ void be_set_IncSP_offset(ir_node *irn, unsigned offset); + +/** Gets the offset from a IncSP node. */ unsigned be_get_IncSP_offset(const ir_node *irn); +/** Sets a new direction to a IncSP node. */ void be_set_IncSP_direction(ir_node *irn, be_stack_dir_t dir); + +/** Gets the direction from a IncSP node. */ be_stack_dir_t be_get_IncSP_direction(const ir_node *irn); /** Gets the call entity or NULL if this is no static call. */