Add support for the generation of c code
commit1b7331de6b8b14a2aceeed48804e8a028678f16b
authorTobias Grosser <tobias@grosser.es>
Fri, 16 Mar 2012 16:14:44 +0000 (16 17:14 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Thu, 22 Mar 2012 10:01:46 +0000 (22 11:01 +0100)
tree0396e32043ebf70dc722f9fcec592af501f717c0
parent8b2deb278ec26dd174c98e9b42157e97c2a41b0b
Add support for the generation of c code

C code generation is currently trivial. We just detect the scop and
code generate it with CLoog, but do not apply any further
transformations.  This commit is meant to add the general infrastructure,
but it obviously generates trivially correct code. The c code printing
is enabled by the flag --target=c.

Signed-off-by: Tobias Grosser <tobias@grosser.es>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
Makefile.am
cpu.c [new file with mode: 0644]
cpu.h [new file with mode: 0644]
ppcg.c
ppcg_options.c
ppcg_options.h