xref: /llvm-project/mlir/include/mlir/Dialect/ArmSME/IR/ArmSMEOpInterfaces.h (revision 041baf2f60ac3e107399641aea04c77019e7eab8)
1 //===- ArmSMEOpInterfaces.h - Arm SME Dialect OpInterfaces ------*- 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 #ifndef MLIR_DIALECT_ARMSME_OPINTERFACES_H
10 #define MLIR_DIALECT_ARMSME_OPINTERFACES_H
11 
12 #include "mlir/Dialect/Vector/IR/VectorOps.h"
13 
14 namespace mlir::arm_sme {
15 
16 namespace detail {
17 LogicalResult verifyArmSMETileOpInterface(Operation *);
18 }
19 
20 // The first in-memory SME tile ID. This is set to 16 as that is the first tile
21 // ID larger than any virtual tile ID supported by the SME ISA.
22 static constexpr unsigned kInMemoryTileIdBase = 16;
23 
24 #include "mlir/Dialect/ArmSME/IR/ArmSMEOpInterfaces.h.inc"
25 } // namespace mlir::arm_sme
26 
27 #endif // MLIR_DIALECT_ARMSME_OPINTERFACES_H
28