2 * This file is part of libFirm.
3 * Copyright (C) 2012 University of Karlsruhe.
8 * @brief Compute an estimate of basic block executions.
9 * @author Adam M. Szalkowski
12 #ifndef FIRM_ANA_EXECFREQ_T_H
13 #define FIRM_ANA_EXECFREQ_T_H
17 void init_execfreq(void);
19 void exit_execfreq(void);
21 void set_block_execfreq(ir_node *block, double freq);
23 typedef struct ir_execfreq_int_factors {
27 } ir_execfreq_int_factors;
29 void ir_calculate_execfreq_int_factors(ir_execfreq_int_factors *factors,
32 int get_block_execfreq_int(const ir_execfreq_int_factors *factors,
33 const ir_node *block);