![]() |
libFirm
|
Functions | |
| ir_node * | new_rd_Const_long (dbg_info *db, ir_graph *irg, ir_mode *mode, long value) |
| Constructor for a Const node. | |
| ir_node * | new_r_Const_long (ir_graph *irg, ir_mode *mode, long value) |
| Constructor for a Const node. | |
| ir_node * | new_d_Const_long (dbg_info *db, ir_mode *mode, long value) |
| ir_node * | new_Const_long (ir_mode *mode, long value) |
| Make a const from a long. | |
| int | is_Const_null (const ir_node *node) |
| Returns non-zero if the given Const node represents the 0 constant. | |
| int | is_Const_one (const ir_node *node) |
| Returns non-zero if the given Const node represents the 1 constant. | |
| int | is_Const_all_one (const ir_node *node) |
| Returns non-zero if the given Const node represents the constant with all bits set. | |
| ir_node * | new_rd_Const (dbg_info *dbgi, ir_graph *irg, ir_tarval *tarval) |
| Construct a Const node. | |
| ir_node * | new_r_Const (ir_graph *irg, ir_tarval *tarval) |
| Construct a Const node. | |
| ir_node * | new_d_Const (dbg_info *dbgi, ir_tarval *tarval) |
| Construct a Const node. | |
| ir_node * | new_Const (ir_tarval *tarval) |
| Construct a Const node. | |
| int | is_Const (const ir_node *node) |
| Test if node is a Const. | |
| ir_tarval * | get_Const_tarval (const ir_node *node) |
| Returns tarval attribute of a Const node. | |
| void | set_Const_tarval (ir_node *node, ir_tarval *tarval) |
| Sets tarval attribute of a Const node. | |
| ir_op * | get_op_Const (void) |
| Returns opcode for Const nodes. | |
Variables | |
| ir_op * | op_Const |
| Const opcode. | |
Returns a constant value.
| ir_op * get_op_Const | ( | void | ) |
Returns opcode for Const nodes.
| int is_Const | ( | const ir_node * | node | ) |
Test if node is a Const.
| int is_Const_all_one | ( | const ir_node * | node | ) |
Returns non-zero if the given Const node represents the constant with all bits set.
| int is_Const_null | ( | const ir_node * | node | ) |
Returns non-zero if the given Const node represents the 0 constant.
| int is_Const_one | ( | const ir_node * | node | ) |
Returns non-zero if the given Const node represents the 1 constant.
Construct a Const node.
| tarval | constant value (a tarval object) |
Make a const from a long.
This is just convenience for the usual new_Const(mode, tarval_from_long(mode, ...)) pain.
| mode | The mode for the const. |
| value | The value of the constant. |
Construct a Const node.
| dbgi | A pointer to debug information. |
| tarval | constant value (a tarval object) |
| db | A pointer for debug information. |
| mode | The mode of the operands and results. |
| value | A value from which the tarval is made. |
Construct a Const node.
| irg | The IR graph the node belongs to. |
| tarval | constant value (a tarval object) |
Constructor for a Const node.
Adds the node to the start block.
The constant represents a target value.
| irg | The IR graph the node belongs to. |
| mode | The mode of the operands and the results. |
| value | A value from which the tarval is made. |
Construct a Const node.
| dbgi | A pointer to debug information. |
| irg | The IR graph the node belongs to. |
| tarval | constant value (a tarval object) |
Constructor for a Const node.
Adds the node to the start block.
The constant represents a target value.
| db | A pointer for debug information. |
| irg | The IR graph the node belongs to. |
| mode | The mode of the operands and results. |
| value | A value from which the tarval is made. |