first working version of pattern history
[libfirm] / ir / stat / pattern.h
1 /*
2  * Project:     libFIRM
3  * File name:   ir/stat/pattern.h
4  * Purpose:     Statistics for Firm.
5  * Author:      Michael Beck
6  * Created:
7  * CVS-ID:      $Id$
8  * Copyright:   (c) 2004 Universität Karlsruhe
9  * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
10  */
11 #ifndef _PATTERN_H_
12 #define _PATTERN_H_
13
14 /**
15  * calculates the pattern history.
16  *
17  * @param irg    The IR-graph
18  */
19 void stat_calc_pattern_history(ir_graph *irg);
20
21 /**
22  * initialises the pattern history.
23  *
24  * @param enable  Enable flag.
25  */
26 void stat_init_pattern_history(int enable);
27
28 /**
29  * finishes the pattern history
30  */
31 void stat_finish_pattern_history(void);
32
33 #endif /* _PATTERN_H_ */