MLIR 22.0.0git
ShapedOpInterfaces.h
Go to the documentation of this file.
1//===- ShapedOpInterfaces.h - Interfaces for Shaped Ops ---------*- 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 contains a set of interfaces for ops that operate on shaped values.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef MLIR_INTERFACES_SHAPEDOPINTERFACES_H_
14#define MLIR_INTERFACES_SHAPEDOPINTERFACES_H_
15
17
18namespace mlir {
19namespace detail {
20
21/// Verify invariants of ops that implement the ShapedDimOpInterface.
22LogicalResult verifyShapedDimOpInterface(Operation *op);
23
24} // namespace detail
25} // namespace mlir
26
27/// Include the generated interface declarations.
28#include "mlir/Interfaces/ShapedOpInterfaces.h.inc"
29
30#endif // MLIR_INTERFACES_SHAPEDOPINTERFACES_H_
AttrTypeReplacer.
LogicalResult verifyShapedDimOpInterface(Operation *op)
Verify invariants of ops that implement the ShapedDimOpInterface.
Include the generated interface declarations.