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 16 namespace mlir { 17 class MLIRContext; 18 class RewritePatternSet; 19 20 namespace memref { 21 22 void populateComposeSubViewPatterns(RewritePatternSet &patterns, 23 MLIRContext *context); 24 25 } // namespace memref 26 } // namespace mlir 27 28 #endif // MLIR_DIALECT_MEMREF_TRANSFORMS_COMPOSESUBVIEW_H_ 29