Moved routines for automatic Phi construction from irgmod to ircons.
Sorted functions in ircons to reflect the different interfaces.
Renamed dataseg to globals to be conformant with documentation.
- Added conservation of current_ir_graph to irgopt.c
+ Added conservation of current_ir_graph to irgopt.c.
+ Corrected bug in Makefiles: wrong path to directory ./inlude.
4.7.2000 Goetz
Commented a whole bunch of stuff, e.g. in ircons.h (Procedure to construct)
# Further it updates the TAGS file with each recompilation
SUBDIRS = adt common debug ident ir tr tv
-INCLUDES = -I../adt -I../common -I../debug -I../ident -I../include \
+INCLUDES = -I../adt -I../common -I../debug -I../ident -I../../include \
-I../ir -I../tr -I../tv
OFILES =
LIBPATH =
LIBS =
X_LIBS =
-INCLUDES = -I../adt -I../common -I../debug -I../ident -I../include \
+INCLUDES = -I../adt -I../common -I../debug -I../ident -I../../include \
-I../ir -I../tr -I../tv
X_INCLUDES =
LIBPATH =
LIBS =
X_LIBS =
-INCLUDES = -I../adt -I../common -I../debug -I../ident -I../include \
+INCLUDES = -I../adt -I../common -I../debug -I../ident -I../../include \
-I../ir -I../tr -I../tv
X_INCLUDES =
** irgmod.h: ir graph modification
*/
+# ifndef _IRGMOD_H_
+# define _IRGMOD_H_
+
# include "irnode.h"
/* Exchanges two nodes by conserving edges leaving old (i.e., pointers)
pointing to old. */
inline void exchange (ir_node *old, ir_node *new);
+
+#endif /* ifndef _IRGMOD_H_ */
LIBPATH =
LIBS =
X_LIBS =
-INCLUDES = -I../adt -I../common -I../debug -I../ident -I../include \
+INCLUDES = -I../adt -I../common -I../debug -I../ident -I../../include \
-I../ir -I../tr -I../tv
X_INCLUDES =
typedef struct {
firm_kind kind;
ident *name; /* do I need the name,
- or is the name in entity sufficient? */
+ or is the name in entity sufficient?
+ No, there is no name for the type. Types have
+ only names if typedef's give them one. */
int arity; /* number of parameters, better n_params */
type **param_type; /* code generation needs this information.
Should it be generated by the frontend,
or does this impose unnecessary work for
- optimizatinos that change the parameters of
+ optimizations that change the parameters of
methods? */
int n_res; /* number of results */
type **res_type;
LIBPATH =
LIBS =
X_LIBS =
-INCLUDES = -I../adt -I../common -I../debug -I../ident -I../include \
+INCLUDES = -I../adt -I../common -I../debug -I../ident -I../../include \
-I../ir -I../tr -I../tv
X_INCLUDES =
DIRS = adt common debug ident ir tr tv
-INCDIRS = $(DIRS:%=-I../ir/%)
+INCDIRS = $(DIRS:%=-I../ir/%) -I../include
LIBDIRS=-L.. -L/usr/public/lib/gmp/
LIBS=-lfirm -lgmp -lm