-/**
- * Returns the argument register requirements of an ia32 node.
- */
-const arch_register_req_t **get_ia32_in_req_all(const ir_node *node) {
- const ia32_attr_t *attr = get_ia32_attr_const(node);
- return attr->in_req;
-}
-
-/**
- * Sets the argument register requirements of an ia32 node.
- */
-void set_ia32_in_req_all(ir_node *node, const arch_register_req_t **reqs) {
- ia32_attr_t *attr = get_ia32_attr(node);
- attr->in_req = reqs;
-}
-
-/**
- * Returns the result register requirements of an ia32 node.
- */
-const arch_register_req_t **get_ia32_out_req_all(const ir_node *node) {
- const ia32_attr_t *attr = get_ia32_attr_const(node);
- return attr->out_req;
-}
-
-/**
- * Sets the result register requirements of an ia32 node.
- */
-void set_ia32_out_req_all(ir_node *node, const arch_register_req_t **reqs) {
- ia32_attr_t *attr = get_ia32_attr(node);
- attr->out_req = reqs;
-}
-
-/**
- * Returns the argument register requirement at position pos of an ia32 node.
- */
-const arch_register_req_t *get_ia32_in_req(const ir_node *node, int pos) {
- const ia32_attr_t *attr = get_ia32_attr_const(node);
- if(attr->in_req == NULL)
- return arch_no_register_req;
-
- return attr->in_req[pos];
-}
-
-/**
- * Returns the result register requirement at position pos of an ia32 node.
- */
-const arch_register_req_t *get_ia32_out_req(const ir_node *node, int pos) {
- const ia32_attr_t *attr = get_ia32_attr_const(node);
- if(attr->out_req == NULL)
- return arch_no_register_req;
-
- return attr->out_req[pos];
-}
-
-/**
- * Sets the OUT register requirements at position pos.
- */
-void set_ia32_req_out(ir_node *node, const arch_register_req_t *req, int pos) {
- ia32_attr_t *attr = get_ia32_attr(node);
- attr->out_req[pos] = req;
-}
-
-/**
- * Sets the IN register requirements at position pos.
- */
-void set_ia32_req_in(ir_node *node, const arch_register_req_t *req, int pos) {
- ia32_attr_t *attr = get_ia32_attr(node);
- attr->in_req[pos] = req;
-}
-
-/**
- * Returns the register flag of an ia32 node.
- */
-arch_irn_flags_t get_ia32_flags(const ir_node *node) {
- const ia32_attr_t *attr = get_ia32_attr_const(node);
- return attr->data.flags;
-}
-
-/**
- * Sets the register flag of an ia32 node.
- */
-void set_ia32_flags(ir_node *node, arch_irn_flags_t flags) {
- ia32_attr_t *attr = get_ia32_attr(node);
- attr->data.flags = flags;
-}
-
-void add_ia32_flags(ir_node *node, arch_irn_flags_t flags) {
- ia32_attr_t *attr = get_ia32_attr(node);
- attr->data.flags |= flags;
-}
-
-/**
- * Returns the result register slots of an ia32 node.
- */
-const arch_register_t **get_ia32_slots(const ir_node *node) {
- const ia32_attr_t *attr = get_ia32_attr_const(node);
- return attr->slots;
-}
-
-/**
- * Returns the number of results.
- */
-int get_ia32_n_res(const ir_node *node) {
- const ia32_attr_t *attr = get_ia32_attr_const(node);
- return ARR_LEN(attr->slots);
-}
-