MLIR 22.0.0git
ComposeSubView.h
Go to the documentation of this file.
1//===- ComposeSubView.h - Combining composed memref 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// Patterns for combining composed subview ops.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef MLIR_DIALECT_MEMREF_TRANSFORMS_COMPOSESUBVIEW_H_
14#define MLIR_DIALECT_MEMREF_TRANSFORMS_COMPOSESUBVIEW_H_
15
16namespace mlir {
17class MLIRContext;
19
20namespace memref {
21
22void populateComposeSubViewPatterns(RewritePatternSet &patterns,
23 MLIRContext *context);
24
25} // namespace memref
26} // namespace mlir
27
28#endif // MLIR_DIALECT_MEMREF_TRANSFORMS_COMPOSESUBVIEW_H_
MLIRContext is the top-level object for a collection of MLIR operations.
Definition MLIRContext.h:63
void populateComposeSubViewPatterns(RewritePatternSet &patterns, MLIRContext *context)
Include the generated interface declarations.
const FrozenRewritePatternSet & patterns