diff options
author | tbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-12-20 20:34:33 +0000 |
---|---|---|
committer | tbsaunde <tbsaunde@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-12-20 20:34:33 +0000 |
commit | 4997014d846a7882f5d4103e24a47ac0eedeab06 (patch) | |
tree | 965ba1d411c1f3138ea9281113343956529b5c03 /gcc/graphite-sese-to-poly.c | |
parent | 349be7d3687a208c4c3fc8f104157d40ccc03bea (diff) | |
download | gcc-4997014d846a7882f5d4103e24a47ac0eedeab06.tar.gz |
merge auto_vec and stack_vec
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206155 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/graphite-sese-to-poly.c')
-rw-r--r-- | gcc/graphite-sese-to-poly.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/graphite-sese-to-poly.c b/gcc/graphite-sese-to-poly.c index 66c1b6ef95e..1f54eb9816f 100644 --- a/gcc/graphite-sese-to-poly.c +++ b/gcc/graphite-sese-to-poly.c @@ -1245,7 +1245,7 @@ public: virtual void after_dom_children (basic_block); private: - stack_vec<gimple, 3> m_conditions, m_cases; + auto_vec<gimple, 3> m_conditions, m_cases; sese m_region; }; @@ -1890,7 +1890,7 @@ build_scop_drs (scop_p scop) int i, j; poly_bb_p pbb; data_reference_p dr; - stack_vec<data_reference_p, 3> drs; + auto_vec<data_reference_p, 3> drs; /* Remove all the PBBs that do not have data references: these basic blocks are not handled in the polyhedral representation. */ @@ -1988,7 +1988,7 @@ insert_stmts (scop_p scop, gimple stmt, gimple_seq stmts, gimple_stmt_iterator insert_gsi) { gimple_stmt_iterator gsi; - stack_vec<gimple, 3> x; + auto_vec<gimple, 3> x; gimple_seq_add_stmt (&stmts, stmt); for (gsi = gsi_start (stmts); !gsi_end_p (gsi); gsi_next (&gsi)) @@ -2007,7 +2007,7 @@ insert_out_of_ssa_copy (scop_p scop, tree res, tree expr, gimple after_stmt) gimple_stmt_iterator gsi; tree var = force_gimple_operand (expr, &stmts, true, NULL_TREE); gimple stmt = gimple_build_assign (unshare_expr (res), var); - stack_vec<gimple, 3> x; + auto_vec<gimple, 3> x; gimple_seq_add_stmt (&stmts, stmt); for (gsi = gsi_start (stmts); !gsi_end_p (gsi); gsi_next (&gsi)) @@ -2062,7 +2062,7 @@ insert_out_of_ssa_copy_on_edge (scop_p scop, edge e, tree res, tree expr) tree var = force_gimple_operand (expr, &stmts, true, NULL_TREE); gimple stmt = gimple_build_assign (unshare_expr (res), var); basic_block bb; - stack_vec<gimple, 3> x; + auto_vec<gimple, 3> x; gimple_seq_add_stmt (&stmts, stmt); for (gsi = gsi_start (stmts); !gsi_end_p (gsi); gsi_next (&gsi)) @@ -2870,7 +2870,7 @@ remove_phi (gimple phi) tree def; use_operand_p use_p; gimple_stmt_iterator gsi; - stack_vec<gimple, 3> update; + auto_vec<gimple, 3> update; unsigned int i; gimple stmt; @@ -3028,8 +3028,8 @@ rewrite_commutative_reductions_out_of_ssa_close_phi (scop_p scop, gimple close_phi) { bool res; - stack_vec<gimple, 10> in; - stack_vec<gimple, 10> out; + auto_vec<gimple, 10> in; + auto_vec<gimple, 10> out; detect_commutative_reduction (scop, close_phi, &in, &out); res = in.length () > 1; |