libFirm
|
Utility node used to "hold" nodes in a graph that might possibly not be reachable by other means or which should be reachable immediately without searching through the graph. More...
Enumerations | |
enum | n_Anchor { n_Anchor_end_block, n_Anchor_start_block, n_Anchor_end, n_Anchor_start, n_Anchor_frame, n_Anchor_initial_mem, n_Anchor_args, n_Anchor_no_mem, n_Anchor_max = n_Anchor_no_mem } |
Input numbers for Anchor node. More... | |
Functions | |
int | is_Anchor (const ir_node *node) |
Test if node is a Anchor. More... | |
ir_node * | get_Anchor_end_block (const ir_node *node) |
Returns end_block input of an Anchor node. More... | |
void | set_Anchor_end_block (ir_node *node, ir_node *end_block) |
Sets end_block input of an Anchor node. More... | |
ir_node * | get_Anchor_start_block (const ir_node *node) |
Returns start_block input of an Anchor node. More... | |
void | set_Anchor_start_block (ir_node *node, ir_node *start_block) |
Sets start_block input of an Anchor node. More... | |
ir_node * | get_Anchor_end (const ir_node *node) |
Returns end input of an Anchor node. More... | |
void | set_Anchor_end (ir_node *node, ir_node *end) |
Sets end input of an Anchor node. More... | |
ir_node * | get_Anchor_start (const ir_node *node) |
Returns start input of an Anchor node. More... | |
void | set_Anchor_start (ir_node *node, ir_node *start) |
Sets start input of an Anchor node. More... | |
ir_node * | get_Anchor_frame (const ir_node *node) |
Returns frame input of an Anchor node. More... | |
void | set_Anchor_frame (ir_node *node, ir_node *frame) |
Sets frame input of an Anchor node. More... | |
ir_node * | get_Anchor_initial_mem (const ir_node *node) |
Returns initial_mem input of an Anchor node. More... | |
void | set_Anchor_initial_mem (ir_node *node, ir_node *initial_mem) |
Sets initial_mem input of an Anchor node. More... | |
ir_node * | get_Anchor_args (const ir_node *node) |
Returns args input of an Anchor node. More... | |
void | set_Anchor_args (ir_node *node, ir_node *args) |
Sets args input of an Anchor node. More... | |
ir_node * | get_Anchor_no_mem (const ir_node *node) |
Returns no_mem input of an Anchor node. More... | |
void | set_Anchor_no_mem (ir_node *node, ir_node *no_mem) |
Sets no_mem input of an Anchor node. More... | |
ir_op * | get_op_Anchor (void) |
Returns opcode for Anchor nodes. More... | |
Variables | |
ir_op * | op_Anchor |
Anchor opcode. More... | |
Utility node used to "hold" nodes in a graph that might possibly not be reachable by other means or which should be reachable immediately without searching through the graph.
Each firm-graph contains exactly one anchor node whose address is always known. All other well-known graph-nodes like Start, End, NoMem, ... are found by looking at the respective Anchor operand.
enum n_Anchor |
Input numbers for Anchor node.
Returns args input of an Anchor node.
Definition at line 301 of file gen_irnode.c.
Returns end input of an Anchor node.
Definition at line 261 of file gen_irnode.c.
Returns end_block input of an Anchor node.
Definition at line 241 of file gen_irnode.c.
Returns frame input of an Anchor node.
Definition at line 281 of file gen_irnode.c.
Returns initial_mem input of an Anchor node.
Definition at line 291 of file gen_irnode.c.
Returns no_mem input of an Anchor node.
Definition at line 311 of file gen_irnode.c.
Returns start input of an Anchor node.
Definition at line 271 of file gen_irnode.c.
Returns start_block input of an Anchor node.
Definition at line 251 of file gen_irnode.c.
ir_op* get_op_Anchor | ( | void | ) |
int is_Anchor | ( | const ir_node * | node | ) |
Test if node is a Anchor.
Definition at line 2994 of file gen_irnode.c.
Sets args input of an Anchor node.
Definition at line 306 of file gen_irnode.c.
Sets end input of an Anchor node.
Definition at line 266 of file gen_irnode.c.
Sets end_block input of an Anchor node.
Definition at line 246 of file gen_irnode.c.
Sets frame input of an Anchor node.
Definition at line 286 of file gen_irnode.c.
Sets initial_mem input of an Anchor node.
Definition at line 296 of file gen_irnode.c.
Sets no_mem input of an Anchor node.
Definition at line 316 of file gen_irnode.c.
Sets start input of an Anchor node.
Definition at line 276 of file gen_irnode.c.
Sets start_block input of an Anchor node.
Definition at line 256 of file gen_irnode.c.
ir_op* op_Anchor |