Make it bootstrap with CLooG.org.regtest/success/2010_12_25_07_30_18
commit13bdc5f7e42cab1f234f376abed205aaf25e50fc
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 25 Dec 2010 06:28:42 +0000 (25 06:28 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 25 Dec 2010 06:28:42 +0000 (25 06:28 +0000)
tree04ac2cafc54b8440515e81e1394a04b06b389342
parent8ced72ba7fb80869a8a7315d4c4c279e5d38ae6b
Make it bootstrap with CLooG.org.

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

* graphite-cloog-compat.h (cloog_names_nb_scattering): New.
(cloog_names_scattering): New.
* graphite-opencl-codegen.c (opencl_constant_expression_p): Use
clast_expr_* instead of expr_*.  Call clast_name_to_str.
(opencl_clast_name_to_tree): Now takes a clast_name_p in parameter.
(opencl_get_scat_real_name): Same.  Call clast_name_to_str.
(opencl_add_scat_as_arg): Same.
(opencl_print_local_vars): Call cloog_names_scattering and
cloog_names_nb_scattering.
(opencl_print_for): Do not call value_*.
(opencl_print_term): Same.
(opencl_print_expr): Use clast_expr_* instead of expr_*.
(opencl_print_sum): Same.
(opencl_print_binary): Same.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/graphite@168240 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog.graphite
gcc/graphite-cloog-compat.h
gcc/graphite-opencl-codegen.c