X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fia32%2Fia32_finish.h;h=b5387ffea237c91463c67a032038d155b4cc58e6;hb=a1e9069afa4fa1e16e2d176bcd7905d6a1ed4677;hp=9efe9d79d933bb14ba2f2f5b7292e76e69e43364;hpb=863d31d7a5c8210432fef88b30fc3e8353131538;p=libfirm diff --git a/ir/be/ia32/ia32_finish.h b/ir/be/ia32/ia32_finish.h index 9efe9d79d..b5387ffea 100644 --- a/ir/be/ia32/ia32_finish.h +++ b/ir/be/ia32/ia32_finish.h @@ -1,17 +1,41 @@ +/* + * 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. + * + * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE + * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE. + */ + /** - * Function prototypes for irg finishing. - * @author Christian Wuerdig - * $Id$ + * @file + * @brief This file implements functions to finalize the irg for emit. + * @author Christian Wuerdig + * @version $Id$ */ +#ifndef FIRM_BE_IA32_IA32_FINISH_H +#define FIRM_BE_IA32_IA32_FINISH_H -#ifndef _IA32_FINISH_H_ -#define _IA32_FINISH_H_ +#include "irgraph.h" +#include "bearch_ia32_t.h" /** - * Check 2-Addesscode constraints and call peephole optimizations. + * Check 2-Addresscode constraints and call peephole optimizations. * @param irg The irg to finish - * @param cg The codegenerator object for the irg */ -void ia32_finish_irg(ir_graph *irg, ia32_code_gen_t *cg); +void ia32_finish_irg(ir_graph *irg); + +/** Initialize the finisher. */ +void ia32_init_finish(void); -#endif /* _IA32_FINISH_H_ */ +#endif