implemented a function to retrieve estimated costs of an op
[libfirm] / ir / be / be_t.h
index 6da99d4..b133f6c 100644 (file)
@@ -7,12 +7,12 @@
 #ifndef _BE_T_H
 #define _BE_T_H
 
+#include "firm_types.h"
 #include "obst.h"
 #include "debug.h"
 
-#include "irgraph.h"
-
 #include "be.h"
+#include "bearch.h"
 #include "beirgmod.h"
 
 struct _be_options_t {
@@ -26,7 +26,15 @@ struct _be_main_env_t {
   struct _arch_env_t *arch_env;
   struct _be_options_t *options;
   struct _arch_code_generator_t *cg;
-  firm_dbg_module_t *dbg;
+  struct _arch_irn_handler_t *phi_handler;
+  DEBUG_ONLY(firm_dbg_module_t *dbg;)
+};
+
+struct _be_irg_t {
+       ir_graph                      *irg;
+       struct _be_main_env_t         *main_env;
+       struct _be_abi_irg_t          *abi;
+       struct _arch_code_generator_t *cg;
 };
 
-#endif
+#endif /* _BE_T_H */