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, ir_mode *mode) |
| Construct a Shrs node.
|
ir_node * | new_r_Shrs (ir_node *block, ir_node *irn_left, ir_node *irn_right, ir_mode *mode) |
| Construct a Shrs node.
|
ir_node * | new_d_Shrs (dbg_info *dbgi, ir_node *irn_left, ir_node *irn_right, ir_mode *mode) |
| Construct a Shrs node.
|
ir_node * | new_Shrs (ir_node *irn_left, ir_node *irn_right, ir_mode *mode) |
| Construct a Shrs node.
|
int | is_Shrs (const ir_node *node) |
| Test if node is a Shrs.
|
ir_node * | get_Shrs_left (const ir_node *node) |
| Returns left input of a Shrs node.
|
void | set_Shrs_left (ir_node *node, ir_node *left) |
| Sets left input of a Shrs node.
|
ir_node * | get_Shrs_right (const ir_node *node) |
| Returns right input of a Shrs node.
|
void | set_Shrs_right (ir_node *node, ir_node *right) |
| Sets right input of a Shrs node.
|
ir_op * | get_op_Shrs (void) |
| Returns opcode for Shrs nodes.
|
Detailed Description
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.
Enumeration Type Documentation
Input numbers for Shrs node.
Definition at line 3387 of file nodeops.h.
Function Documentation
ir_op* get_op_Shrs |
( |
void |
| ) |
|
Returns opcode for Shrs nodes.
Returns left input of a Shrs node.
Returns right input of a Shrs node.
int is_Shrs |
( |
const ir_node * |
node | ) |
|
Test if node is a Shrs.
- Returns
- 1 if the node is a Shrs node, 0 otherwise
Construct a Shrs node.
- Parameters
-
dbgi | A pointer to debug information. |
irn_left | first operand |
irn_right | second operand |
mode | mode of the operations result |
Construct a Shrs node.
- Parameters
-
block | The IR block the node belongs to. |
irn_left | first operand |
irn_right | second operand |
mode | mode of the operations result |
Construct a Shrs node.
- Parameters
-
dbgi | A pointer to debug information. |
block | The IR block the node belongs to. |
irn_left | first operand |
irn_right | second operand |
mode | mode of the operations result |
Construct a Shrs node.
- Parameters
-
irn_left | first operand |
irn_right | second operand |
mode | mode of the operations result |
Sets left input of a Shrs node.
Sets right input of a Shrs node.
Variable Documentation