X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbechordal.h;h=d3434f9eaa7501e726d46923c5df9b2a62634380;hb=1feb131961e2051b2e67ebf559681ddcaea67a26;hp=0d6949ff2fac1b4950275939bcd950cd012d82aa;hpb=a1cf7cc9742645630a1bf5c56c72f542d975645f;p=libfirm diff --git a/ir/be/bechordal.h b/ir/be/bechordal.h index 0d6949ff2..d3434f9ea 100644 --- a/ir/be/bechordal.h +++ b/ir/be/bechordal.h @@ -1,25 +1,34 @@ - -/** - * Chordal register allocation. - * @author Sebastian Hack - * @date 14.12.2004 +/* + * 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. */ -#ifndef __BECHORDAL_H -#define __BECHORDAL_H - -#include "irgraph.h" -#include "irnode.h" - /** - * Allocate registers for an ir graph. - * @param irg The graph. - * @return Some internal data to be freed with be_ra_chordal_free(). + * @file + * @brief Chordal register allocation. + * @author Sebastian Hack + * @date 14.12.2004 + * @version $Id$ */ -void be_ra_chordal(ir_graph *irg); +#ifndef FIRM_BE_BECHORDAL_H +#define FIRM_BE_BECHORDAL_H -void be_ra_chordal_done(ir_graph *irg); -void be_ra_chordal_init(void); -int phi_ops_interfere(const ir_node *a, const ir_node *b); +typedef struct be_chordal_env_t be_chordal_env_t; +typedef struct be_ra_chordal_opts_t be_ra_chordal_opts_t; +typedef struct border_t border_t; -#endif +#endif /* FIRM_BE_BECHORDAL_H */