assert that in and out entities of memperms have the same size, we produce such buggy...
[libfirm] / ir / be / beirg.h
index 7c80be6..fe10b8b 100644 (file)
@@ -6,25 +6,27 @@
  *
  * Backend irg - a ir_graph with additional analysis information
  */
-#ifndef BEIRG_H_
-#define BEIRG_H_
+#ifndef BEIRG_H
+#define BEIRG_H
 
 #include "belive.h"
-#include "beirgmod.h"
+#include "bedomfront.h"
 
-typedef struct _be_irg_t be_irg_t;
+typedef struct be_irg_t be_irg_t;
 
-ir_graph *be_get_ir_graph(be_irg_t *birg);
+ir_graph *be_get_birg_irg(const be_irg_t *birg);
 
 void be_assure_liveness(be_irg_t *birg);
 void be_invalidate_liveness(be_irg_t *birg);
-be_lv_t *be_get_birg_liveness(be_irg_t *birg);
+be_lv_t *be_get_birg_liveness(const be_irg_t *birg);
 
 void be_assure_dom_front(be_irg_t *birg);
 void be_invalidate_dom_front(be_irg_t *birg);
-be_dom_front_info_t *be_get_birg_dom_front(be_irg_t *birg);
+be_dom_front_info_t *be_get_birg_dom_front(const be_irg_t *birg);
 
-ir_exec_freq *be_get_birg_exec_freq(be_irg_t *birg);
+const arch_env_t *be_get_birg_arch_env(const be_irg_t *birg);
+
+ir_exec_freq *be_get_birg_exec_freq(const be_irg_t *birg);
 
 /**
  * frees all memory allocated by birg structures (liveness, dom_front, ...).