Move clcmacro.h to avoid cluttering user namespace v2

v2: - use quotes instead of <>
    - add include to r600/lib/math/nextafter.c changed

Reviewed-by: Tom Stellard <tom@stellard.net>
Reviewed-by: Aaron Watry <awatry@gmail.com>


git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@211576 91177308-0d34-0410-b5e6-96231b3b80d8
Add MAXFLOAT

Align definitions while we are here.

Reviewed-by: Tom Stellard <tom@stellard.net>


git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@211577 91177308-0d34-0410-b5e6-96231b3b80d8
Introduce CLC_VERSION macros v2

Add these out-of-order in clc.h so we can use these in other headers.

v2: Take into account the lack of a definition in OpenCL 1.0

Reviewed-by: Tom Stellard <tom@stellard.net>


git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@211578 91177308-0d34-0410-b5e6-96231b3b80d8
Add half limits

These are apparently only defined in OpenCL 1.2.

HALF_MAX, HALF_MIN and HALF_EPSILON are currently omitted. Clang does
not seem to support the ‘h’ suffix for half float constants even with
the cl_khr_fp16 extension enabled.

Reviewed-by: Tom Sellard <tom@stellard.net>


git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@211579 91177308-0d34-0410-b5e6-96231b3b80d8