Move unary_instrinsic.inc to private headers.

Reviewer: Aaron Watry
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 356021
This commit is contained in:
Jan Vesely 2019-03-13 07:06:19 +00:00
parent 2aa333f3d1
commit 5b136ca125
9 changed files with 8 additions and 8 deletions

View File

@ -4,7 +4,7 @@
// Map the llvm intrinsic to an OpenCL function.
#define __CLC_FUNCTION __clc_ceil
#define __CLC_INTRINSIC "llvm.ceil"
#include <clc/math/unary_intrin.inc>
#include "math/unary_intrin.inc"
#undef __CLC_FUNCTION
#define __CLC_FUNCTION ceil

View File

@ -25,7 +25,7 @@
// Map the llvm sqrt intrinsic to an OpenCL function.
#define __CLC_FUNCTION __clc_llvm_intr_sqrt
#define __CLC_INTRINSIC "llvm.sqrt"
#include <clc/math/unary_intrin.inc>
#include <math/unary_intrin.inc>
#undef __CLC_FUNCTION
#undef __CLC_INTRINSIC

View File

@ -4,7 +4,7 @@
// Map the llvm intrinsic to an OpenCL function.
#define __CLC_FUNCTION __clc_fabs
#define __CLC_INTRINSIC "llvm.fabs"
#include <clc/math/unary_intrin.inc>
#include "math/unary_intrin.inc"
#undef __CLC_FUNCTION
#define __CLC_FUNCTION fabs

View File

@ -4,7 +4,7 @@
// Map the llvm intrinsic to an OpenCL function.
#define __CLC_FUNCTION __clc_floor
#define __CLC_INTRINSIC "llvm.floor"
#include <clc/math/unary_intrin.inc>
#include "math/unary_intrin.inc"
#undef __CLC_FUNCTION
#define __CLC_FUNCTION floor

View File

@ -27,7 +27,7 @@
#define __CLC_INTRINSIC "llvm." __CLC_XSTR(__CLC_NATIVE_INTRINSIC)
#undef cl_khr_fp64
#include <clc/math/unary_intrin.inc>
#include <math/unary_intrin.inc>
#endif

View File

@ -3,7 +3,7 @@
// Map the llvm intrinsic to an OpenCL function.
#define __CLC_FUNCTION __clc_rint
#define __CLC_INTRINSIC "llvm.rint"
#include <clc/math/unary_intrin.inc>
#include "math/unary_intrin.inc"
#undef __CLC_FUNCTION
#define __CLC_FUNCTION rint

View File

@ -3,7 +3,7 @@
// Map the llvm intrinsic to an OpenCL function.
#define __CLC_FUNCTION __clc_round
#define __CLC_INTRINSIC "llvm.round"
#include <clc/math/unary_intrin.inc>
#include "math/unary_intrin.inc"
#undef __CLC_FUNCTION
#define __CLC_FUNCTION round

View File

@ -3,7 +3,7 @@
// Map the llvm intrinsic to an OpenCL function.
#define __CLC_FUNCTION __clc_trunc
#define __CLC_INTRINSIC "llvm.trunc"
#include <clc/math/unary_intrin.inc>
#include "math/unary_intrin.inc"
#undef __CLC_FUNCTION
#define __CLC_FUNCTION trunc