Returns its first operands bits shifted left by the amount of the 2nd operand.
More...
Enumerations |
enum | n_Shl { n_Shl_left,
n_Shl_right,
n_Shl_max = n_Shl_right
} |
| Input numbers for Shl node. More...
|
Functions |
ir_node * | new_rd_Shl (dbg_info *dbgi, ir_node *block, ir_node *irn_left, ir_node *irn_right, ir_mode *mode) |
| Construct a Shl node.
|
ir_node * | new_r_Shl (ir_node *block, ir_node *irn_left, ir_node *irn_right, ir_mode *mode) |
| Construct a Shl node.
|
ir_node * | new_d_Shl (dbg_info *dbgi, ir_node *irn_left, ir_node *irn_right, ir_mode *mode) |
| Construct a Shl node.
|
ir_node * | new_Shl (ir_node *irn_left, ir_node *irn_right, ir_mode *mode) |
| Construct a Shl node.
|
int | is_Shl (const ir_node *node) |
| Test if node is a Shl.
|
ir_node * | get_Shl_left (const ir_node *node) |
| Returns left input of a Shl node.
|
void | set_Shl_left (ir_node *node, ir_node *left) |
| Sets left input of a Shl node.
|
ir_node * | get_Shl_right (const ir_node *node) |
| Returns right input of a Shl node.
|
void | set_Shl_right (ir_node *node, ir_node *right) |
| Sets right input of a Shl node.
|
ir_op * | get_op_Shl (void) |
| Returns opcode for Shl nodes.
|
Detailed Description
Returns its first operands bits shifted left by the amount of the 2nd operand.
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 Shl node.
Definition at line 3234 of file nodeops.h.
Function Documentation
ir_op* get_op_Shl |
( |
void |
| ) |
|
Returns opcode for Shl nodes.
Returns left input of a Shl node.
Returns right input of a Shl node.
Test if node is a Shl.
- Returns
- 1 if the node is a Shl node, 0 otherwise
Construct a Shl node.
- Parameters
-
dbgi | A pointer to debug information. |
irn_left | first operand |
irn_right | second operand |
mode | mode of the operations result |
Construct a Shl 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 Shl 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 Shl node.
- Parameters
-
irn_left | first operand |
irn_right | second operand |
mode | mode of the operations result |
Sets left input of a Shl node.
Sets right input of a Shl node.
Variable Documentation