X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbesched.h;h=cade289f2dcaf26d835312496169b722e06260c2;hb=9276447aec4972df060349e162f583c4898dfec8;hp=78edf1345355a111880962b9f1c19ad750db7929;hpb=863d31d7a5c8210432fef88b30fc3e8353131538;p=libfirm diff --git a/ir/be/besched.h b/ir/be/besched.h index 78edf1345..cade289f2 100644 --- a/ir/be/besched.h +++ b/ir/be/besched.h @@ -1,20 +1,42 @@ /* - * Scheduling utilities for nodes in Blocks and Blocks. + * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. * - * $Id$ + * 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. + */ + +/** + * @file + * @brief Scheduling utilities for nodes in Blocks and Blocks. + * @author Sebastian Hack + * @version $Id$ */ -#ifndef _BESCHED_H -#define _BESCHED_H +#ifndef FIRM_BE_BESCHED_H +#define FIRM_BE_BESCHED_H #include -#include "firm_types.h" +#include "irgraph.h" +#include "irnode.h" void be_sched_dump(FILE *f, ir_graph *irg); int sched_get_time_step(const ir_node *irn); int sched_has_next(const ir_node *irn); int sched_has_prev(const ir_node *irn); +int sched_is_scheduled(const ir_node *irn); ir_node *sched_next(const ir_node *irn); ir_node *sched_prev(const ir_node *irn); ir_node *sched_first(const ir_node *block); @@ -56,4 +78,4 @@ void sched_remove(ir_node *irn); */ void be_remove_dead_nodes_from_schedule(ir_graph *irg); -#endif /* _BESCHED_H */ +#endif /* FIRM_BE_BESCHED_H */