Implemented debug support.
[libfirm] / ir / common / tune.h
1 /* Tune --- tunable parameters.
2    Copyright (C) 1995, 1996 Markus Armbruster & Christian von Roques */
3
4 /* $Id$ */
5
6 #ifndef _TUNE_H
7 #define _TUNE_H
8
9 /* From the jargon file:
10
11    :tune: vt.  [from automotive or musical usage] To optimize a
12       program or system for a particular environment, esp. by adjusting
13       numerical parameters designed as {hook}s for tuning, e.g., by
14       changing `#define' lines in C.  One may `tune for time'
15       (fastest execution), `tune for space' (least memory use), or
16       `tune for configuration' (most efficient use of hardware).  See
17       {bum}, {hot spot}, {hand-hacking}.
18
19  */
20
21
22 /* Suggested minimal block size for buffered I/O */
23 #define TUNE_SMALL_IOBUF_SIZE 512
24
25 /* Size of pdeq block cache */
26 #define TUNE_NSAVED_PDEQS 16
27
28
29 /* The following numbers are only estimates.  If the input exceeds
30    them, the program dynamically enlarges data structures.  However,
31    larger values generally mean slower startup.  */
32
33
34 /* Expected number of distinct identifiers */
35 #define TUNE_NIDENTS 1024
36
37 /* Expected number of classes */
38 #define TUNE_NCLASSES 128
39
40 /* Expected number of class types */
41 #define TUNE_NCTYPES 128
42
43 /* Expected number of routine, stream and stream object types */
44 #define TUNE_NMTYPES 512
45
46 /* Expected number of method families */
47 #define TUNE_NMFAMILIES (TUNE_NCTYPES * 16)
48
49 /* Expected number of Intermediate Representation nodes for a method */
50 #define TUNE_NIR_NODES 512
51
52 /* Expected number of distinct constant target values */
53 #define TUNE_NCONSTANTS 2048
54
55 /* notify configuration manager to prefetch sources */
56 #define TUNE_PREFETCH
57
58 #endif