Fixed a really nasty bug when computing the hash value: upper bits where used in...
[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  * @file pattern.h
16  *
17  * Statistics for libFirm, pattern history.
18  */
19
20 /**
21  * Calculates the pattern history.
22  *
23  * @param irg    The IR-graph
24  */
25 void stat_calc_pattern_history(ir_graph *irg);
26
27 /**
28  * Initializes the pattern history.
29  *
30  * @param enable  Enable flag.
31  */
32 void stat_init_pattern_history(int enable);
33
34 /**
35  * Finish the pattern history.
36  */
37 void stat_finish_pattern_history(const char *fname);
38
39 #endif /* _PATTERN_H_ */