libFirm
Anchor node

utiliy 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...

Functions

int is_Anchor (const ir_node *node)
 Test if node is a Anchor.
ir_opget_op_Anchor (void)
 Returns opcode for Anchor nodes.

Variables

ir_opop_Anchor
 Anchor opcode.

Detailed Description

utiliy 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, Bad, ... are found by looking at the respective Anchor operand.

Function Documentation

ir_op* get_op_Anchor ( void  )

Returns opcode for Anchor nodes.

int is_Anchor ( const ir_node node)

Test if node is a Anchor.

Returns
1 if the node is a Anchor node, 0 otherwise

Variable Documentation

ir_op* op_Anchor

Anchor opcode.

Definition at line 108 of file opcodes.h.