remove irsimpletype stuff (unused/broken)
[libfirm] / ir / be / beirg.h
index 29cbe3b..6f3360f 100644 (file)
@@ -66,6 +66,8 @@ struct be_stack_layout_t {
        int initial_offset;                /**< the initial difference between stack pointer and frame pointer */
        int initial_bias;                  /**< the initial stack bias */
        int stack_dir;                     /**< -1 for decreasing, 1 for increasing. */
+       bool sp_relative : 1;              /**< entities are addressed relative to
+                                               stack pointer (omit-fp mode) */
 };
 
 /**
@@ -76,15 +78,17 @@ typedef struct be_irg_t {
        ir_graph              *irg;
        be_main_env_t         *main_env;
        be_abi_irg_t          *abi;
-       arch_code_generator_t *cg;
        ir_exec_freq          *exec_freq;
        be_dom_front_info_t   *dom_front;
        be_lv_t               *lv;
        be_stack_layout_t      stack_layout;
+       arch_register_req_t   *sp_req; /**< requirements for stackpointer producing
+                                           nodes. */
        struct obstack         obst; /**< birg obstack (mainly used to keep
                                          register constraints which we can't keep
-                                         in the irg obst, because it gets replace
+                                         in the irg obst, because it gets replaced
                                          during code selection) */
+       void                  *isa_link; /**< architecture specific per-graph data*/
 } be_irg_t;
 
 static inline be_irg_t *be_birg_from_irg(const ir_graph *irg)
@@ -127,11 +131,6 @@ static inline be_options_t *be_get_irg_options(const ir_graph *irg)
        return be_birg_from_irg(irg)->main_env->options;
 }
 
-static inline arch_code_generator_t *be_get_irg_cg(const ir_graph *irg)
-{
-       return be_birg_from_irg(irg)->cg;
-}
-
 /** deprecated */
 static inline ir_graph *be_get_birg_irg(const be_irg_t *birg)
 {