X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbessaconstr.h;h=832d21fa8952da9f4abbcc354361176569f6b5a6;hb=5474a1c188c9d59eea2c915515980cd9cbab58d8;hp=914dec17d59b6262a00482a321db0b5a2107a879;hpb=15ad7ccd8dff64e1808e1d093d4a8d7cda5af33e;p=libfirm diff --git a/ir/be/bessaconstr.h b/ir/be/bessaconstr.h index 914dec17d..832d21fa8 100644 --- a/ir/be/bessaconstr.h +++ b/ir/be/bessaconstr.h @@ -22,7 +22,6 @@ * @brief SSA construction for a set of nodes * @author Sebastian Hack, Daniel Grund, Matthias Braun, Christian Wuerdig * @date 30.03.2007 - * @version $Id$ * * The problem: Given a value and a set of "copies" that are known to * represent the same abstract value, rewire all usages of the original value @@ -56,6 +55,8 @@ #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; @@ -66,12 +67,14 @@ typedef struct be_ssa_construction_env_t { const ir_nodeset_t *ignore_uses; ir_node **new_phis; int iterated_domfront_calculated; + ir_nodemap infos; + struct obstack obst; } be_ssa_construction_env_t; /** * Initializes an SSA construction environment. * - * @param env an SSA empty construction environment + * @param env an empty SSA construction environment * @param irg the graph */ void be_ssa_construction_init(be_ssa_construction_env_t *env, ir_graph *irg); @@ -86,7 +89,7 @@ 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 + * Reconstructs the SSA form for all users of node @p node */ void be_ssa_construction_fix_users(be_ssa_construction_env_t *env, ir_node *node); @@ -104,7 +107,7 @@ void be_ssa_construction_update_liveness_phis(be_ssa_construction_env_t *env, ir_node **be_ssa_construction_get_new_phis(be_ssa_construction_env_t *env); /** - * Destroys an ssa construction environment. + * Destroys an SSA construction environment. */ void be_ssa_construction_destroy(be_ssa_construction_env_t *env);