|  | libFirm
    | 
Returns a constant value. More...
| Functions | |
| ir_node * | new_rd_Const_long (dbg_info *db, ir_graph *irg, ir_mode *mode, long value) | 
| Constructor for a Const node.  More... | |
| ir_node * | new_r_Const_long (ir_graph *irg, ir_mode *mode, long value) | 
| Constructor for a Const node.  More... | |
| 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.  More... | |
| int | is_Const_null (const ir_node *node) | 
| Returns non-zero if the given Const node represents the 0 constant.  More... | |
| int | is_Const_one (const ir_node *node) | 
| Returns non-zero if the given Const node represents the 1 constant.  More... | |
| int | is_Const_all_one (const ir_node *node) | 
| Returns non-zero if the given Const node represents the constant with all bits set.  More... | |
| ir_node * | new_rd_Const (dbg_info *dbgi, ir_graph *irg, ir_tarval *tarval) | 
| Construct a Const node.  More... | |
| ir_node * | new_r_Const (ir_graph *irg, ir_tarval *tarval) | 
| Construct a Const node.  More... | |
| ir_node * | new_d_Const (dbg_info *dbgi, ir_tarval *tarval) | 
| Construct a Const node.  More... | |
| ir_node * | new_Const (ir_tarval *tarval) | 
| Construct a Const node.  More... | |
| int | is_Const (const ir_node *node) | 
| Test if node is a Const.  More... | |
| ir_tarval * | get_Const_tarval (const ir_node *node) | 
| Returns tarval attribute of a Const node.  More... | |
| void | set_Const_tarval (ir_node *node, ir_tarval *tarval) | 
| Sets tarval attribute of a Const node.  More... | |
| ir_op * | get_op_Const (void) | 
| Returns opcode for Const nodes.  More... | |
| Variables | |
| ir_op * | op_Const | 
| Const opcode.  More... | |
Returns a constant value.
Returns tarval attribute of a Const node.
Definition at line 3119 of file gen_irnode.c.
| ir_op* get_op_Const | ( | void | ) | 
| int is_Const | ( | const ir_node * | node | ) | 
Test if node is a Const.
Definition at line 3114 of file gen_irnode.c.
| 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) | 
Definition at line 883 of file gen_irnode.c.
References new_d_Const().
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) | 
Definition at line 876 of file gen_irnode.c.
References current_ir_graph, IR_GRAPH_CONSTRAINT_CONSTRUCTION, irg_is_constrained(), and new_rd_Const().
Referenced by new_Const().
| *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) | 
Definition at line 871 of file gen_irnode.c.
References new_rd_Const().
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) | 
Definition at line 857 of file gen_irnode.c.
References get_irg_start_block(), get_tarval_mode(), new_ir_node(), op_Const, optimize_node(), and verify_new_node().
Referenced by new_d_Const(), and new_r_Const().
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. | 
Sets tarval attribute of a Const node.
Definition at line 3124 of file gen_irnode.c.
| ir_op* op_Const | 
Const opcode.
Definition at line 1344 of file nodes.h.
Referenced by get_op_Const(), and new_rd_Const().