bestack: Fetch the start block only once.
[libfirm] / ir / be / bessaconstr.h
index 832d21f..951edc8 100644 (file)
 #ifndef FIRM_BE_BESSACONSTR_H
 #define FIRM_BE_BESSACONSTR_H
 
+#include <stdbool.h>
 #include "firm_types.h"
-#include "bedomfront.h"
 #include "irnodeset.h"
 #include "belive.h"
 #include "bitset.h"
-#include "beirg.h"
 #include "pdeq.h"
 #include "irnodemap.h"
 #include "obst.h"
 
 typedef struct be_ssa_construction_env_t {
        ir_graph                    *irg;
-       const be_dom_front_info_t   *domfronts;
        ir_mode                     *mode;
-       const arch_register_class_t *phi_cls;
+       const arch_register_req_t   *phi_req;
        waitq                       *worklist;
-       const ir_nodeset_t          *ignore_uses;
        ir_node                    **new_phis;
-       int                          iterated_domfront_calculated;
+       bool                         iterated_domfront_calculated;
        ir_nodemap                   infos;
        struct obstack               obst;
 } be_ssa_construction_env_t;
@@ -85,9 +82,6 @@ void be_ssa_construction_add_copy(be_ssa_construction_env_t *env,
 void be_ssa_construction_add_copies(be_ssa_construction_env_t *env,
                                     ir_node **copies, size_t copies_len);
 
-void be_ssa_construction_set_ignore_uses(be_ssa_construction_env_t *env,
-                                         const ir_nodeset_t *ignore_uses);
-
 /**
  * Reconstructs the SSA form for all users of node @p node
  */