libFirm 1.20
|
Conditionally change control flow. More...
Enumerations | |
enum | cond_jmp_predicate { COND_JMP_PRED_NONE, COND_JMP_PRED_TRUE, COND_JMP_PRED_FALSE } |
A type to express conditional jump predictions. More... | |
enum | n_Cond { n_Cond_selector, n_Cond_max = n_Cond_selector } |
Input numbers for Cond node. More... | |
enum | pn_Cond { pn_Cond_false, pn_Cond_true, pn_Cond_max = pn_Cond_true } |
Projection numbers for result of Cond node (use for Proj nodes) More... | |
Functions | |
ir_node * | new_rd_Cond (dbg_info *dbgi, ir_node *block, ir_node *irn_selector) |
Construct a Cond node. | |
ir_node * | new_r_Cond (ir_node *block, ir_node *irn_selector) |
Construct a Cond node. | |
ir_node * | new_d_Cond (dbg_info *dbgi, ir_node *irn_selector) |
Construct a Cond node. | |
ir_node * | new_Cond (ir_node *irn_selector) |
Construct a Cond node. | |
int | is_Cond (const ir_node *node) |
Test if node is a Cond. | |
ir_node * | get_Cond_selector (const ir_node *node) |
Returns selector input of a Cond node. | |
void | set_Cond_selector (ir_node *node, ir_node *selector) |
Sets selector input of a Cond node. | |
cond_jmp_predicate | get_Cond_jmp_pred (const ir_node *node) |
Returns jmp_pred attribute of a Cond node. | |
void | set_Cond_jmp_pred (ir_node *node, cond_jmp_predicate jmp_pred) |
Sets jmp_pred attribute of a Cond node. | |
ir_op * | get_op_Cond (void) |
Returns opcode for Cond nodes. | |
Variables | |
ir_op * | op_Cond |
Cond opcode. |
Conditionally change control flow.
enum cond_jmp_predicate |
A type to express conditional jump predictions.
COND_JMP_PRED_NONE |
No jump prediction. Default. |
COND_JMP_PRED_TRUE |
The True case is predicted. |
COND_JMP_PRED_FALSE |
The False case is predicted. |
Definition at line 242 of file firm_types.h.
enum pn_Cond |
cond_jmp_predicate get_Cond_jmp_pred | ( | const ir_node * | node | ) |
Returns jmp_pred attribute of a Cond node.
ir_op* get_op_Cond | ( | void | ) |
Returns opcode for Cond nodes.
int is_Cond | ( | const ir_node * | node | ) |
Test if node is a Cond.
Construct a Cond node.
irn_selector | condition parameter |
Construct a Cond node.
dbgi | A pointer to debug information. |
irn_selector | condition parameter |
Construct a Cond node.
block | The IR block the node belongs to. |
irn_selector | condition parameter |
Construct a Cond node.
dbgi | A pointer to debug information. |
block | The IR block the node belongs to. |
irn_selector | condition parameter |
void set_Cond_jmp_pred | ( | ir_node * | node, |
cond_jmp_predicate | jmp_pred | ||
) |
Sets jmp_pred attribute of a Cond node.