17 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#ifndef __CLC_IMPL_FUNCTION10#define __CLC_IMPL_FUNCTION(x) __CLC_CONCAT(__clc_, x)11#endif12 13_CLC_OVERLOAD _CLC_DEF __CLC_RETTYPE __CLC_FUNCTION(__CLC_GENTYPE base,14 uint offset, uint count) {15 return __CLC_IMPL_FUNCTION(__CLC_FUNCTION)(base, offset, count);16}17