X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Firnode.h;h=157f4730256016950737c0b3d7cccb9a8f80628d;hb=2c95d635ef7dc3a9c04b983f14496167dbec3608;hp=1defd68f23db45d371499b5506dccfa654e64834;hpb=fe8eacafdf08d27123a8f5840752ee08feb01d55;p=libfirm diff --git a/include/libfirm/irnode.h b/include/libfirm/irnode.h index 1defd68f2..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. */ @@ -384,8 +384,6 @@ ir_extblk *get_Block_extbb(const ir_node *block); void set_Block_extbb(ir_node *block, ir_extblk *extblk); /** Get the Macro Block header of a (sub-) block. */ ir_node *get_Block_MacroBlock(const ir_node *block); -/** Returns the exception region number of a Block. */ -ir_exc_region_t get_Block_exc_region(const ir_node *block); /** Returns the ir_graph this Block belongs to. */ ir_graph *get_Block_irg(const ir_node *block); @@ -1009,9 +1007,6 @@ void set_Proj_pred(ir_node *node, ir_node *pred); /** Return the projection number of a Proj node. */ long get_Proj_proj(const ir_node *node); void set_Proj_proj(ir_node *node, long proj); -long get_VProj_proj(const ir_node *node); -void set_VProj_proj(ir_node *node, long value); - ir_node **get_Tuple_preds_arr(ir_node *node); int get_Tuple_n_preds(ir_node *node); @@ -1030,8 +1025,6 @@ ir_node *get_Confirm_bound(ir_node *node); void set_Confirm_bound(ir_node *node, ir_node *bound); pn_Cmp get_Confirm_cmp(const ir_node *node); void set_Confirm_cmp(ir_node *node, pn_Cmp cmp); -unsigned long get_Confirm_region(const ir_node *node); -void set_Confirm_region(ir_node *node, unsigned long region); /* * Mux Support: Note that Psi nodes with one condition can be handled @@ -1205,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. */