add correct compare functions for be nodes
[libfirm] / ir / be / bemodule.c
index aa0cdb8..35377d8 100644 (file)
@@ -1,9 +1,28 @@
 /*
- * Author:      Matthias Braun
- * Date:        29.09.2005
- * Copyright:   (c) Universitaet Karlsruhe
- * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
- * CVS-Id:      $Id$
+ * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
+ *
+ * This file is part of libFirm.
+ *
+ * This file may be distributed and/or modified under the terms of the
+ * GNU General Public License version 2 as published by the Free Software
+ * Foundation and appearing in the file LICENSE.GPL included in the
+ * packaging of this file.
+ *
+ * Licensees holding valid libFirm Professional Edition licenses may use
+ * this file in accordance with the libFirm Commercial License.
+ * Agreement provided with the Software.
+ *
+ * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
+ * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE.
+ */
+
+/**
+ * @file
+ * @brief       Backend module interface.
+ * @author      Matthias Braun
+ * @date        29.09.2005
+ * @version     $Id$
  */
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -20,9 +39,11 @@ void be_init_spill(void);
 void be_init_listsched(void);
 void be_init_schedrss(void);
 void be_init_chordal(void);
+void be_init_chordal_main(void);
 void be_init_copycoal(void);
 void be_init_copyheur2(void);
-void be_init_raextern(void);
+void be_init_copyheur3(void);
+void be_init_copyheur4(void);
 void be_init_copystat(void);
 void be_init_arch_ia32(void);
 void be_init_arch_ppc32(void);
@@ -36,7 +57,13 @@ void be_init_ra(void);
 void be_init_spillbelady(void);
 void be_init_spillmorgan(void);
 void be_init_spillremat(void);
+void be_init_ssaconstr(void);
 void be_init_ifg(void);
+void be_init_irgmod(void);
+void be_init_loopana(void);
+void be_init_spillslots(void);
+void be_init_live(void);
+void be_init_state(void);
 
 void be_quit_copystat(void);
 
@@ -52,19 +79,26 @@ void be_init_modules(void)
                return;
        run_once = 1;
 
+       be_init_irgmod();
+       be_init_loopana();
+       be_init_live();
+       be_init_spillslots();
        be_init_sched();
        be_init_blocksched();
        be_init_spill();
        be_init_listsched();
        be_init_schedrss();
+       be_init_chordal_main();
        be_init_chordal();
        be_init_copycoal();
        be_init_copyheur2();
-       be_init_raextern();
+       be_init_copyheur4();
        be_init_copystat();
        be_init_ra();
        be_init_spillbelady();
        be_init_spillmorgan();
+       be_init_ssaconstr();
+       be_init_state();
        be_init_ifg();
 
        be_init_arch_ia32();
@@ -79,6 +113,7 @@ void be_init_modules(void)
 #endif /* WITH_ILP */
 
 #ifdef WITH_JVM
+       be_init_copyheur3();
        be_init_javacoal();
 #endif /* WITH_JVM */
 
@@ -94,7 +129,6 @@ void be_quit_modules(void)
 
 //---------------------------------------------------------------------------
 
-#ifdef WITH_LIBCORE
 typedef struct module_opt_data_t {
        void **var;
        be_module_list_entry_t * const *list_head;
@@ -211,5 +245,3 @@ void be_add_module_list_opt(lc_opt_entry_t *grp, const char *name,
                       set_opt_module, dump_opt_module, dump_opt_module_vals,
                                   NULL);
 }
-
-#endif /* WITH_LIBCORE */