X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbessaconstr.h;h=ab08c76e8ba783668892c265c8c487813fd90eea;hb=505d3662efed6efbca2c43eea2fe23b87816b285;hp=745dc70ca72a7c50647c9a9eaf93f0cc352eb04f;hpb=39f3a8dbd0f00f90b7b12a849d1bf7b9c1329479;p=libfirm diff --git a/ir/be/bessaconstr.h b/ir/be/bessaconstr.h index 745dc70ca..ab08c76e8 100644 --- a/ir/be/bessaconstr.h +++ b/ir/be/bessaconstr.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. + * Copyright (C) 1995-2008 University of Karlsruhe. All right reserved. * * This file is part of libFirm. * @@ -29,11 +29,11 @@ * to their closest copy while introducing phis as necessary. * * Algorithm: Mark all blocks in the iterated dominance frontiers of the value - * and it's copies. Link the copies ordered by dominance to the blocks. The - * we search for each use all all definitions in the current block, if none is + * and it's copies. Link the copies ordered by dominance to the blocks. Then + * we search for each use all definitions in the current block, if none is * found, then we search one in the immediate dominator. If we are in a block - * of the dominance frontier, create a phi and search do the same search for - * the phi arguments. + * of the dominance frontier, create a phi and do the same search for all + * phi arguments. * * A copy in this context means, that you want to introduce several new * abstract values (in Firm: nodes) for which you know, that they @@ -49,11 +49,11 @@ #ifndef FIRM_BE_BESSACONSTR_H #define FIRM_BE_BESSACONSTR_H -#include +#include "firm_types.h" #include "bedomfront.h" -#include "irnode.h" #include "irnodeset.h" #include "belive.h" +#include "bitset.h" #include "beirg.h" #include "pdeq.h" @@ -68,7 +68,10 @@ typedef struct be_ssa_construction_env_t { } be_ssa_construction_env_t; /** - * Initializes an ssa construction environment. + * Initializes an SSA construction environment. + * + * @param env an SSA empty construction environment + * @param birg */ void be_ssa_construction_init(be_ssa_construction_env_t *env, be_irg_t *birg);