The new printf() does not work with LLVM 3.3 or older nor TCE.
Enable overriding the location for the types file to fix the build
for the heterogeneous TCE device.
Remove unnecessary warnings.
Reverted the pseudo function name for the barrier, no reason
to change it.
HOST_LD_FLAGS should be passed here to get the -shared flag added.
LLC_FLAGS should not be passed here, this is a target-independent
phase. Fixes compiling kernels for the TCE devices.
Fix the build of printf() for 32-bit targets without doubles.