X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fia32%2Fia32_finish.h;h=fb3b18bfdc867666a7468ef945e835ef4f05dff2;hb=40db13dafa724caf3f38f76539cf107cd4c1a376;hp=9efe9d79d933bb14ba2f2f5b7292e76e69e43364;hpb=7177a7f07255cc8f0cccd4d3777b19d06b18549b;p=libfirm diff --git a/ir/be/ia32/ia32_finish.h b/ir/be/ia32/ia32_finish.h index 9efe9d79d..fb3b18bfd 100644 --- a/ir/be/ia32/ia32_finish.h +++ b/ir/be/ia32/ia32_finish.h @@ -1,17 +1,40 @@ +/* + * 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 */ +#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