|
ir_node * | new_rd_Cmp (dbg_info *dbgi, ir_node *block, ir_node *irn_left, ir_node *irn_right, ir_relation relation) |
| Construct a Cmp node.
|
|
ir_node * | new_r_Cmp (ir_node *block, ir_node *irn_left, ir_node *irn_right, ir_relation relation) |
| Construct a Cmp node.
|
|
ir_node * | new_d_Cmp (dbg_info *dbgi, ir_node *irn_left, ir_node *irn_right, ir_relation relation) |
| Construct a Cmp node.
|
|
ir_node * | new_Cmp (ir_node *irn_left, ir_node *irn_right, ir_relation relation) |
| Construct a Cmp node.
|
|
int | is_Cmp (const ir_node *node) |
| Test if node is a Cmp.
|
|
ir_node * | get_Cmp_left (const ir_node *node) |
| Returns left input of a Cmp node.
|
|
void | set_Cmp_left (ir_node *node, ir_node *left) |
| Sets left input of a Cmp node.
|
|
ir_node * | get_Cmp_right (const ir_node *node) |
| Returns right input of a Cmp node.
|
|
void | set_Cmp_right (ir_node *node, ir_node *right) |
| Sets right input of a Cmp node.
|
|
ir_relation | get_Cmp_relation (const ir_node *node) |
| Returns relation attribute of a Cmp node.
|
|
void | set_Cmp_relation (ir_node *node, ir_relation relation) |
| Sets relation attribute of a Cmp node.
|
|
ir_op * | get_op_Cmp (void) |
| Returns opcode for Cmp nodes.
|
|
Compares its two operands and checks whether a specified relation (like less or equal) is fulfilled.
◆ n_Cmp
Input numbers for Cmp node.
Enumerator |
---|
n_Cmp_left | first operand
|
n_Cmp_right | second operand
|
n_Cmp_max | |
Definition at line 1114 of file nodes.h.
◆ get_Cmp_left()
Returns left input of a Cmp node.
◆ get_Cmp_relation()
Returns relation attribute of a Cmp node.
◆ get_Cmp_right()
Returns right input of a Cmp node.
◆ get_op_Cmp()
ir_op * get_op_Cmp |
( |
void | | ) |
|
Returns opcode for Cmp nodes.
◆ is_Cmp()
Test if node is a Cmp.
- Returns
- 1 if the node is a Cmp node, 0 otherwise
◆ new_Cmp()
Construct a Cmp node.
- Parameters
-
irn_left | left |
irn_right | right |
relation | Comparison relation |
◆ new_d_Cmp()
Construct a Cmp node.
- Parameters
-
dbgi | A pointer to debug information. |
irn_left | left |
irn_right | right |
relation | Comparison relation |
◆ new_r_Cmp()
Construct a Cmp node.
- Parameters
-
block | The IR block the node belongs to. |
irn_left | left |
irn_right | right |
relation | Comparison relation |
◆ new_rd_Cmp()
Construct a Cmp node.
- Parameters
-
dbgi | A pointer to debug information. |
block | The IR block the node belongs to. |
irn_left | left |
irn_right | right |
relation | Comparison relation |
◆ set_Cmp_left()
Sets left input of a Cmp node.
◆ set_Cmp_relation()
Sets relation attribute of a Cmp node.
◆ set_Cmp_right()
Sets right input of a Cmp node.
◆ op_Cmp