properly mark symbols in the public API to be exported. This allows us to use -fvisib...
[libfirm] / include / libfirm / firm.h
1 /*
2  * Copyright (C) 1995-2008 University of Karlsruhe.  All right reserved.
3  *
4  * This file is part of libFirm.
5  *
6  * This file may be distributed and/or modified under the terms of the
7  * GNU General Public License version 2 as published by the Free Software
8  * Foundation and appearing in the file LICENSE.GPL included in the
9  * packaging of this file.
10  *
11  * Licensees holding valid libFirm Professional Edition licenses may use
12  * this file in accordance with the libFirm Commercial License.
13  * Agreement provided with the Software.
14  *
15  * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
16  * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
17  * PURPOSE.
18  */
19
20 /**
21  * @file
22  * @brief     Central firm header.
23  * @author    Martin Trapp, Christian Schaefer, Goetz Lindenmaier
24  * @version   $Id$
25  * @brief
26  *  Central FIRM header.
27  *
28  *  FIRM is a full graph based intermediate representation in SSA Form
29  *  with a novel concept to model side effects.  It allows fast, aggressive
30  *  optimizations.
31  *
32  *  This header is the central header of the library implementation of this
33  *  IR.
34  *
35  *  The internal representation of a program in firm is separated into five
36  *  different modules:
37  *   - Firm Graphs representing the code of a program. (Subdirectory ir.)
38  *     Firm Graphs are assembled out of several data structures:
39  *     irprog: represents a program.  Allows access to all types and all
40  *       FIRM graphs for procedures and other global things.
41  *     irgraph: represents a procedure.  Allows access to the code of the
42  *       procedure, the actual FIRM graph.
43  *     irnode: A node of a FIRM graph.  Nodes are typed with an opcode and a mode
44  *   and represent instructions in a program.
45  *     irop: The opcode of FIRM nodes.
46  *     irmode: The mode of FIRM nodes.  Most modes correspond to machine known
47  *       data types (int, float, pointer).
48  *   - Entities representing program known objects. (Subdirectory tr.)
49  *     All variables and procedures are entities.
50  *   - Types describing the type system for the program. (Subdirectory tr.)
51  *   - Target Values representing program known constants. (Subdirectory tv.)
52  *   - Identifiers representing any Strings used in the program. (Subdirectory ident.)
53  *
54  *   Further this library supplies functionality to build and optimize FIRM graphs
55  *   and further functionality needed in a compiler.  Finally there is more
56  *   generic functionality to support implementations using firm.  (Code generation,
57  *   further optimizations).
58  */
59 #ifndef FIRM_COMMON_FIRM_H
60 #define FIRM_COMMON_FIRM_H
61
62 #include "analyze_irg_args.h"
63 #include "be.h"
64 #include "callgraph.h"
65 #include "cdep.h"
66 #include "cgana.h"
67 #include "dbginfo.h"
68 #include "execfreq.h"
69 #include "execution_frequency.h"
70 #include "field_temperature.h"
71 #include "firm_common.h"
72 #include "firmstat.h"
73 #include "firm_types.h"
74 #include "height.h"
75 #include "ident.h"
76 #include "interval_analysis.h"
77 #include "irarch.h"
78 #include "ircgcons.h"
79 #include "ircgopt.h"
80 #include "irconsconfirm.h"
81 #include "ircons.h"
82 #include "irdom.h"
83 #include "vrp.h"
84 #include "irdump.h"
85 #include "iredgekinds.h"
86 #include "iredges.h"
87 #include "irextbb.h"
88 #include "irflag.h"
89 #include "irgmod.h"
90 #include "irgopt.h"
91 #include "irgraph.h"
92 #include "irgwalk.h"
93 #include "irhooks.h"
94 #include "irio.h"
95 #include "irloop.h"
96 #include "irmemory.h"
97 #include "irmode.h"
98 #include "irnode.h"
99 #include "irop.h"
100 #include "iropt.h"
101 #include "iroptimize.h"
102 #include "irouts.h"
103 #include "irpass.h"
104 #include "irprintf.h"
105 #include "irprog.h"
106 #include "irsimpletype.h"
107 #include "irtypeinfo.h"
108 #include "irvrfy.h"
109 #include "lowering.h"
110 #include "pseudo_irg.h"
111 #include "rta.h"
112 #include "seqnumbers.h"
113 #include "structure.h"
114 #include "timing.h"
115 #include "trouts.h"
116 #include "tv.h"
117 #include "typerep.h"
118
119 #endif