little cleanup
[libfirm] / ir / common / firm.h
index 4a65d2e..0bfeb7c 100644 (file)
@@ -79,6 +79,8 @@ extern "C" {
 #include "funccall.h"       /* real function call optimization */
 #include "return.h"         /* Return node normalizations */
 #include "scalar_replace.h" /* Scalar replacement */
+#include "proc_cloning.h"   /* procedure cloning */
+//#include "opt_branches.h"   /* Branch optimizations */
 
 /* Analyses */
 #include "irouts.h"         /* Graph reversal / out edges. */
@@ -89,12 +91,12 @@ extern "C" {
 #include "irloop.h"         /* loop and backedge analysis */
 #include "callgraph.h"      /* Callgraph construction */
 #include "irconsconfirm.h"  /* Confirm nodes */
+#include "analyze_irg_args.h" /* Simple pointer parameter analysis */
 #include "interval_analysis.h"
 #include "field_temperature.h"
 #include "execution_frequency.h"
 
 /* Support */
-#include "irtools.h"        /* often needed tools */
 #include "irgmod.h"         /* Support to modify ir */
 #include "irgwalk.h"        /* Support to walk ir */
 #include "typewalk.h"       /* Support to walk type information */
@@ -174,6 +176,41 @@ struct _firm_parameter_t {
    * If not set, no architecture dependent operations will be used.
    */
   arch_ops_info *arch_op_settings;
+
+  /**
+   * The default calling convention.
+   */
+  unsigned cc_mask;
+
+  /**
+   * The debug info that should be used for "builtin" objects.
+   */
+  dbg_info *builtin_dbg;
+
+       /**
+        * Prefix for the command line options.
+        * example: if the option is -ffirm-opt-bla, then the prefix is "-f"
+        * @note Only active, if libfirm is compiled with libcore.
+        */
+       const char *arg_prefix;
+
+       /**
+        * Number of arguments in the "command line".
+        * @note Only active, if libfirm is compiled with libcore.
+        */
+       int argc;
+
+       /**
+        * Array of arguments.
+        * @note Only active, if libfirm is compiled with libcore.
+        */
+       const char **argv;
+
+       /**
+        * Name of ini file which is initially read.
+        * @note Only active, if libfirm is compiled with libcore.
+        */
+       const char *ini_file;
 };
 
 typedef struct _firm_parameter_t firm_parameter_t;