MLIR 24.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
18
19#include <functional>
20#include <optional>
21
22namespace mlir {
23class Operation;
24class DataLayout;
25namespace ptr {
26enum class AtomicBinOp : uint32_t;
27enum class AtomicOrdering : uint32_t;
28} // namespace ptr
29} // namespace mlir
30
31#include "mlir/Dialect/Ptr/IR/MemorySpaceAttrInterfaces.h.inc"
32
33#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:87
Include the generated interface declarations.