summaryrefslogtreecommitdiff
path: root/gcc/graphite-cloog-compat.h
diff options
context:
space:
mode:
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-30 21:21:21 +0000
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2010-09-30 21:21:21 +0000
commitacad129fdc95e22732236647333e9c80bda98872 (patch)
tree8065513565232de8d934bd7c491af04eb5593793 /gcc/graphite-cloog-compat.h
parentc0baaa7abb8c4898dd80a7000d60b6c2f974eb0c (diff)
downloadgcc-acad129fdc95e22732236647333e9c80bda98872.tar.gz
New flag: -fgraphite-dump-cloog.
Introduce a new flag: -fgraphite-dump-cloog. If enabled, graphite dumps each SCoP into a CLooG input file for further debugging. The naming follows the naming scheme of -fgraphite-write: <basename>.<scopnumber>.cloog The file is dumped into the current working directory. 2010-09-16 Andreas Simbuerger <simbuerg@fim.uni-passau.de> * common.opt (fgraphite-dump-cloog): New flag. * doc/invoke.texi (-fgraphite-dump-cloog): Documented. * graphite-clast-to-gimple.c (init_cloog_input_file): New. (build_cloog_prog): Dump CLooG input file when flag_graphite_dump_cloog is set. * graphite-cloog-compat.h (cloog_program_dump_cloog): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164808 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/graphite-cloog-compat.h')
-rw-r--r--gcc/graphite-cloog-compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/graphite-cloog-compat.h b/gcc/graphite-cloog-compat.h
index 061aa47e643..b7a3b23cb5a 100644
--- a/gcc/graphite-cloog-compat.h
+++ b/gcc/graphite-cloog-compat.h
@@ -72,6 +72,8 @@ typedef const char *clast_name_p;
#define cloog_scattering cloog_domain
#define cloog_next_scattering cloog_next_domain
#define cloog_scattering_free cloog_domain_free
+#define cloog_program_dump_cloog(DUMPFILE, PROGRAM, SCATTERINGLIST)\
+ cloog_program_dump_cloog (DUMPFILE, PROGRAM)
#endif