mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-19 11:35:51 -04:00

Reviewer: Tom Stellard <tstellar@redhat.com> Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu> llvm-svn: 325053
12 lines
306 B
C++
12 lines
306 B
C++
#include <utils.h>
|
|
|
|
#define __CLC_HALF_FUNC(x) __CLC_CONCAT(half_, x)
|
|
#define __CLC_NATIVE_FUNC(x) __CLC_CONCAT(native_, x)
|
|
|
|
_CLC_OVERLOAD _CLC_DEF __CLC_GENTYPE __CLC_HALF_FUNC(__CLC_FUNC)(__CLC_GENTYPE val) {
|
|
return __CLC_NATIVE_FUNC(__CLC_FUNC)(val);
|
|
}
|
|
|
|
#undef __CLC_NATIVE_FUNC
|
|
#undef __CLC_HALF_FUNC
|