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:
parent
2aa333f3d1
commit
5b136ca125
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue