X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbespilloptions.h;h=576a1b97dad457d709a0c11596318dc29212e783;hb=93da909d12b7bec51aa36ee5f05966c331f90fb9;hp=0a2b06bfa05b50c2564d910c06875900d8839de4;hpb=8624e724f0873fe99349c327f9bb0a618910106e;p=libfirm diff --git a/ir/be/bespilloptions.h b/ir/be/bespilloptions.h index 0a2b06bfa..576a1b97d 100644 --- a/ir/be/bespilloptions.h +++ b/ir/be/bespilloptions.h @@ -1,22 +1,43 @@ /* - * Author: Matthias Braun - * Date: 12.10.2006 - * Copyright: (c) Universitaet Karlsruhe - * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. + * 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. */ -#ifndef BESPILL_OPTIONS_H_ -#define BESPILL_OPTIONS_H_ -#include "bechordal.h" +/** + * @file + * @brief Option handling for spiller. + * @author Matthias Braun + * @date 12.10.2006 + * @version $Id$ + */ +#ifndef FIRM_BE_BESPILL_OPTIONS_H +#define FIRM_BE_BESPILL_OPTIONS_H + +#include "bearch.h" +#include "beirg.h" extern int be_coalesce_spill_slots; extern int be_do_remats; typedef struct be_spiller_t { - void (*spill) (const be_chordal_env_t *env); + void (*spill) (be_irg_t *birg, const arch_register_class_t *cls); } be_spiller_t; void be_register_spiller(const char *name, be_spiller_t *spiller); -void be_do_spill(const be_chordal_env_t *env); +void be_do_spill(be_irg_t *birg, const arch_register_class_t *cls); #endif