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