bepeephole: Inline be_peephole_new_node() into its only caller.
[libfirm] / ir / stat / pattern.h
1 /*
2  * This file is part of libFirm.
3  * Copyright (C) 2012 University of Karlsruhe.
4  */
5
6 /**
7  * @file
8  * @brief   Statistics for Firm. Pattern history.
9  * @author  Michael Beck
10  */
11 #ifndef FIRM_STAT_PATTERN_H
12 #define FIRM_STAT_PATTERN_H
13
14 #include "firm_types.h"
15
16 /**
17  * Calculates the pattern history.
18  *
19  * @param irg    The IR-graph
20  */
21 void stat_calc_pattern_history(ir_graph *irg);
22
23 /**
24  * Initializes the pattern history.
25  *
26  * @param enable  Enable flag.
27  */
28 void stat_init_pattern_history(int enable);
29
30 /**
31  * Finish the pattern history.
32  */
33 void stat_finish_pattern_history(const char *fname);
34
35 #endif /* FIRM_STAT_PATTERN_H */