share common phi code, fix missing phi input reqs
[libfirm] / ir / be / arm / arm_new_nodes.h
index 0984434..93813b7 100644 (file)
@@ -21,7 +21,6 @@
  * @file
  * @brief   Function prototypes for the assembler ir node constructors.
  * @author  Oliver Richter, Tobias Gneist
- * @version $Id$
  */
 #ifndef FIRM_BE_ARM_ARM_NEW_NODES_H
 #define FIRM_BE_ARM_ARM_NEW_NODES_H
@@ -56,64 +55,41 @@ const arm_SwitchJmp_attr_t *get_arm_SwitchJmp_attr_const(const ir_node *node);
 arm_load_store_attr_t *get_arm_load_store_attr(ir_node *node);
 const arm_load_store_attr_t *get_arm_load_store_attr_const(const ir_node *node);
 
-/**
- * Returns the argument register requirements of an arm node.
- */
-const arch_register_req_t **get_arm_in_req_all(const ir_node *node);
+arm_shifter_operand_t *get_arm_shifter_operand_attr(ir_node *node);
+const arm_shifter_operand_t *get_arm_shifter_operand_attr_const(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);
+arm_cmp_attr_t *get_arm_cmp_attr(ir_node *node);
+const arm_cmp_attr_t *get_arm_cmp_attr_const(const ir_node *node);
 
-/**
- * Sets the IN register requirements at position pos.
- */
-void set_arm_req_in(ir_node *node, const arch_register_req_t *req, int pos);
+arm_farith_attr_t *get_arm_farith_attr(ir_node *node);
+const arm_farith_attr_t *get_arm_farith_attr_const(const ir_node *node);
+
+arm_CopyB_attr_t *get_arm_CopyB_attr(ir_node *node);
+const arm_CopyB_attr_t *get_arm_CopyB_attr_const(const ir_node *node);
 
 /**
-* Return the tarval of a fpaConst
+* Return the tarval of a fConst
 */
-tarval *get_fpaConst_value(const ir_node *node);
+ir_tarval *get_fConst_value(const ir_node *node);
 
 /**
- * Sets the tarval of a fpaConst
+ * Sets the tarval of a fConst
  */
-void set_fpaConst_value(ir_node *node, tarval *tv);
+void set_fConst_value(ir_node *node, ir_tarval *tv);
 
 /**
- * Returns the proj num
+ * Returns the compare kind
  */
-int get_arm_CondJmp_proj_num(const ir_node *node);
+ir_relation get_arm_CondJmp_relation(const ir_node *node);
 
 /**
- * Sets the proj num
+ * Set compare type
  */
-void set_arm_CondJmp_proj_num(ir_node *node, int proj_num);
+void set_arm_CondJmp_relation(ir_node *node, ir_relation relation);
 
 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);
 
-/**
- * Returns the number of projs of a SwitchJmp.
- */
-int get_arm_SwitchJmp_n_projs(const ir_node *node);
-
-/**
- * Sets the number of projs of a SwitchJmp.
- */
-void set_arm_SwitchJmp_n_projs(ir_node *node, int n_projs);
-
-/**
- * Returns the default_proj_num.
- */
-long get_arm_SwitchJmp_default_proj_num(const ir_node *node);
-
-/**
- * Sets the default_proj_num.
- */
-void set_arm_SwitchJmp_default_proj_num(ir_node *node, long default_proj_num);
-
 /* Include the generated headers */
 #include "gen_arm_new_nodes.h"