X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbeirg.h;h=8b4e19e6f689b493f4032e6ad4bf568ddfea4bd7;hb=5474a1c188c9d59eea2c915515980cd9cbab58d8;hp=1b7c1a825f11cd76e2238c0757706b6875313667;hpb=15ad7ccd8dff64e1808e1d093d4a8d7cda5af33e;p=libfirm diff --git a/ir/be/beirg.h b/ir/be/beirg.h index 1b7c1a825..8b4e19e6f 100644 --- a/ir/be/beirg.h +++ b/ir/be/beirg.h @@ -22,7 +22,6 @@ * @brief Backend irg - a ir_graph with additional analysis information. * @author Matthias Braun * @date 05.05.2006 - * @version $Id$ */ #ifndef FIRM_BE_BEIRG_H #define FIRM_BE_BEIRG_H @@ -32,11 +31,22 @@ #include "be_t.h" #include "irtypes.h" -be_lv_t *be_assure_liveness(ir_graph *irg); - void be_assure_dom_front(ir_graph *irg); void be_invalidate_dom_front(ir_graph *irg); +void be_assure_live_sets(ir_graph *irg); +void be_assure_live_chk(ir_graph *irg); +/** + * Liveness is invalid (call when nodes have been added but the control + * flow has not been changed) + */ +void be_invalidate_live_sets(ir_graph *irg); +/** + * Call when control flow has changed. + * be_invalidate_live_sets() is called. + */ +void be_invalidate_live_chk(ir_graph *irg); + /** * frees all memory allocated by birg structures (liveness, dom_front, ...). * The memory of the birg structure itself is not freed. @@ -65,7 +75,6 @@ struct be_stack_layout_t { ir_entity **param_map; /**< An array mapping type parameters to arg_type entries */ int initial_offset; /**< the initial difference between stack pointer and frame pointer */ int initial_bias; /**< the initial stack bias */ - int stack_dir; /**< -1 for decreasing, 1 for increasing. */ bool sp_relative : 1; /**< entities are addressed relative to stack pointer (omit-fp mode) */ };