aboutsummaryrefslogtreecommitdiff
path: root/gcc/flag-types.h
diff options
context:
space:
mode:
authorRoman Gareev <gareevroman@gmail.com>2014-06-29 14:20:35 +0000
committerRoman Gareev <romangareev@gcc.gnu.org>2014-06-29 14:20:35 +0000
commitf6cc31036a59d23ee90bf0884981a7f306fc87fd (patch)
tree95e882342ab8217fe3b1e2dff48e7f7f5620b2d7 /gcc/flag-types.h
parent3b37ccd4ff94fb1ea6cf33b75e583c66874ab862 (diff)
downloadgcc-f6cc31036a59d23ee90bf0884981a7f306fc87fd.zip
gcc-f6cc31036a59d23ee90bf0884981a7f306fc87fd.tar.gz
gcc-f6cc31036a59d23ee90bf0884981a7f306fc87fd.tar.bz2
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
Diffstat (limited to 'gcc/flag-types.h')
-rw-r--r--gcc/flag-types.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/flag-types.h b/gcc/flag-types.h
index 4b8e338..2849455 100644
--- a/gcc/flag-types.h
+++ b/gcc/flag-types.h
@@ -254,4 +254,10 @@ enum lto_partition_model {
LTO_PARTITION_MAX = 4
};
+/* The code generator used by graphite */
+enum fgraphite_generator {
+ FGRAPHITE_CODE_GEN_ISL = 0,
+ FGRAPHITE_CODE_GEN_CLOOG = 1
+};
+
#endif /* ! GCC_FLAG_TYPES_H */