X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbeilpsched.h;h=2b6a682402390bdbea7ec0817825c18465525b73;hb=883aa8413813772449233d98b7faeaafe76f9534;hp=f20df66bcb519728d37b6edfcff52f361cf8840b;hpb=0a1461dc38a49441ac9f204ff38da511a730d262;p=libfirm diff --git a/ir/be/beilpsched.h b/ir/be/beilpsched.h index f20df66bc..2b6a68240 100644 --- a/ir/be/beilpsched.h +++ b/ir/be/beilpsched.h @@ -1,10 +1,39 @@ -#ifndef _BEILPSCHED_H_ -#define _BEILPSCHED_H_ +/* + * Copyright (C) 1995-2007 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. + */ -#include "firm_config.h" +/** + * @file + * @brief ILP based instruction scheduling. + * @author Christian Wuerdig + * @date 22.10.2006 + * @version $Id$ + * + * An ILP scheduler based on + * "ILP-based Instruction Scheduling for IA-64" + * by Daniel Kaestner and Sebastian Winkel + * extended with register pressure constraints by Christian Wuerdig + */ +#ifndef FIRM_BE_BEILPSCHED_H +#define FIRM_BE_BEILPSCHED_H -#include "bemachine.h" -#include "beirg.h" +#include "irgraph.h" +#include "irnode.h" typedef struct _ilp_sched_selector_t ilp_sched_selector_t; typedef struct _ilp_sched_selector_if_t ilp_sched_selector_if_t; @@ -121,18 +150,6 @@ struct _ilp_sched_selector_t { /** * Perform ILP scheduling on given birg. */ -void be_ilp_sched(const be_irg_t *birg); - -#ifdef WITH_LIBCORE - -#include -#include - -/** - * Register ILP scheduler options. - */ -void ilpsched_register_options(lc_opt_entry_t *grp); - -#endif /* WITH_LIBCORE */ +void be_ilp_sched(const be_irg_t *birg, be_options_t *be_opts); -#endif /* _BEILPSCHED_H_ */ +#endif /* FIRM_BE_BEILPSCHED_H */