1//===-- AMDGPUTypes.def - Metadata about AMDGPU types -----------*- C++ -*-===// 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-exception 6// 7//===----------------------------------------------------------------------===// 8// 9// This file defines various AMDGPU builtin types. 10// 11//===----------------------------------------------------------------------===// 12 13#ifndef AMDGPU_OPAQUE_PTR_TYPE 14#define AMDGPU_OPAQUE_PTR_TYPE(Name, MangledName, AS, Width, Align, Id, SingletonId) \ 15 AMDGPU_TYPE(Name, Id, SingletonId) 16#endif 17 18AMDGPU_OPAQUE_PTR_TYPE("__amdgpu_buffer_rsrc_t", "__amdgpu_buffer_rsrc_t", 8, 128, 128, AMDGPUBufferRsrc, AMDGPUBufferRsrcTy) 19 20#undef AMDGPU_TYPE 21#undef AMDGPU_OPAQUE_PTR_TYPE 22