MLIR 22.0.0git
MemorySpaceInterfaces.h
Go to the documentation of this file.
1//===-- MemorySpaceInterfaces.h - ptr memory space interfaces ---*- 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 the ptr dialect memory space interfaces.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef MLIR_DIALECT_PTR_IR_MEMORYSPACEINTERFACES_H
14#define MLIR_DIALECT_PTR_IR_MEMORYSPACEINTERFACES_H
15
16#include "mlir/IR/Attributes.h"
19
20#include <functional>
21#include <optional>
22
23namespace mlir {
24class Operation;
25class DataLayout;
26namespace ptr {
27enum class AtomicBinOp : uint32_t;
28enum class AtomicOrdering : uint32_t;
29} // namespace ptr
30} // namespace mlir
31
32#include "mlir/Dialect/Ptr/IR/MemorySpaceAttrInterfaces.h.inc"
33
34#endif // MLIR_DIALECT_PTR_IR_MEMORYSPACEINTERFACES_H
The main mechanism for performing data layout queries.
Operation is the basic unit of execution within MLIR.
Definition Operation.h:88
Include the generated interface declarations.