X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbespillbelady.h;h=2c0c12d0d92ef582b3c1f8b350e851efc254e46f;hb=aaf30448f95e453f735e984d3fb0e66622626ca8;hp=5a7867c12871bf8142294ae405556c2bf4b8588b;hpb=1784d7abdbabb7b26bab3a49c1460499c1f4f5b9;p=libfirm diff --git a/ir/be/bespillbelady.h b/ir/be/bespillbelady.h index 5a7867c12..2c0c12d0d 100644 --- a/ir/be/bespillbelady.h +++ b/ir/be/bespillbelady.h @@ -1,5 +1,5 @@ /** - * Author: Daniel Grund + * Author: Daniel Grund, Matthias Braun * Date: 20.09.2005 * Copyright: (c) Universitaet Karlsruhe * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE. @@ -14,8 +14,12 @@ #include "bearch.h" #include "bespill.h" -void be_spill_belady(be_irg_t *birg, const arch_register_class_t *cls); -/// Same as be_spill_belady but reuses an existing spill environment -void be_spill_belady_spill_env(be_irg_t *birg, const arch_register_class_t *cls, spill_env_t *spill_env); +/** + * Same as be_spill_belady but reuses an existing spill environment. + * This is usefull for "pre-spillers" that create some spills+reloads + * but can't ensure that regpressure never exceeds the number of registers + */ +void be_spill_belady_spill_env(be_irg_t *birg, const arch_register_class_t *cls, + spill_env_t *spill_env); #endif /*BESPILLBELADY_H_*/