Files
clang-p2996/libclc/generic/include/utils.h
Jan Vesely f58dee9f3a native_log2: Switch to generic native intrinsic inc file
v2: Add __CLC_XCONCAT instead of function name redirection
    Use __CLC_XCONCAT for intrinsic functions as well

Reviewer: Jeroen Ketema
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
llvm-svn: 317932
2017-11-10 22:16:15 +00:00

11 lines
196 B
C

#ifndef __CLC_UTILS_H_
#define __CLC_UTILS_H_
#define __CLC_CONCAT(x, y) x ## y
#define __CLC_XCONCAT(x, y) __CLC_CONCAT(x, y)
#define __CLC_STR(x) #x
#define __CLC_XSTR(x) __CLC_STR(x)
#endif