libFirm 1.20
|
Compute an estimate of basic block executions. More...
Go to the source code of this file.
Functions | |
ir_exec_freq * | create_execfreq (ir_graph *irg) |
Creates execfreq structure (to be used with set_execfreq) | |
void | set_execfreq (ir_exec_freq *ef, const ir_node *block, double freq) |
Sets execution frequency of a basic block. | |
ir_exec_freq * | compute_execfreq (ir_graph *irg, double loop_weight) |
Creates execfreq structure and initialize with estimated frequencies. | |
void | free_execfreq (ir_exec_freq *ef) |
Frees memory occupied by execution frequency structure ef . | |
double | get_block_execfreq (const ir_exec_freq *ef, const ir_node *block) |
Returns execution frequency of block block . | |
unsigned long | get_block_execfreq_ulong (const ir_exec_freq *ef, const ir_node *block) |
Returns execution frequency of block block , scaled into the range of an unsigned long type. |