2 * Author: Matthias Braun
4 * Copyright: (c) Universitaet Karlsruhe
5 * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE.
14 void be_assure_liveness(be_irg_t *birg)
19 birg->lv = be_liveness(birg->irg);
22 void be_invalidate_liveness(be_irg_t *birg)
27 be_liveness_free(birg->lv);
31 void be_assure_dom_front(be_irg_t *birg)
33 if(birg->dom_front != NULL)
36 birg->dom_front = be_compute_dominance_frontiers(birg->irg);
39 void be_invalidate_dom_front(be_irg_t *birg)
41 if(birg->dom_front == NULL)
44 be_free_dominance_frontiers(birg->dom_front);
45 birg->dom_front = NULL;
48 void be_free_birg(be_irg_t *birg)
50 free_execfreq(birg->exec_freq);
51 birg->exec_freq = NULL;
53 if(birg->dom_front != NULL) {
54 be_free_dominance_frontiers(birg->dom_front);
55 birg->dom_front = NULL;
57 if(birg->lv != NULL) {
58 be_liveness_free(birg->lv);