1. 02 Dec, 2010 29 commits
  2. 01 Dec, 2010 11 commits
    • 2.cc: Fix to explicitely invoke the copy construtor with or without C++0x mode. · 7165791e
      2010-12-01  François Dumont  <francois.cppdevs@free.fr>
      
              * testsuite/23_containers/deque/cons/2.cc: Fix to explicitely invoke
              the copy construtor with or without C++0x mode.
              * testsuite/23_containers/vector/cons/4.cc: Likewise.
      
      From-SVN: r167355
      François Dumont committed
    • Provide FMA costs; enable some debug flags · 2f64ad0f
      From-SVN: r167354
      Michael Meissner committed
    • intl.c: Don't include tm.h. · a878b2d7
      	* intl.c: Don't include tm.h.
      	* Makefile.in (intl.o): Don't depend on $(TM_H).
      
      From-SVN: r167352
      Joseph Myers committed
    • Fix unused warnings. · 844e904d
      2010-11-26  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* graphite-sese-to-poly.c (analyze_drs_in_stmts): Fix set but
      	unused warning.
      	(rewrite_cross_bb_scalar_deps_out_of_ssa): Same.
      
      From-SVN: r167351
      Sebastian Pop committed
    • Avoid the analysis of data references after the translation out of SSA. · 278b1a1d
      2010-11-26  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* graphite-sese-to-poly.c (analyze_drs): Removed.
      	(build_scop_drs): Do not call analyze_drs.
      	(analyze_drs_in_stmts): New.
      	(insert_stmts): New.
      	(insert_out_of_ssa_copy): Call analyze_drs_in_stmts.
      	(insert_out_of_ssa_copy_on_edge): Same.
      	(rewrite_close_phi_out_of_ssa): Call insert_stmts.
      	(rewrite_phi_out_of_ssa): Same.
      	(rewrite_cross_bb_scalar_dependence): Same.
      	(split_reduction_stmt): Move data references in the new basic blocks.
      	(translate_scalar_reduction_to_array_for_stmt): Call insert_stmts.
      
      From-SVN: r167350
      Sebastian Pop committed
    • LHS cannot be an ADDR_EXPR. · 87b286c4
      2010-11-26  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* sese.c (rename_uses): Do not handle ADDR_EXPR in LHS of assignments.
      
      From-SVN: r167349
      Sebastian Pop committed
    • Postpone the rewrite out of SSA to the end of the translation to polyhedral representation. · efa21390
      2010-11-22  Sebastian Pop  <sebastian.pop@amd.com>
      
      	PR middle-end/45297
      	* graphite-poly.c (new_poly_bb): Returns a poly_bb_p.  Do not take
      	the reduction bool in parameter.  Clear PBB_IS_REDUCTION.  Set GBB_PBB.
      	* graphite-poly.h (new_poly_bb): Update declaration.
      	(gbb_from_bb): Moved here...
      	(pbb_from_bb): New.
      	* graphite-sese-to-poly.c (var_used_in_not_loop_header_phi_node):
      	Removed.
      	(graphite_stmt_p): Removed.
      	(try_generate_gimple_bb): Returns a gimple_bb_p.  Do not pass in
      	sbitmap reductions.  Always build a gimple_bb_p.  Do not call
      	new_poly_bb.
      	(build_scop_bbs_1): Do not pass in sbitmap reductions.
      	(build_scop_bbs): Same.
      	(gbb_from_bb): ... from here.
      	(add_conditions_to_constraints): Moved up.
      	(analyze_drs): New.
      	(build_scop_drs): Call analyze_drs.  Remove all the PBBs that do
      	not contain data references.
      	(new_pbb_from_pbb): New.
      	(insert_out_of_ssa_copy_on_edge): Call new_pbb_from_pbb after a
      	block is split.
      	(rewrite_close_phi_out_of_ssa): Update call to
      	insert_out_of_ssa_copy_on_edge.
      	(rewrite_reductions_out_of_ssa): Now static.
      	(rewrite_cross_bb_scalar_deps_out_of_ssa): Same.
      	(split_pbb): New.
      	(split_reduction_stmt): Call split_pbb.
      	(translate_scalar_reduction_to_array): Pass in the scop, do not
      	pass in the sbitmap reductions.
      	(rewrite_commutative_reductions_out_of_ssa_close_phi): Same.
      	(rewrite_commutative_reductions_out_of_ssa_loop): Same.
      	(rewrite_commutative_reductions_out_of_ssa): Same.
      	(build_poly_scop): Call build_scop_bbs,
      	rewrite_commutative_reductions_out_of_ssa,
      	rewrite_reductions_out_of_ssa, and
      	rewrite_cross_bb_scalar_deps_out_of_ssa.  Move build_scop_drs
      	before scop_to_lst.
      	* graphite-sese-to-poly.h (rewrite_commutative_reductions_out_of_ssa):
      	Removed declaration.
      	(rewrite_reductions_out_of_ssa): Same.
      	(rewrite_cross_bb_scalar_deps_out_of_ssa): Same.
      	(build_scop_bbs): Same.
      	* graphite.c (graphite_transform_loops): Do not initialize reductions.
      	Do not call build_scop_bbs,
      	rewrite_commutative_reductions_out_of_ssa,
      	rewrite_reductions_out_of_ssa, and
      	rewrite_cross_bb_scalar_deps_out_of_ssa.
      	* sese.h (struct gimple_bb): Add field pbb.
      	(GBB_PBB): New.
      
      	* gcc.dg/graphite/pr45297.c: New.
      
      From-SVN: r167348
      Sebastian Pop committed
    • Do not rewrite out of SSA scalar dependences crossing the limits of the scop. · 70a2ae0f
      2010-11-22  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* graphite-sese-to-poly.c (handle_scalar_deps_crossing_scop_limits):
      	New.
      	(rewrite_cross_bb_scalar_deps): Pass in the scop.  Call
      	handle_scalar_deps_crossing_scop_limits.
      	(rewrite_cross_bb_scalar_deps_out_of_ssa): Create an empty BB
      	after the scop.  Update call to rewrite_cross_bb_scalar_deps.
      
      From-SVN: r167347
      Sebastian Pop committed
    • Call recompute_tree_invariant_for_addr_expr when replacing a constant in an ADDR_EXPR. · c8f91fcc
      2010-11-22  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* sese.c (rename_uses): Call recompute_tree_invariant_for_addr_expr
      	when replacing a constant in an ADDR_EXPR.
      
      From-SVN: r167346
      Sebastian Pop committed
    • Add a stride parameter to scop_do_strip_mine. · 247fd30e
      2010-10-20  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* graphite-blocking.c (lst_do_strip_mine_loop): Extra parameter
      	for the stride.
      	(lst_do_strip_mine): Same.
      	(scop_do_strip_mine): Same.
      	* graphite-poly.c (apply_poly_transforms): Update call to
      	scop_do_strip_mine.
      	* graphite-poly.h (scop_do_strip_mine): Update declaration.
      
      From-SVN: r167345
      Sebastian Pop committed