libFirm
|
Returns an unknown (at compile- and runtime) value. More...
Functions | |
ir_node * | new_rd_Unknown (dbg_info *dbgi, ir_graph *irg, ir_mode *mode) |
Construct an Unknown node. More... | |
ir_node * | new_r_Unknown (ir_graph *irg, ir_mode *mode) |
Construct an Unknown node. More... | |
ir_node * | new_d_Unknown (dbg_info *dbgi, ir_mode *mode) |
Construct an Unknown node. More... | |
ir_node * | new_Unknown (ir_mode *mode) |
Construct an Unknown node. More... | |
int | is_Unknown (const ir_node *node) |
Test if node is a Unknown. More... | |
ir_op * | get_op_Unknown (void) |
Returns opcode for Unknown nodes. More... | |
Variables | |
ir_op * | op_Unknown |
Unknown opcode. More... | |
Returns an unknown (at compile- and runtime) value.
It is a valid optimization to replace an Unknown by any other constant value.
Be careful when optimising Unknown values, you cannot simply replace Unknown+x or Unknown<x with a new Unknown node if there are multiple users of the original unknown node!
ir_op* get_op_Unknown | ( | void | ) |
Returns opcode for Unknown nodes.
Definition at line 2894 of file gen_irnode.c.
References op_Unknown.
int is_Unknown | ( | const ir_node * | node | ) |
Test if node is a Unknown.
Definition at line 3520 of file gen_irnode.c.
Construct an Unknown node.
dbgi | A pointer to debug information. |
mode | mode of the operations result |
Definition at line 2882 of file gen_irnode.c.
References current_ir_graph, IR_GRAPH_CONSTRAINT_CONSTRUCTION, irg_is_constrained(), and new_rd_Unknown().
Referenced by new_Unknown().
Construct an Unknown node.
irg | The IR graph the node belongs to. |
mode | mode of the operations result |
Definition at line 2877 of file gen_irnode.c.
References new_rd_Unknown().
Construct an Unknown node.
dbgi | A pointer to debug information. |
irg | The IR graph the node belongs to. |
mode | mode of the operations result |
Definition at line 2864 of file gen_irnode.c.
References get_irg_start_block(), new_ir_node(), op_Unknown, optimize_node(), and verify_new_node().
Referenced by new_d_Unknown(), and new_r_Unknown().
Construct an Unknown node.
mode | mode of the operations result |
Definition at line 2889 of file gen_irnode.c.
References new_d_Unknown(), and op_Unknown.
ir_op* op_Unknown |
Unknown opcode.
Definition at line 4225 of file nodes.h.
Referenced by get_op_Unknown(), new_rd_Unknown(), new_Unknown(), and set_typeconst_type().