34 lines
1.0 KiB
C++
34 lines
1.0 KiB
C++
//===- PtrAttrs.h - Pointer dialect attributes ------------------*- C++ -*-===//
|
|
//
|
|
// This file is licensed 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
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file declares the Ptr dialect attributes.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef MLIR_DIALECT_PTR_IR_PTRATTRS_H
|
|
#define MLIR_DIALECT_PTR_IR_PTRATTRS_H
|
|
|
|
#include "mlir/IR/BuiltinAttributeInterfaces.h"
|
|
#include "mlir/IR/OpImplementation.h"
|
|
#include "mlir/Interfaces/DataLayoutInterfaces.h"
|
|
#include "llvm/Support/TypeSize.h"
|
|
|
|
#include "mlir/Dialect/Ptr/IR/MemorySpaceInterfaces.h"
|
|
#include "mlir/Dialect/Ptr/IR/PtrEnums.h"
|
|
|
|
namespace mlir {
|
|
namespace ptr {
|
|
class PtrType;
|
|
} // namespace ptr
|
|
} // namespace mlir
|
|
|
|
#define GET_ATTRDEF_CLASSES
|
|
#include "mlir/Dialect/Ptr/IR/PtrOpsAttrs.h.inc"
|
|
|
|
#endif // MLIR_DIALECT_PTR_IR_PTRATTRS_H
|