fehler109
[libfirm] / ir / be / arm / arm_new_nodes.h
index 6fe6a7b..c7b1a50 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
+ * Copyright (C) 1995-2008 University of Karlsruhe.  All right reserved.
  *
  * This file is part of libFirm.
  *
@@ -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 CondJmp node.
+ * Returns the attributes of an ARM CompareAndBranch 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);
+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);
 
 /**
  * Returns the attributes of an ARM SwitchJmp node.
@@ -135,10 +135,14 @@ const arch_register_t *get_arm_out_reg(const ir_node *node, int pos);
 int get_arm_n_res(const ir_node *node);
 
 /**
- * Set the ARM machine node attributes to default values.
+ * Sets the flags for the n'th out.
  */
-void init_arm_attributes(ir_node *node, int flags, const arch_register_req_t ** in_reqs,
-                         const arch_register_req_t ** out_reqs, const be_execution_unit_t ***execution_units, int n_res, unsigned latency);
+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