From f6cc31036a59d23ee90bf0884981a7f306fc87fd Mon Sep 17 00:00:00 2001 From: Roman Gareev Date: Sun, 29 Jun 2014 14:20:35 +0000 Subject: Makefile.in: Add the compilation of graphite-isl-ast-to-gimple.o. gcc/ * Makefile.in: Add the compilation of graphite-isl-ast-to-gimple.o. * common.opt: Add new switch fgraphite-code-generator=[isl|cloog]. * flag-types.h: Add new enum fgraphite_generator. * graphite-isl-ast-to-gimple.c: New. * graphite-isl-ast-to-gimple.h: New. * graphite.c (graphite_transform_loops): Add choice of Graphite code generator, which depends on flag_graphite_code_gen. gcc/testsuite/gcc.dg/graphite/isl-codegen-loop-dumping.c: New testcase that checks that the dump is generated. From-SVN: r212124 --- gcc/common.opt | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'gcc/common.opt') diff --git a/gcc/common.opt b/gcc/common.opt index 15371df..e9ceab1 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -1250,6 +1250,19 @@ Enable in and out of Graphite representation fgraphite-identity Common Report Var(flag_graphite_identity) Optimization Enable Graphite Identity transformation + +fgraphite-code-generator= +Common Report RejectNegative Joined Optimization Enum(fgraphite_generator) Var(flag_graphite_code_gen) Init(FGRAPHITE_CODE_GEN_CLOOG) +Choose code generator of Graphite + +Enum +Name(fgraphite_generator) Type(enum fgraphite_generator) UnknownError(unknown code generator of graphite %qs) + +EnumValue +Enum(fgraphite_generator) String(isl) Value(FGRAPHITE_CODE_GEN_ISL) + +EnumValue +Enum(fgraphite_generator) String(cloog) Value(FGRAPHITE_CODE_GEN_CLOOG) fhoist-adjacent-loads Common Report Var(flag_hoist_adjacent_loads) Optimization -- cgit v1.1