X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firop.h;h=6ad92f681048f5bb26da3a98e3ce0728d03dfef2;hb=5f8ddee6b08c8040c0a304a347d65045c1141d52;hp=9dc564e3e7fdaa7d038f739d915dda67297549b7;hpb=66065b2e2b79a428ccd24f065f099f22fbf6caf2;p=libfirm diff --git a/ir/ir/irop.h b/ir/ir/irop.h index 9dc564e3e..6ad92f681 100644 --- a/ir/ir/irop.h +++ b/ir/ir/irop.h @@ -82,10 +82,16 @@ extern ir_op *op_Bad; /* Returns the string for the opcode. */ +const char *get_op_name (ir_op *op); -opcode get_op_code (ir_op *op); -ident *get_op_name(ir_op *op); -int get_op_attr_size (ir_op *op); +/* Returns the enum for the opcode */ +opcode get_op_code (ir_op *op); +/* Returns the ident for the opcode name */ +ident *get_op_ident (ir_op *op); + +/* Returns the attribute size of the opcode. + Use not encouraged, internal feature. */ +int get_op_attr_size (ir_op *op); # endif /* _IROP_H_ */