assure_irg_outs() added
[libfirm] / ir / stat / firmstat.h
index 27ab585..9cac44d 100644 (file)
@@ -71,6 +71,11 @@ enum firmstat_optimizations_t {
   FS_BE_IA32_AM_S,                          /**< Source address mode node created */
   FS_BE_IA32_AM_D,                          /**< Destination address mode node created */
   FS_BE_IA32_CJMP,                          /**< CJmp created to save a cmp/test */
+  FS_BE_IA32_2ADDRCPY,                      /**< Copy created due to 2-Addresscode constraints */
+  FS_BE_IA32_SPILL2ST,                      /**< Created Store for a Spill */
+  FS_BE_IA32_RELOAD2LD,                     /**< Created Load for a Reload */
+  FS_BE_IA32_SUB2NEGADD,                    /**< Created Neg-Add for a Sub due to 2-Addresscode constraints */
+  FS_BE_IA32_LEA2ADD,                       /**< Transformed Lea back into Add */
   FS_OPT_MAX
 };
 
@@ -95,4 +100,10 @@ void firm_init_stat(unsigned enable_options);
  */
 void stat_term(void);
 
+/**
+ * returns 1 if statistic module is active, 0 otherwise
+ */
+int stat_is_active(void);
+
+
 #endif /* _FIRMSTAT_H_ */