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