in[1] = adr;
res = new_ir_node(db, irg, block, op_Load, mode_T, 2, in);
res->attr.load.exc.pin_state = flags & cons_floats ? op_pin_state_floats : op_pin_state_pinned;
- res->attr.load.load_mode = mode;
+ res->attr.load.mode = mode;
res->attr.load.volatility = flags & cons_volatile ? volatility_is_volatile : volatility_non_volatile;
res->attr.load.aligned = flags & cons_unaligned ? align_non_aligned : align_is_aligned;
res = optimize_node(res);
ir_mode *
get_Load_mode(const ir_node *node) {
assert(is_Load(node));
- return node->attr.load.load_mode;
+ return node->attr.load.mode;
}
void
set_Load_mode(ir_node *node, ir_mode *mode) {
assert(is_Load(node));
- node->attr.load.load_mode = mode;
+ node->attr.load.mode = mode;
}
ir_volatility
except_attr exc; /**< The exception attribute. MUST be the first one. */
unsigned volatility:1; /**< The volatility of this Load operation. */
unsigned aligned:1; /**< The align attribute of this Load operation. */
- ir_mode *load_mode; /**< The mode of this Load operation. */
+ ir_mode *mode; /**< The mode of this Load operation. */
} load_attr;
/** Store attributes. */