libFirm
|
Returns its first operands bits shifted right by the amount of the 2nd operand. More...
Enumerations | |
enum | n_Shrs { n_Shrs_left, n_Shrs_right, n_Shrs_max = n_Shrs_right } |
Input numbers for Shrs node. More... | |
Functions | |
ir_node * | new_rd_Shrs (dbg_info *dbgi, ir_node *block, ir_node *irn_left, ir_node *irn_right) |
Construct a Shrs node. More... | |
ir_node * | new_r_Shrs (ir_node *block, ir_node *irn_left, ir_node *irn_right) |
Construct a Shrs node. More... | |
ir_node * | new_d_Shrs (dbg_info *dbgi, ir_node *irn_left, ir_node *irn_right) |
Construct a Shrs node. More... | |
ir_node * | new_Shrs (ir_node *irn_left, ir_node *irn_right) |
Construct a Shrs node. More... | |
int | is_Shrs (const ir_node *node) |
Test if node is a Shrs. More... | |
ir_node * | get_Shrs_left (const ir_node *node) |
Returns left input of a Shrs node. More... | |
void | set_Shrs_left (ir_node *node, ir_node *left) |
Sets left input of a Shrs node. More... | |
ir_node * | get_Shrs_right (const ir_node *node) |
Returns right input of a Shrs node. More... | |
void | set_Shrs_right (ir_node *node, ir_node *right) |
Sets right input of a Shrs node. More... | |
ir_op * | get_op_Shrs (void) |
Returns opcode for Shrs nodes. More... | |
Variables | |
ir_op * | op_Shrs |
Shrs opcode. More... | |
Returns its first operands bits shifted right by the amount of the 2nd operand.
The leftmost bit (usually the sign bit) stays the same (sign extension). The right input (shift amount) must be an unsigned integer value. If the result mode has modulo_shift!=0, then the effective shift amount is the right input modulo this modulo_shift amount.
enum n_Shrs |
ir_op* get_op_Shrs | ( | void | ) |
Returns left input of a Shrs node.
Definition at line 2475 of file gen_irnode.c.
Returns right input of a Shrs node.
Definition at line 2485 of file gen_irnode.c.
int is_Shrs | ( | const ir_node * | node | ) |
Test if node is a Shrs.
Definition at line 3420 of file gen_irnode.c.
Construct a Shrs node.
dbgi | A pointer to debug information. |
irn_left | left |
irn_right | right |
Definition at line 2463 of file gen_irnode.c.
References current_ir_graph, get_cur_block(), IR_GRAPH_CONSTRAINT_CONSTRUCTION, irg_is_constrained(), and new_rd_Shrs().
Referenced by new_Shrs().
Construct a Shrs node.
block | The IR block the node belongs to. |
irn_left | left |
irn_right | right |
Definition at line 2458 of file gen_irnode.c.
References new_rd_Shrs().
Construct a Shrs node.
dbgi | A pointer to debug information. |
block | The IR block the node belongs to. |
irn_left | left |
irn_right | right |
Definition at line 2442 of file gen_irnode.c.
References get_irn_irg(), get_irn_mode(), new_ir_node(), op_Shrs, optimize_node(), and verify_new_node().
Referenced by new_d_Shrs(), and new_r_Shrs().
Construct a Shrs node.
irn_left | left |
irn_right | right |
Definition at line 2470 of file gen_irnode.c.
References new_d_Shrs().
Sets left input of a Shrs node.
Definition at line 2480 of file gen_irnode.c.
ir_op* op_Shrs |
Shrs opcode.
Definition at line 3621 of file nodes.h.
Referenced by get_op_Shrs(), new_rd_Shrs(), set_Shrs_right(), and set_typeconst_type().