brintos

brintos / llvm-project-archived public Read only

0
0
Text · 867 B · b2c2675 Raw
26 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/atomic/clc_atomic_exchange.h>10 11#define __CLC_FUNCTION __clc_atomic_exchange12#define __CLC_IMPL_FUNCTION __scoped_atomic_exchange_n13 14#define __CLC_BODY <clc_atomic_def.inc>15#include <clc/integer/gentype.inc>16 17#undef __CLC_CASTTYPE18#undef __CLC_AS_RETTYPE19#undef __CLC_AS_CASTTYPE20#define __CLC_CASTTYPE __CLC_BIT_INTN21#define __CLC_AS_RETTYPE(x) __CLC_AS_GENTYPE(x)22#define __CLC_AS_CASTTYPE __CLC_AS_S_GENTYPE23 24#define __CLC_BODY <clc_atomic_def.inc>25#include <clc/math/gentype.inc>26