libFirm
|
Functions | |
ir_node * | get_Block_cfgpred_block (const ir_node *node, int pos) |
Returns the predecessor block. | |
int | get_Block_matured (const ir_node *block) |
Returns the matured flag of a block. | |
void | set_Block_matured (ir_node *block, int matured) |
set the matured flag of a block. | |
ir_visited_t | get_Block_block_visited (const ir_node *block) |
A visited flag only for block nodes. | |
void | set_Block_block_visited (ir_node *block, ir_visited_t visit) |
set block visited flag | |
void | mark_Block_block_visited (ir_node *node) |
Marks a block as visited by setting its visited counter. | |
int | Block_block_visited (const ir_node *node) |
Returns 1 if a block is marked as visited. | |
ir_entity * | create_Block_entity (ir_node *block) |
Returns the entity for a Block (creating it if necessary) | |
ir_node * | get_Block_phis (const ir_node *block) |
Returns the head of the Phi list for this block. | |
void | set_Block_phis (ir_node *block, ir_node *phi) |
Sets the head of the Phi list for this block. | |
void | add_Block_phi (ir_node *block, ir_node *phi) |
Add a Phi node to the list of Block Phi's. | |
unsigned | get_Block_mark (const ir_node *block) |
Returns the Block mark (single bit). | |
void | set_Block_mark (ir_node *block, unsigned mark) |
Sets the Block mark (single bit). | |
ir_node * | new_rd_Block (dbg_info *dbgi, ir_graph *irg, int arity, ir_node *const *in) |
Construct a Block node. | |
ir_node * | new_r_Block (ir_graph *irg, int arity, ir_node *const *in) |
Construct a Block node. | |
ir_node * | new_d_Block (dbg_info *dbgi, int arity, ir_node *const *in) |
Construct a Block node. | |
ir_node * | new_Block (int arity, ir_node *const *in) |
Construct a Block node. | |
int | is_Block (const ir_node *node) |
Test if node is a Block. | |
int | get_Block_n_cfgpreds (ir_node const *node) |
Get the number of Block cfgpreds. | |
ir_node * | get_Block_cfgpred (ir_node const *node, int pos) |
Get the Block cfgpred with index pos . | |
void | set_Block_cfgpred (ir_node *node, int pos, ir_node *cfgpred) |
Set the Block cfgpred with index pos . | |
ir_node ** | get_Block_cfgpred_arr (ir_node *node) |
Get an array of all Block cfgpreds. | |
ir_entity * | get_Block_entity (const ir_node *node) |
Returns entity attribute of a Block node. | |
void | set_Block_entity (ir_node *node, ir_entity *entity) |
Sets entity attribute of a Block node. | |
ir_op * | get_op_Block (void) |
Returns opcode for Block nodes. | |
Variables | |
ir_op * | op_Block |
Block opcode. | |
A basic block
int Block_block_visited | ( | const ir_node * | node | ) |
Returns 1 if a block is marked as visited.
Returns the entity for a Block (creating it if necessary)
ir_visited_t get_Block_block_visited | ( | const ir_node * | block | ) |
A visited flag only for block nodes.
Returns the predecessor block.
Returns the block corresponding to the predecessor pos of block.
If we encounter the Bad node as controlflow predecessor NULL is returned.
unsigned get_Block_mark | ( | const ir_node * | block | ) |
Returns the Block mark (single bit).
int get_Block_matured | ( | const ir_node * | block | ) |
Returns the matured flag of a block.
int get_Block_n_cfgpreds | ( | ir_node const * | node | ) |
Get the number of Block cfgpreds.
ir_op * get_op_Block | ( | void | ) |
Returns opcode for Block nodes.
int is_Block | ( | const ir_node * | node | ) |
Test if node is a Block.
void mark_Block_block_visited | ( | ir_node * | node | ) |
Marks a block as visited by setting its visited counter.
Construct a Block node.
arity | size of additional inputs array |
in | additional inputs |
Construct a Block node.
dbgi | A pointer to debug information. |
arity | size of additional inputs array |
in | additional inputs |
Construct a Block node.
irg | The IR graph the node belongs to. |
arity | size of additional inputs array |
in | additional inputs |
Construct a Block node.
dbgi | A pointer to debug information. |
irg | The IR graph the node belongs to. |
arity | size of additional inputs array |
in | additional inputs |
void set_Block_block_visited | ( | ir_node * | block, |
ir_visited_t | visit ) |
set block visited flag
Set the Block cfgpred with index pos
.
void set_Block_mark | ( | ir_node * | block, |
unsigned | mark ) |
Sets the Block mark (single bit).
void set_Block_matured | ( | ir_node * | block, |
int | matured ) |
set the matured flag of a block.
Sets the head of the Phi list for this block.