Added copyright headers. Adapted to new arch-interface. Removed a ton of
[libfirm] / ir / be / becopyoptmain.h
1 /**
2  * Author:      Daniel Grund
3  * Date:                11.04.2005
4  * Copyright:   (c) Universitaet Karlsruhe
5  * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
6
7  * Main header for the optimization reducing the copies needed for:
8  * - phi coalescing
9  * - register-constrained nodes
10  *
11  * Checker included.
12  * By request some statistics are collected too.
13  */
14
15 #ifndef _BECOPYOPTMAIN_H
16 #define _BECOPYOPTMAIN_H
17
18 #include "irgraph.h"
19 #include "bearch.h"
20
21 void be_copy_opt_init(void);
22 void be_copy_opt(ir_graph* irg, const arch_env_t *env, const arch_register_class_t *cls);
23
24 #endif