- further refactoring and finally eliminated the callback for get_out_reg_reqs
[libfirm] / ir / be / arm / arm_new_nodes.h
index c7b1a50..6d4637f 100644 (file)
@@ -53,10 +53,10 @@ arm_SymConst_attr_t *get_arm_SymConst_attr(ir_node *node);
 const arm_SymConst_attr_t *get_arm_SymConst_attr_const(const ir_node *node);
 
 /**
- * Returns the attributes of an ARM CompareAndBranch node.
+ * Returns the attributes of an ARM CondJmp node.
  */
-arm_CondJmp_attr_t *get_arm_CmpBra_attr(ir_node *node);
-const arm_CondJmp_attr_t *get_arm_CmpBra_attr_const(const ir_node *node);
+arm_CondJmp_attr_t *get_arm_CondJmp_attr(ir_node *node);
+const arm_CondJmp_attr_t *get_arm_CondJmp_attr_const(const ir_node *node);
 
 /**
  * Returns the attributes of an ARM SwitchJmp node.
@@ -69,90 +69,35 @@ const arm_SwitchJmp_attr_t *get_arm_SwitchJmp_attr_const(const ir_node *node);
  */
 const arch_register_req_t **get_arm_in_req_all(const ir_node *node);
 
-/**
- * Returns the result register requirements of an arm node.
- */
-const arch_register_req_t **get_arm_out_req_all(const ir_node *node);
-
 /**
  * Returns the argument register requirements of an arm node.
  */
 const arch_register_req_t *get_arm_in_req(const ir_node *node, int pos);
 
-/**
- * Returns the result register requirements of an arm node.
- */
-const arch_register_req_t *get_arm_out_req(const ir_node *node, int pos);
-
-/**
- * Sets the OUT register requirements at position pos.
- */
-void set_arm_req_out(ir_node *node, const arch_register_req_t *req, int pos);
-
-/**
- * Sets the complete OUT requirements of node.
- */
-void set_arm_req_out_all(ir_node *node, const arch_register_req_t **reqs);
-
 /**
  * Sets the IN register requirements at position pos.
  */
 void set_arm_req_in(ir_node *node, const arch_register_req_t *req, int pos);
 
 /**
- * Returns the register flag of an arm node.
- */
-arch_irn_flags_t get_arm_flags(const ir_node *node);
-
-/**
- * Sets the register flag of an arm node.
+ * Returns the immediate value
  */
-void set_arm_flags(ir_node *node, arch_irn_flags_t flags);
+long get_arm_imm_value(const ir_node *node);
 
 /**
- * Returns the result register slots of an arm node.
+ * Sets the immediate value
  */
-const arch_register_t **get_arm_slots(const ir_node *node);
+void set_arm_imm_value(ir_node *node, long imm_value);
 
 /**
- * Returns the name of the OUT register at position pos.
- */
-const char *get_arm_out_reg_name(const ir_node *node, int pos);
-
-/**
- * Returns the index of the OUT register at position pos within its register class.
- */
-int get_arm_out_regnr(const ir_node *node, int pos);
+* Return the tarval of a fpaConst
+*/
+tarval *get_fpaConst_value(const ir_node *node);
 
 /**
- * Returns the OUT register at position pos.
+ * Sets the tarval of a fpaConst
  */
-const arch_register_t *get_arm_out_reg(const ir_node *node, int pos);
-
-/**
- * Returns the number of results.
- */
-int get_arm_n_res(const ir_node *node);
-
-/**
- * Sets the flags for the n'th out.
- */
-void set_arm_out_flags(ir_node *node, arch_irn_flags_t flags, int pos);
-
-/**
- * Gets the flags for the n'th out.
- */
-arch_irn_flags_t get_arm_out_flags(const ir_node *node, int pos);
-
-/**
- * Returns the tarval
- */
-tarval *get_arm_value(const ir_node *node);
-
-/**
- * Sets the tarval
- */
-void set_arm_value(ir_node *node, tarval *tv);
+void set_fpaConst_value(ir_node *node, tarval *tv);
 
 /**
  * Returns the proj num
@@ -195,11 +140,6 @@ void set_arm_SwitchJmp_default_proj_num(ir_node *node, long default_proj_num);
  */
 arm_shift_modifier get_arm_shift_modifier(const ir_node *node);
 
-/**
- * Decode an immediate with shifter operand
- */
-unsigned int arm_decode_imm_w_shift(tarval *tv);
-
 /* Include the generated headers */
 #include "gen_arm_new_nodes.h"