//===- MemRefDescriptor.h - MemRef descriptor constants ---------*- C++ -*-===// // // 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 // //===----------------------------------------------------------------------===// // // Defines constants that are used in LLVM dialect equivalents of MemRef type. // //===----------------------------------------------------------------------===// #ifndef MLIR_LIB_CONVERSION_LLVMCOMMON_MEMREFDESCRIPTOR_H #define MLIR_LIB_CONVERSION_LLVMCOMMON_MEMREFDESCRIPTOR_H static constexpr unsigned kAllocatedPtrPosInMemRefDescriptor = …; static constexpr unsigned kAlignedPtrPosInMemRefDescriptor = …; static constexpr unsigned kOffsetPosInMemRefDescriptor = …; static constexpr unsigned kSizePosInMemRefDescriptor = …; static constexpr unsigned kStridePosInMemRefDescriptor = …; static constexpr unsigned kRankInUnrankedMemRefDescriptor = …; static constexpr unsigned kPtrInUnrankedMemRefDescriptor = …; #endif // MLIR_LIB_CONVERSION_LLVMCOMMON_MEMREFDESCRIPTOR_H