brintos

brintos / llvm-project-archived public Read only

0
0
Text · 706 B · 1655ace Raw
24 lines · plain
1//===----------------------------------------------------------------------===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8 9#include <clc/utils.h>10 11#define __CLC_IMPL_FUNCTION(x) __CLC_CONCAT(__clc_, x)12 13#if __CLC_VECSIZE_OR_1 == 114#define __CLC_RETTYPE __CLC_INTN15#else16#define __CLC_RETTYPE __CLC_BIT_INTN17#endif18 19_CLC_OVERLOAD _CLC_DEF __CLC_RETTYPE __CLC_FUNCTION(__CLC_GENTYPE a) {20  return __CLC_IMPL_FUNCTION(__CLC_FUNCTION)(a);21}22 23#undef __CLC_RETTYPE24