* Returns the attribute size of nodes of this opcode.
* @note Use not encouraged, internal feature.
*/
-static INLINE int get_op_attr_size (const ir_op *op) {
+static INLINE size_t get_op_attr_size (const ir_op *op) {
return op->attr_size;
}
return op->flags & irop_flag_machine;
}
+/** Returns non-zero if operation is a machine operand */
+static INLINE int is_op_machine_operand(const ir_op *op) {
+ return op->flags & irop_flag_machine_op;
+}
+
/** Returns non-zero if operation is a machine user op number n */
static INLINE int is_op_machine_user(const ir_op *op, unsigned n) {
return op->flags & (irop_flag_user << n);