X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firop.h;h=6ad92f681048f5bb26da3a98e3ce0728d03dfef2;hb=5f8ddee6b08c8040c0a304a347d65045c1141d52;hp=2b130a03ebf52e0e2007f98010f1c6d148fdb796;hpb=3d16844cfe86402baf7e82c87facf630ee336b73;p=libfirm diff --git a/ir/ir/irop.h b/ir/ir/irop.h index 2b130a03e..6ad92f681 100644 --- a/ir/ir/irop.h +++ b/ir/ir/irop.h @@ -81,12 +81,17 @@ extern ir_op *op_Id; extern ir_op *op_Bad; -/* returns the attribute size of the operator. */ -int get_op_attr_size (ir_op *op); - /* Returns the string for the opcode. */ -const char* get_op_name (ir_op *op); +const char *get_op_name (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_ */