becopyheur4: Clean up co_mst_irn_init().
[libfirm] / ir / be / ia32 / ia32_x87.h
1 /*
2  * This file is part of libFirm.
3  * Copyright (C) 2012 University of Karlsruhe.
4  */
5
6 /**
7  * @file
8  * @brief       This file implements the x87 support and virtual to stack
9  *              register translation for the ia32 backend.
10  * @author      Michael Beck
11  */
12 #ifndef FIRM_BE_IA32_IA32_X87_H
13 #define FIRM_BE_IA32_IA32_X87_H
14
15 #include "firm_types.h"
16
17 /**
18  * Run a simulation and fix all virtual instructions for a graph.
19  * Replaces all virtual floating point instructions and registers
20  * by real ones.
21  *
22  * @param irg      the graph to simulate and patch
23  *
24  * Registers must be allocated.
25  */
26 void ia32_x87_simulate_graph(ir_graph *irg);
27
28 /**
29  * Initializes the x87 simulator.
30  */
31 void ia32_init_x87(void);
32
33 #endif