2 * This file is part of libFirm.
3 * Copyright (C) 2012 University of Karlsruhe.
8 * @brief This file implements the x87 support and virtual to stack
9 * register translation for the ia32 backend.
10 * @author Michael Beck
12 #ifndef FIRM_BE_IA32_IA32_X87_H
13 #define FIRM_BE_IA32_IA32_X87_H
15 #include "firm_types.h"
18 * Run a simulation and fix all virtual instructions for a graph.
19 * Replaces all virtual floating point instructions and registers
22 * @param irg the graph to simulate and patch
24 * Registers must be allocated.
26 void ia32_x87_simulate_graph(ir_graph *irg);
29 * Initializes the x87 simulator.
31 void ia32_init_x87(void);