move backend into libfirm
[libfirm] / ir / be / bespilloptions.h
1 /*
2  * Author:      Matthias Braun
3  * Date:                12.10.2006
4  * Copyright:   (c) Universitaet Karlsruhe
5  * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
6  */
7 #ifndef BESPILL_OPTIONS_H_
8 #define BESPILL_OPTIONS_H_
9
10 #include "bechordal.h"
11
12 extern int be_coalesce_spill_slots;
13 extern int be_do_remats;
14
15 typedef struct be_spiller_t {
16         void (*spill) (be_irg_t *birg, const arch_register_class_t* cls);
17 } be_spiller_t;
18 void be_register_spiller(const char *name, be_spiller_t *spiller);
19
20 void be_do_spill(be_irg_t *birg, const arch_register_class_t* cls);
21
22 #endif