Code generation for OpenCL.
commit8ced72ba7fb80869a8a7315d4c4c279e5d38ae6b
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 25 Dec 2010 06:28:37 +0000 (25 06:28 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 25 Dec 2010 06:28:37 +0000 (25 06:28 +0000)
tree2a131819b76e2b15ccd3a760573f6b1a64a6b070
parent68c51ce72680ba61a9b774da8fa0e8ec552a0f76
Code generation for OpenCL.

2010-12-25  Alexey Kravets  <kayrick@ispras.ru>

* Makefile.in (OBJS-common): Add graphite-opencl-codegen.o,
graphite-opencl-meta-clast.o and graphite-opencl.o.
(graphite-opencl-codegen.o): New.
(graphite-opencl-meta-clast.o): New.
(graphite-opencl.o): New.
(GTFILES): Add graphite-opencl.c.
* common.opt (fgraphite-opencl): New.
(fgraphite-opencl-cpu): New.
(fgraphite-opencl-ignore-depth-heuristic): New.
(fgraphite-opencl-ignore-mem-heuristic): New.
(fgraphite-opencl-ignore-dep): New.
(fgraphite-opencl-ignore-types): New.
(fgraphite-opencl-depth-base): New.
(fgraphite-opencl-debug): New.
* graphite-opencl-codegen.c: New file.
* graphite-opencl-meta-clast.c: New file.
* graphite-opencl.c: New file.
* graphite-opencl.h: New file.
* graphite.c (graphite_transform_loops): Call graphite_opencl_init and
graphite_opencl_finalize.
* tree-ssa-loop.c (gate_graphite_transforms): Handle
flag_graphite_opencl.
* graphite-clast-to-gimple.c (gloog): Call opencl_transform_clast.
* dbgcnt.def (opencl_scop_cnt): New counter.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/graphite@168239 138bc75d-0d04-0410-961f-82ee72b054a4
12 files changed:
gcc/ChangeLog.graphite
gcc/Makefile.in
gcc/common.opt
gcc/dbgcnt.def
gcc/graphite-clast-to-gimple.c
gcc/graphite-clast-to-gimple.h
gcc/graphite-opencl-codegen.c [new file with mode: 0644]
gcc/graphite-opencl-meta-clast.c [new file with mode: 0644]
gcc/graphite-opencl.c [new file with mode: 0644]
gcc/graphite-opencl.h [new file with mode: 0644]
gcc/graphite.c
gcc/tree-ssa-loop.c