summaryrefslogtreecommitdiffhomepage
path: root/ir/be/beirg.c
diff options
context:
space:
mode:
authorMatthias Braun <matthias.braun@kit.edu>2012-07-11 13:46:36 +0200
committerMatthias Braun <matthias.braun@kit.edu>2012-07-13 21:10:29 +0200
commitfab5da4b7215a533d35fa244135dae84652e725b (patch)
tree8dfec5c82426b03962b447f6b9e3ee1620912765 /ir/be/beirg.c
parent37d89f170cb1905b4ee2cb42134d8717c91904aa (diff)
move domfront from be to ana
Also add a GRAPH_PROPERTY for the analysis state.
Diffstat (limited to 'ir/be/beirg.c')
-rw-r--r--ir/be/beirg.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/ir/be/beirg.c b/ir/be/beirg.c
index 36504b5..da0add1 100644
--- a/ir/be/beirg.c
+++ b/ir/be/beirg.c
@@ -29,26 +29,6 @@
#include "beirg.h"
#include "absgraph.h"
#include "belive.h"
-#include "bedomfront.h"
-
-void be_assure_dom_front(ir_graph *irg)
-{
- be_irg_t *birg = be_birg_from_irg(irg);
- if (birg->dom_front != NULL)
- return;
-
- birg->dom_front = be_compute_dominance_frontiers(birg->irg);
-}
-
-void be_invalidate_dom_front(ir_graph *irg)
-{
- be_irg_t *birg = be_birg_from_irg(irg);
- if (birg->dom_front == NULL)
- return;
-
- be_free_dominance_frontiers(birg->dom_front);
- birg->dom_front = NULL;
-}
void be_invalidate_live_sets(ir_graph *irg)
{
@@ -80,10 +60,6 @@ void be_free_birg(ir_graph *irg)
free_execfreq(birg->exec_freq);
birg->exec_freq = NULL;
- if (birg->dom_front != NULL) {
- be_free_dominance_frontiers(birg->dom_front);
- birg->dom_front = NULL;
- }
if (birg->lv != NULL) {
be_liveness_free(birg->lv);
birg->lv = NULL;