Use the enum OPENCL_FUNCTIONS as indices of opencl_function_names.
commit015f9d71e04c727e045adaf7d9a4a84265abba60
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Dec 2010 05:59:19 +0000 (28 05:59 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Dec 2010 05:59:19 +0000 (28 05:59 +0000)
tree0af1568271e59412bdf89dcc01b3ce4971cfe29e
parentc8fe894c6bd12c2e6415c88e56e95288c052adea
Use the enum OPENCL_FUNCTIONS as indices of opencl_function_names.

2010-12-27  Sebastian Pop  <sebastian.pop@amd.com>

* Makefile.in (graphite-opencl.o): Depends on
graphite-opencl-functions.def.
* graphite-opencl-functions.def: New.
* graphite-opencl.c (enum OPENCL_FUNCTIONS): Read data from
graphite-opencl-functions.def.
(opencl_function_names): Same.
(opencl_create_function_decl): Use the enum OPENCL_FUNCTIONS
as indices of opencl_function_names.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/graphite@168289 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog.graphite
gcc/Makefile.in
gcc/graphite-opencl-functions.def [new file with mode: 0644]
gcc/graphite-opencl.c