/* The representations */
#include "firm_common.h" /* common type tags. */
#include "irprog.h" /* control flow and data of a program */
+#include "irgraph.h" /* graphs */
#include "type.h" /* type representation */
#include "entity.h" /* entity representation */
#include "tv.h" /* target values */
#include "proc_cloning.h" /* procedure cloning */
#include "opt_confirms.h" /* Confirm based optimizations */
#include "gvn_pre.h" /* global value numbering and partial redundancy elimination */
-//#include "opt_branches.h" /* Branch optimizations */
+#include "opt_frame.h" /* frame type optimization */
+
+/* Lowering */
+#include "lower_calls.h" /* lowering of different calls */
+#include "lower_intrinsics.h" /* lowering of intrinsic calls */
/* Analyses */
#include "irouts.h" /* Graph reversal / out edges. */
typedef struct _firm_parameter_t firm_parameter_t;
+#define libFirm_VERSION_MAJOR 1
+#define libFirm_VERSION_MINOR 4
+
+/**
+ * The Firm version number.
+ */
+typedef struct _firm_version_t {
+ unsigned major;
+ unsigned minor;
+} firm_version_t;
+
/**
* Initialize the firm library.
*
*/
void free_firm(void);
+/**
+ * Returns the libFirm version number.
+ * If statically linked, always libFirm_VERSION_MAJOR, libFirm_VERSION_MINOR
+ */
+void firm_get_version(firm_version_t *version);
+
#ifdef __cplusplus
}
#endif