aboutsummaryrefslogtreecommitdiff
path: root/gcc/common.opt
diff options
context:
space:
mode:
authorSebastian Pop <sebastian.pop@amd.com>2009-07-31 02:44:28 +0000
committerSebastian Pop <spop@gcc.gnu.org>2009-07-31 02:44:28 +0000
commit204b560f29f5d932a89a349ea0f1300cbba70d84 (patch)
tree97a4d56bceb53628871305cab824f736a9c334eb /gcc/common.opt
parent2abae5f13adafd84ac3f4e2da2890da4515fd1fe (diff)
downloadgcc-204b560f29f5d932a89a349ea0f1300cbba70d84.zip
gcc-204b560f29f5d932a89a349ea0f1300cbba70d84.tar.gz
gcc-204b560f29f5d932a89a349ea0f1300cbba70d84.tar.bz2
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
Diffstat (limited to 'gcc/common.opt')
-rw-r--r--gcc/common.opt15
1 files changed, 10 insertions, 5 deletions
diff --git a/gcc/common.opt b/gcc/common.opt
index ada94e9..be1bf4c 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -571,6 +571,16 @@ fgraphite
Common Report Var(flag_graphite)
Enable in and out of Graphite representation
+; This option is not documented as it does not perform any useful optimization.
+fgraphite-identity
+Common Report Var(flag_graphite_identity) Optimization
+Enable Graphite Identity transformation
+
+; This option is not documented as it will be removed
+fgraphite-force-parallel
+Common Report Var(flag_graphite_force_parallel) Optimization
+Mark all loops as parallel
+
floop-strip-mine
Common Report Var(flag_loop_strip_mine) Optimization
Enable Loop Strip Mining transformation
@@ -583,11 +593,6 @@ floop-block
Common Report Var(flag_loop_block) Optimization
Enable Loop Blocking transformation
-; This option is not documented as it does not perform any useful optimization.
-fgraphite-identity
-Common Report Var(flag_graphite_identity) Optimization
-Enable Graphite Identity transformation
-
fguess-branch-probability
Common Report Var(flag_guess_branch_prob) Optimization
Enable guessing of branch probabilities