aboutsummaryrefslogtreecommitdiff
path: root/gcc/sese.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2017-10-18 13:34:00 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2017-10-18 13:34:00 +0000
commit30c4440c6ad1034e6e69fa7370659aaa9bb19912 (patch)
tree92f4127791c24ae4aaf493ce9c9b0ccf92a73dcb /gcc/sese.h
parent28e2e23607381f057e694c373025433d414e2750 (diff)
downloadgcc-30c4440c6ad1034e6e69fa7370659aaa9bb19912.zip
gcc-30c4440c6ad1034e6e69fa7370659aaa9bb19912.tar.gz
gcc-30c4440c6ad1034e6e69fa7370659aaa9bb19912.tar.bz2
2017-10-18 Richard Biener <rguenther@suse.de>
* graphite-isl-ast-to-gimple.c (translate_isl_ast_to_gimple::set_rename): Simplify. (translate_isl_ast_to_gimple::set_rename_for_each_def): Inline... (graphite_copy_stmts_from_block): ... here. (copy_bb_and_scalar_dependences): Simplify. (add_parameters_to_ivs_params): Canonicalize. (generate_entry_out_of_ssa_copies): Simplify. * graphite-sese-to-poly.c (extract_affine_name): Simplify by passing in ISL dimension. (parameter_index_in_region_1): Rename to ... (parameter_index_in_region): ... this. (extract_affine): Adjust assert, pass down parameter index. (add_param_constraints): Use range-info when available. (build_scop_context): Adjust. * sese.c (new_sese_info): Adjust. (free_sese_info): Likewise. * sese.h (bb_map_t, rename_map_t, phi_rename, init_back_edge_pair_t): Remove unused typedefs. (struct sese_info_t): Simplify rename_map, remove incomplete_phis. From-SVN: r253855
Diffstat (limited to 'gcc/sese.h')
-rw-r--r--gcc/sese.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/gcc/sese.h b/gcc/sese.h
index c6e8861..cbc20ab 100644
--- a/gcc/sese.h
+++ b/gcc/sese.h
@@ -22,13 +22,7 @@ along with GCC; see the file COPYING3. If not see
#ifndef GCC_SESE_H
#define GCC_SESE_H
-typedef hash_map<basic_block, vec<basic_block> > bb_map_t;
-typedef hash_map<tree, vec<tree> > rename_map_t;
typedef struct ifsese_s *ifsese;
-/* First phi is the new codegenerated phi second one is original phi. */
-typedef std::pair <gphi *, gphi *> phi_rename;
-/* First edge is the init edge and second is the back edge w.r.t. a loop. */
-typedef std::pair<edge, edge> init_back_edge_pair_t;
/* A Single Entry, Single Exit region is a part of the CFG delimited
by two edges. */
@@ -91,18 +85,12 @@ typedef struct sese_info_t
/* Parameters used within the SCOP. */
vec<tree> params;
- /* Maps an old name to one or more new names. When there are several new
- names, one has to select the definition corresponding to the immediate
- dominator. */
- rename_map_t *rename_map;
+ /* Maps an old name to a new decl. */
+ hash_map<tree, tree> *rename_map;
/* Basic blocks contained in this SESE. */
vec<basic_block> bbs;
- /* A vector of phi nodes to be updated when all arguments are available. The
- pair contains first the old_phi and second the new_phi. */
- vec<phi_rename> incomplete_phis;
-
/* The condition region generated for this sese. */
ifsese if_region;