New implementation of Graphite.
authorSebastian Pop <sebastian.pop@amd.com>
Fri, 31 Jul 2009 02:44:28 +0000 (02:44 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Fri, 31 Jul 2009 02:44:28 +0000 (02:44 +0000)
commit204b560f29f5d932a89a349ea0f1300cbba70d84
tree97a4d56bceb53628871305cab824f736a9c334eb
parent2abae5f13adafd84ac3f4e2da2890da4515fd1fe
New implementation of Graphite.

2009-07-30  Sebastian Pop  <sebastian.pop@amd.com>

* Makefile.in (OBJS-common): Added dependence on graphite-blocking.o,
graphite-clast-to-gimple.o, graphite-dependences.o,
graphite-interchange.o, graphite-poly.o, graphite-ppl.o,
graphite-scop-detection.o, graphite-sese-to-poly.o, and sese.o.
(graphite-blocking.o,
graphite-clast-to-gimple.o, graphite-dependences.o,
graphite-interchange.o, graphite-poly.o, graphite-ppl.o,
graphite-scop-detection.o, graphite-sese-to-poly.o, and sese.o): New.
* cfgloop.c (alloc_loop): Set loop->can_be_parallel to false.
* cfgloop.h (struct loop): Add can_be_parallel field.
* common.opt (fgraphite-identity): Moved up.
(fgraphite-force-parallel): New flag.
* graphite.c: Rewrite.
* graphite.h: Rewrite.
* passes.c (init_optimization_passes): Schedule a pass of DCE and LIM
after Graphite.
* toplev.c (graphite_out_file): New file descriptor.
(graphite_in_file): New.
(process_options): flag_graphite_force_parallel cannot be used without
Graphite.
* tree-ssa-loop.c: Include toplev.h.
(gate_graphite_transforms): Enable flag_graphite for
flag_graphite_force_parallel.

From-SVN: r150301
gcc/ChangeLog
gcc/Makefile.in
gcc/cfgloop.c
gcc/cfgloop.h
gcc/common.opt
gcc/graphite.c
gcc/graphite.h
gcc/passes.c
gcc/toplev.c
gcc/tree-ssa-loop.c