Implement trunc builtin.

OpenCL C lang says that trunc rounds towards zero.
llvm.trunc.* intrinsic rounds to integer not larger in magnitude.
These definitions are equivalent.

Patch by: Jan Vesely

Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>

git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@197769 91177308-0d34-0410-b5e6-96231b3b80d8
Add floating-point macro definitions v2

v2:
  - Fix typo.

Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>

git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@197784 91177308-0d34-0410-b5e6-96231b3b80d8
Fix build with LLVM 3.5

Reviewed-by: Aaron Watry <awatry@gmail.com>

git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@198167 91177308-0d34-0410-b5e6-96231b3b80d8
Pass -fno-builtin flag to clang to silence warnings

Reviewed-by: Aaron Watry <awatry@gmail.com>

git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@198168 91177308-0d34-0410-b5e6-96231b3b80d8
Update the copyright credits -- Happy new year 2014!

FIXME: Dragonegg may be updated at non-trivial changes.

git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@198274 91177308-0d34-0410-b5e6-96231b3b80d8
Added nvptx--bugle target. Patch by Jeroen Ketema.