|
ir_node * | new_rd_Mod (dbg_info *dbgi, ir_node *block, ir_node *irn_mem, ir_node *irn_left, ir_node *irn_right, int pinned) |
| Construct a Mod node.
|
|
ir_node * | new_r_Mod (ir_node *block, ir_node *irn_mem, ir_node *irn_left, ir_node *irn_right, int pinned) |
| Construct a Mod node.
|
|
ir_node * | new_d_Mod (dbg_info *dbgi, ir_node *irn_mem, ir_node *irn_left, ir_node *irn_right, int pinned) |
| Construct a Mod node.
|
|
ir_node * | new_Mod (ir_node *irn_mem, ir_node *irn_left, ir_node *irn_right, int pinned) |
| Construct a Mod node.
|
|
int | is_Mod (const ir_node *node) |
| Test if node is a Mod.
|
|
ir_node * | get_Mod_mem (const ir_node *node) |
| Returns mem input of a Mod node.
|
|
void | set_Mod_mem (ir_node *node, ir_node *mem) |
| Sets mem input of a Mod node.
|
|
ir_node * | get_Mod_left (const ir_node *node) |
| Returns left input of a Mod node.
|
|
void | set_Mod_left (ir_node *node, ir_node *left) |
| Sets left input of a Mod node.
|
|
ir_node * | get_Mod_right (const ir_node *node) |
| Returns right input of a Mod node.
|
|
void | set_Mod_right (ir_node *node, ir_node *right) |
| Sets right input of a Mod node.
|
|
ir_mode * | get_Mod_resmode (const ir_node *node) |
| Returns resmode attribute of a Mod node.
|
|
void | set_Mod_resmode (ir_node *node, ir_mode *resmode) |
| Sets resmode attribute of a Mod node.
|
|
ir_op * | get_op_Mod (void) |
| Returns opcode for Mod nodes.
|
|
returns the remainder of its operands from an implied division.
Examples:
mod(5,3) produces 2 mod(5,-3) produces 2 mod(-5,3) produces -2 mod(-5,-3) produces -2
◆ n_Mod
Input numbers for Mod node.
Enumerator |
---|
n_Mod_mem | memory dependency
|
n_Mod_left | first operand
|
n_Mod_right | second operand
|
n_Mod_max | |
Definition at line 2416 of file nodes.h.
◆ pn_Mod
Projection numbers for result of Mod node (use for Proj nodes)
Enumerator |
---|
pn_Mod_M | memory result
|
pn_Mod_res | result of computation
|
pn_Mod_X_regular | control flow when no exception occurs
|
pn_Mod_X_except | control flow when exception occurred
|
pn_Mod_max | |
Definition at line 2426 of file nodes.h.
◆ get_Mod_left()
Returns left input of a Mod node.
◆ get_Mod_mem()
Returns mem input of a Mod node.
◆ get_Mod_resmode()
Returns resmode attribute of a Mod node.
◆ get_Mod_right()
Returns right input of a Mod node.
◆ get_op_Mod()
ir_op * get_op_Mod |
( |
void | | ) |
|
Returns opcode for Mod nodes.
◆ is_Mod()
Test if node is a Mod.
- Returns
- 1 if the node is a Mod node, 0 otherwise
◆ new_d_Mod()
Construct a Mod node.
- Parameters
-
dbgi | A pointer to debug information. |
irn_mem | mem |
irn_left | left |
irn_right | right |
pinned | pinned state |
◆ new_Mod()
Construct a Mod node.
- Parameters
-
irn_mem | mem |
irn_left | left |
irn_right | right |
pinned | pinned state |
◆ new_r_Mod()
Construct a Mod node.
- Parameters
-
block | The IR block the node belongs to. |
irn_mem | mem |
irn_left | left |
irn_right | right |
pinned | pinned state |
◆ new_rd_Mod()
Construct a Mod node.
- Parameters
-
dbgi | A pointer to debug information. |
block | The IR block the node belongs to. |
irn_mem | mem |
irn_left | left |
irn_right | right |
pinned | pinned state |
◆ set_Mod_left()
Sets left input of a Mod node.
◆ set_Mod_mem()
Sets mem input of a Mod node.
◆ set_Mod_resmode()
Sets resmode attribute of a Mod node.
◆ set_Mod_right()
Sets right input of a Mod node.
◆ op_Mod