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>
llvm-svn: 211576
This commit is contained in:
Jeroen Ketema 2014-06-24 09:36:32 +00:00
parent a2fb50f9b3
commit 526fe2d501
11 changed files with 9 additions and 3 deletions

View File

@ -11,9 +11,6 @@
/* Function Attributes */
#include <clc/clcfunc.h>
/* Pattern Macro Definitions */
#include <clc/clcmacro.h>
/* 6.1 Supported Data Types */
#include <clc/clctypes.h>

View File

@ -1,4 +1,5 @@
#include <clc/clc.h>
#include "../clcmacro.h"
#define SIGN(TYPE, F) \
_CLC_DEF _CLC_OVERLOAD TYPE sign(TYPE x) { \

View File

@ -1,4 +1,5 @@
#include <clc/clc.h>
#include "../clcmacro.h"
// From add_sat.ll
_CLC_DECL char __clc_add_sat_s8(char, char);

View File

@ -1,4 +1,5 @@
#include <clc/clc.h>
#include "../clcmacro.h"
// From clz.ll
_CLC_DECL char __clc_clz_s8(char);

View File

@ -1,4 +1,5 @@
#include <clc/clc.h>
#include "../clcmacro.h"
// From sub_sat.ll
_CLC_DECL char __clc_sub_sat_s8(char, char);

View File

@ -1,4 +1,5 @@
#include <clc/clc.h>
#include "../clcmacro.h"
// This file provides OpenCL C implementations of nextafter for targets that
// don't support the clang builtin.

View File

@ -1,4 +1,5 @@
#include <clc/clc.h>
#include "../clcmacro.h"
_CLC_DEFINE_BINARY_BUILTIN(float, nextafter, __builtin_nextafterf, float, float)

View File

@ -1,4 +1,5 @@
#include <clc/clc.h>
#include "../clcmacro.h"
_CLC_BINARY_VECTORIZE(_CLC_OVERLOAD _CLC_DEF, float, pown, float, int)

View File

@ -1,4 +1,5 @@
#include <clc/clc.h>
#include "../clcmacro.h"
_CLC_DEFINE_UNARY_BUILTIN(int, isnan, __builtin_isnan, float)

View File

@ -1,3 +1,4 @@
#include <clc/clc.h>
#include "../lib/clcmacro.h"
_CLC_DEFINE_BINARY_BUILTIN(float, nextafter, __clc_nextafter, float, float)