- Split bearch.h correctly into bearch.h and bearch_t.h
[libfirm] / ir / be / ia32 / ia32_x87.h
1 /**
2  * This file implements the x87 support and virtual to stack
3  * register translation.
4  *
5  * $Id$
6  */
7 #ifndef _IA32_X87_H_
8 #define _IA32_X87_H_
9
10 #include "../bearch_t.h"
11
12 /**
13  * Run a simulation and fix all virtual instructions for a graph.
14  * Replaces all virtual floating point instructions and registers
15  * by real ones.
16  *
17  * @param env       architecture environment
18  * @param birg      the graph to simulate and patch
19  *
20  * Registers must be allocated.         Needs a block-schedule.
21  */
22 void x87_simulate_graph(const arch_env_t *env, be_irg_t *birg);
23
24 #endif /* _IA32_X87_H_ */