- added more classification functions for floating point tarvals
[libfirm] / include / libfirm / firm.h
index 05bc86d..e0b5769 100644 (file)
@@ -82,10 +82,7 @@ extern "C" {
 #include "ircgopt.h"        /* Optimizations based on interprocedural graph */
 
 /* Lowering */
-#include "lower_calls.h"      /* lowering of different calls */
-#include "lower_intrinsics.h" /* lowering of intrinsic calls */
-#include "lower_dw.h"         /* double word types lowering */
-#include "lower_hl.h"         /* lowering of high-level constructs */
+#include "lowering.h"         /* lowering of different calls parameters, intrinsic calls, double word types, high-level constructs */
 
 /* Analyses */
 #include "irouts.h"           /* Graph reversal / out edges. */
@@ -112,6 +109,7 @@ extern "C" {
 
 #include "firmstat.h"      /* statistics */
 
+#include "dbginfo.h"       /* debug support */
 #include "seqnumbers.h"    /* debug support */
 #include "firm_ycomp.h"    /* ycomp debugging support */
 
@@ -189,8 +187,14 @@ struct _firm_parameter_t {
 
 typedef struct _firm_parameter_t firm_parameter_t;
 
-#define libFirm_VERSION_MAJOR 1
-#define libFirm_VERSION_MINOR 4
+/* Set a version number if it has not been set in environment */
+#ifndef libfirm_VERSION_MAJOR
+#define libfirm_VERSION_MAJOR 1
+#endif
+
+#ifndef libfirm_VERSION_MINOR
+#define libfirm_VERSION_MINOR 4
+#endif
 
 /**
  * The Firm version number.
@@ -198,6 +202,8 @@ typedef struct _firm_parameter_t firm_parameter_t;
 typedef struct _firm_version_t {
   unsigned major;
   unsigned minor;
+  const char *revision;
+  const char *build;
 } firm_version_t;
 
 /**