make it possible to have different compare functions for different backend node attri...
[libfirm] / ir / be / arm / arm_new_nodes.h
index 4fe2b9e..1ace387 100644 (file)
@@ -110,11 +110,6 @@ int get_arm_out_regnr(const ir_node *node, int pos);
  */
 const arch_register_t *get_arm_out_reg(const ir_node *node, int pos);
 
-/**
- * Sets the number of results.
- */
-void set_arm_n_res(ir_node *node, int n_res);
-
 /**
  * Returns the number of results.
  */
@@ -146,8 +141,8 @@ int get_arm_proj_num(const ir_node *node);
  */
 void set_arm_proj_num(ir_node *node, int proj_num);
 
-const char *get_arm_symconst_label(ir_node *node);
-void set_arm_symconst_label(ir_node *node, const char *symconst_label);
+ident *get_arm_symconst_id(const ir_node *node);
+void set_arm_symconst_id(ir_node *node, ident *symconst_id);
 
 ir_node *new_r_arm_StoreStackMInc(ir_graph *irg, ir_node *block, ir_node *mem, ir_node *sp,
                                                              int n_regs, ir_node **regs, ir_mode *mode);
@@ -155,7 +150,7 @@ ir_node *new_r_arm_StoreStackMInc(ir_graph *irg, ir_node *block, ir_node *mem, i
 /**
  * Returns the number of projs.
  */
-int get_arm_n_projs(ir_node *node);
+int get_arm_n_projs(const ir_node *node);
 
 /**
  * Sets the number of projs.
@@ -165,7 +160,7 @@ void set_arm_n_projs(ir_node *node, int n_projs);
 /**
  * Returns the default_proj_num.
  */
-long get_arm_default_proj_num(ir_node *node);
+long get_arm_default_proj_num(const ir_node *node);
 
 /**
  * Sets the default_proj_num.
@@ -175,7 +170,7 @@ void set_arm_default_proj_num(ir_node *node, long default_proj_num);
 /**
  * Gets the shift modifier attribute.
  */
-arm_shift_modifier get_arm_shift_modifier(ir_node *node);
+arm_shift_modifier get_arm_shift_modifier(const ir_node *node);
 
 /**
  * Decode an immediate with shifter operand