X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbechordal.h;h=fa94cdb2c48ab6168a7025a7cbb43fc8cf78aba9;hb=0a8dac2b5fb9e59ea2add322baf61237b607bea5;hp=b30b770640d552c975728dc8a5c848b7503712c0;hpb=4d5c3365a58cba59993045a9e08e686d8ae079a7;p=libfirm diff --git a/ir/be/bechordal.h b/ir/be/bechordal.h index b30b77064..fa94cdb2c 100644 --- a/ir/be/bechordal.h +++ b/ir/be/bechordal.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -17,19 +17,23 @@ * PURPOSE. */ - /** - * Chordal register allocation. - * @author Sebastian Hack - * @date 14.12.2004 + * @file + * @brief Chordal register allocation. + * @author Sebastian Hack + * @date 14.12.2004 */ +#ifndef FIRM_BE_BECHORDAL_H +#define FIRM_BE_BECHORDAL_H -#ifndef __BECHORDAL_H -#define __BECHORDAL_H +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; -#include "bearch_t.h" -#include "bera.h" +typedef struct be_ra_chordal_coloring_t { + void (*allocate)(be_chordal_env_t *env); +} be_ra_chordal_coloring_t; -typedef struct be_chordal_env_t be_chordal_env_t; +void be_register_chordal_coloring(const char *name, be_ra_chordal_coloring_t *coloring); -#endif +#endif /* FIRM_BE_BECHORDAL_H */