2 * This file is part of libFirm.
3 * Copyright (C) 2012 University of Karlsruhe.
8 * @brief Backend irg - a ir_graph with additional analysis information.
9 * @author Matthias Braun
19 void be_invalidate_live_sets(ir_graph *irg)
21 be_irg_t *birg = be_birg_from_irg(irg);
22 be_liveness_invalidate_sets(birg->lv);
25 void be_invalidate_live_chk(ir_graph *irg)
27 be_irg_t *birg = be_birg_from_irg(irg);
28 be_liveness_invalidate_chk(birg->lv);
31 void be_assure_live_sets(ir_graph *irg)
33 be_irg_t *birg = be_birg_from_irg(irg);
34 be_liveness_compute_sets(birg->lv);
37 void be_assure_live_chk(ir_graph *irg)
39 be_irg_t *birg = be_birg_from_irg(irg);
40 be_liveness_compute_chk(birg->lv);
43 void be_free_birg(ir_graph *irg)
45 be_irg_t *birg = be_birg_from_irg(irg);
47 if (birg->lv != NULL) {
48 be_liveness_free(birg->lv);
52 obstack_free(&birg->obst, NULL);