use sub_immediate in case of add a,0x1000
[libfirm] / ir / be / beschedmris.h
index e6eb87a..9a052f3 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
+ * Copyright (C) 1995-2008 University of Karlsruhe.  All right reserved.
  *
  * This file is part of libFirm.
  *
  */
 
 /**
- * Implements a list schedule selector for the MRIS algorithm in:
+ * @file
+ * @brief       Implements a list scheduler for the MRIS algorithm.
+ * @author      Sebastian Hack
+ * @date        04.04.2006
+ * @version     $Id$
+ *
+ * Implements a list scheduler for the MRIS algorithm in:
  * Govindarajan, Yang, Amaral, Zhang, Gao
  * Minimum Register Instruction Sequencing to Reduce Register Spills
  * in out-of-order issue superscalar architectures
  */
+#ifndef FIRM_BE_BESCHEDMRIS_H
+#define FIRM_BE_BESCHEDMRIS_H
 
-#ifndef _BESCHEDMRIS_H
-#define _BESCHEDMRIS_H
-
-#include "be.h"
-#include "belistsched.h"
+#include "beirg.h"
 
 typedef struct _mris_env_t mris_env_t;
 
 /**
  * Preprocess the irg with the MRIS algorithm.
- * @param birg The backend irg.
+ * @param irg  The graph
  * @return     Private data to be kept.
  */
-mris_env_t *be_sched_mris_preprocess(const be_irg_t *birg);
+mris_env_t *be_sched_mris_preprocess(ir_graph *irg);
 
 /**
  * Cleanup the MRIS preprocessing.
@@ -50,4 +54,4 @@ void be_sched_mris_free(mris_env_t *env);
  */
 void dump_ir_block_graph_mris(mris_env_t *env, const char *suffix);
 
-#endif /* _BESCHEDMRIS_H */
+#endif