4 #include "firm_config.h"
6 #include "benodesets.h"
11 * Collects statistics information about register pressure.
12 * @param birg The be irg object containing the irg
14 void be_do_stat_reg_pressure(be_irg_t *birg);
17 * Collect statistics about amount of ready nodes per block
18 * @param block The block
19 * @param ready_set A set of ready nodes
21 void be_do_stat_sched_ready(ir_node *block, nodeset *ready_set);
24 * Pass information about a perm to the statistic module.
26 * @param class_name the name of the register class
27 * @param n_regs number of registers in the register class
28 * @param perm the perm node
29 * @param block the block containing the perm
30 * @param size the size of the perm
31 * @param real_size number of pairs with different registers
33 void be_do_stat_perm(const char *class_name, int n_regs, ir_node *perm, ir_node *block, int n, int real_size);
36 * Pass information about a cycle or chain in a perm to the statistic module.
38 * @param class_name the name of the register class
39 * @param perm the perm node
40 * @param block the block containing the perm
41 * @param is_chain 1 if chain, 0 if cycle
42 * @param size length of the cycle/chain
43 * @param n_ops the number of ops representing this cycle/chain after lowering
45 void be_do_stat_permcycle(const char *class_name, ir_node *perm, ir_node *block, int is_chain, int n_elems, int n_ops);
49 #define be_do_stat_reg_pressure(birg)
50 #define be_do_stat_sched_ready(block, ready_set)
51 #define be_do_stat_perm(class_name, n_regs, perm, block, n, real_size)
52 #define be_do_stat_permcycle(class_name, perm, block, is_chain, n_elems, n_ops)
54 #endif /* FIRM_STATISTICS */
56 #endif /* _BESTAT_H_ */