1 /* Copyright (C) 1998 - 2000 by Universitaet Karlsruhe
2 ** All rights reserved.
4 ** Authors: Martin Trapp, Christian Schaefer &
7 ** common.h: common firm declarations
13 /** Global flags. Set these by autoconf?? **/
15 /* There are two implementations of the Phi node construction. The first
16 is faster, but does not work for blocks with more than 2 predecessors.
17 The second works always but is slower and causes more unnecessary Phi
19 Select the implementations by the following preprocessor flag: */
20 #define USE_FAST_PHI_CONSTRUCTION 0
22 /* Further there are two versions of the fast Phi node construction.
23 If the following flag is set, new_r_Phi_in uses an explicit stack for
24 allocating and deallocating Phi nodes. Else it uses the obstack
26 #define USE_EXPICIT_PHI_IN_STACK 1
28 /* If this is defined debuging aids are created, e.g. a field in
29 ir_node uniquely numbering the nodes. */
30 /* #define DEBUG_libfirm 1 */
32 * this is now set by the configure script as an option
40 /* a list of firm kinds */
54 /* returns the kind of the thing */
55 firm_kind get_kind(void *firm_thing);
57 /* returns a string. */
58 const char* print_firm_kind(void *firm_thing);
61 # endif /*_COMMON_H_ */