Cosmetic changes to the chordal register allocator
[libfirm] / ir / be / bearch.h
index e361308..4ffe248 100644 (file)
@@ -293,6 +293,17 @@ typedef struct _arch_irn_ops_t {
 
 } arch_irn_ops_t;
 
+/**
+ * Check if an operand is a register operand.
+ * @param env The environment.
+ * @param irn The node.
+ * @param pos The position of the operand.
+ * @return 1, if the operand is significant for register allocation, 0
+ * if not.
+ */
+extern int arch_is_register_operand(const arch_env_t *env,
+    const ir_node *irn, int pos);
+
 /**
  * Get the number of allocatable registers concerning
  * a register class for an operand of a node.