X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Firnode.h;h=157f4730256016950737c0b3d7cccb9a8f80628d;hb=2c95d635ef7dc3a9c04b983f14496167dbec3608;hp=af0bf21391548b5deb400ce522cb592a295690c2;hpb=9dcdca842502d95296f7db99b84dfc46f8d95c9c;p=libfirm diff --git a/include/libfirm/irnode.h b/include/libfirm/irnode.h index af0bf2139..157f47302 100644 --- a/include/libfirm/irnode.h +++ b/include/libfirm/irnode.h @@ -185,7 +185,7 @@ ir_op *get_irn_op(const ir_node *node); /** Sets the opcode struct of the node. */ void set_irn_op(ir_node *node, ir_op *op); /** Gets the opcode-enum of the node. */ -ir_opcode get_irn_opcode(const ir_node *node); +unsigned get_irn_opcode(const ir_node *node); /** Get the string representation of the opcode. */ const char *get_irn_opname(const ir_node *node); /** Get the ident for a string representation of the opcode. */ @@ -1198,6 +1198,10 @@ int is_DivMod(const ir_node *node); int is_Quot(const ir_node *node); /** Returns true if node is an Add node. */ int is_Add(const ir_node *node); +/** Returns true if node is an And node. */ +int is_And(const ir_node *node); +/** Returns true if node is an Or node. */ +int is_Or(const ir_node *node); /** Returns true if node is a Sub node. */ int is_Sub(const ir_node *node); /** Returns true if node is a Tuple node. */