blob: c6dca35545100381dcc96f27aa8879c2a193f380 [file] [edit]
//===----------------------------------------------------------------------===//
//
// 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_load.h"
#define __CLC_FUNCTION __clc_atomic_load
#define __CLC_IMPL_FUNCTION __scoped_atomic_load_n
#define __CLC_NO_VALUE_ARG
#define __CLC_BODY "clc_atomic_def.inc"
#include "clc/integer/gentype.inc"
#undef __CLC_CASTTYPE
#undef __CLC_AS_RETTYPE
#define __CLC_CASTTYPE __CLC_S_GENTYPE
#define __CLC_AS_RETTYPE(x) __CLC_AS_GENTYPE(x)
#define __CLC_BODY "clc_atomic_def.inc"
#include "clc/math/gentype.inc"