MLIR  19.0.0git
TilingInterface.h
Go to the documentation of this file.
1 //===- TilingInterface.h - Interface for tiling operations ------*- 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 the definitions of the TilingInterface defined in
10 // `TilingInterface.td`.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #ifndef MLIR_INTERFACES_TILINGINTERFACE_H_
15 #define MLIR_INTERFACES_TILINGINTERFACE_H_
16 
18 #include "mlir/IR/Builders.h"
19 #include "mlir/IR/BuiltinTypes.h"
20 #include "mlir/IR/Operation.h"
22 #include "mlir/Support/LLVM.h"
23 
24 namespace mlir {
25 
26 /// Container for result values of tiling.
27 /// - `tiledOps` contains operations created by the tiling implementation that
28 /// are returned to the caller for further transformations.
29 /// - `tiledValues` contains the tiled value corresponding to the result of the
30 /// untiled operation.
31 struct TilingResult {
34 };
35 
36 } // namespace mlir
37 
38 /// Include the ODS generated interface header files.
39 #include "mlir/Interfaces/TilingInterface.h.inc"
40 
41 #endif // MLIR_INTERFACES_TILINGINTERFACE_H_
Include the generated interface declarations.
Container for result values of tiling.
SmallVector< Value > tiledValues
SmallVector< Operation * > tiledOps