X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=ir%2Fir%2Firnode.h;h=5a97ff2d9d5f1b648b2b950f5e112854c250d1d1;hb=c23f6e062025e00e102d2e1ca95b48e696ad8cca;hp=5205f46d83ead02cd99bf1d0d018448b9a777867;hpb=d4ae10ab42e68315065c73255998c2102491f5ed;p=libfirm diff --git a/ir/ir/irnode.h b/ir/ir/irnode.h index 5205f46d8..5a97ff2d9 100644 --- a/ir/ir/irnode.h +++ b/ir/ir/irnode.h @@ -476,6 +476,7 @@ typedef enum { an exception */ pn_Call_max = 5 /**< number of projections from a Call */ } pn_Call; /* Projection numbers for Call. */ +#define pn_Call_M pn_Call_M_regular ir_node *get_Call_mem (ir_node *node); void set_Call_mem (ir_node *node, ir_node *mem); @@ -680,11 +681,11 @@ typedef enum { /** returns the pnc name from an pnc constant */ const char *get_pnc_string(int pnc); -/** Calculates the negated pnc condition. */ +/** Calculates the negated (Complement(R)) pnc condition. */ int get_negated_pnc(int pnc); -/** Calculates the swapped pnc condition, i.e., "<" --> ">" */ -int get_swapped_pnc(int pnc); +/** Calculates the inversed (R^-1) pnc condition, i.e., "<" --> ">" */ +int get_inversed_pnc(int pnc); ir_node *get_Cmp_left (ir_node *node); void set_Cmp_left (ir_node *node, ir_node *left); @@ -861,10 +862,10 @@ void set_Sync_pred (ir_node *node, int pos, ir_node *pred); type *get_Proj_type (ir_node *node); /** Return the predecessor of a Proj node. */ -ir_node *get_Proj_pred (ir_node *node); +ir_node *get_Proj_pred (const ir_node *node); void set_Proj_pred (ir_node *node, ir_node *pred); /** Return the projection number of a Proj node. */ -long get_Proj_proj (ir_node *node); +long get_Proj_proj (const ir_node *node); void set_Proj_proj (ir_node *node, long proj); ir_node **get_Tuple_preds_arr (ir_node *node);