X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fia32%2Fia32_x87.h;h=c9da0db09d19f794bb512c3bf942a24757c6efa8;hb=3f807bf48426a29da4129ff29c44a4b4690c45f6;hp=c404af8b92dd14ca486b476db1921ada538e7b49;hpb=7bbc030feabfeff26ed36d2ad910c0669691bf4f;p=libfirm diff --git a/ir/be/ia32/ia32_x87.h b/ir/be/ia32/ia32_x87.h index c404af8b9..c9da0db09 100644 --- a/ir/be/ia32/ia32_x87.h +++ b/ir/be/ia32/ia32_x87.h @@ -1,13 +1,34 @@ -/** - * This file implements the x87 support and virtual to stack - * register translation. +/* + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. + * + * This file is part of libFirm. + * + * This file may be distributed and/or modified under the terms of the + * GNU General Public License version 2 as published by the Free Software + * Foundation and appearing in the file LICENSE.GPL included in the + * packaging of this file. + * + * Licensees holding valid libFirm Professional Edition licenses may use + * this file in accordance with the libFirm Commercial License. + * Agreement provided with the Software. * - * $Id$ + * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE + * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE. + */ + +/** + * @file + * @brief This file implements the x87 support and virtual to stack + * register translation for the ia32 backend. + * @author Michael Beck + * @version $Id$ */ -#ifndef _IA32_X87_H_ -#define _IA32_X87_H_ +#ifndef FIRM_BE_IA32_IA32_X87_H +#define FIRM_BE_IA32_IA32_X87_H #include "../bearch.h" +#include "../beirg.h" /** * Run a simulation and fix all virtual instructions for a graph. @@ -15,11 +36,10 @@ * by real ones. * * @param env architecture environment - * @param irg the graph to simulate and patch - * @param blk_list an array containing the block schedule + * @param birg the graph to simulate and patch * * Registers must be allocated. Needs a block-schedule. */ -void x87_simulate_graph(const arch_env_t *env, ir_graph *irg, ir_node **blk_list); +void x87_simulate_graph(const arch_env_t *env, be_irg_t *birg); -#endif /* _IA32_X87_H_ */ +#endif /* FIRM_BE_IA32_IA32_X87_H */