libFirm 1.20
libfirm/execfreq.h File Reference

Compute an estimate of basic block executions. More...

#include "firm_types.h"
#include "begin.h"
#include "end.h"

Go to the source code of this file.

Functions

ir_exec_freqcreate_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_freqcompute_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.

Detailed Description

Compute an estimate of basic block executions.

Author:
Adam M. Szalkowski
Date:
28.05.2006

Definition in file execfreq.h.