| //===----------------------------------------------------------------------===// |
| // |
| // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| // See https://llvm.org/LICENSE.txt for license information. |
| // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| // |
| //===----------------------------------------------------------------------===// |
| |
| #include <clc/atomic/clc_atomic_store.h> |
| |
| #define __CLC_FUNCTION __clc_atomic_store |
| #define __CLC_IMPL_FUNCTION __scoped_atomic_store_n |
| #define __CLC_RETURN_VOID |
| |
| #define __CLC_BODY <clc_atomic_def.inc> |
| #include <clc/integer/gentype.inc> |
| |
| #undef __CLC_CASTTYPE |
| #undef __CLC_AS_CASTTYPE |
| #define __CLC_CASTTYPE __CLC_BIT_INTN |
| #define __CLC_AS_CASTTYPE __CLC_AS_S_GENTYPE |
| |
| #define __CLC_BODY <clc_atomic_def.inc> |
| #include <clc/math/gentype.inc> |