X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firop_t.h;h=aa67a72c80b7a72c047f45a94ca7ef13f35bcf5a;hb=d904350bc3a4b3b9c77a71d683be6c44b041a33d;hp=61b20e781356a3a20a0b9ccb99ccf46f5ec7ed58;hpb=79f98a607640a4cb268f157bf64d52c8510acd3f;p=libfirm diff --git a/ir/ir/irop_t.h b/ir/ir/irop_t.h index 61b20e781..aa67a72c8 100644 --- a/ir/ir/irop_t.h +++ b/ir/ir/irop_t.h @@ -111,6 +111,11 @@ static INLINE int is_op_machine(const ir_op *op) { 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);