MLIR  20.0.0git
Transforms.h
Go to the documentation of this file.
1 //===- Transforms.h - XeGPU Dialect transformations -------------*- 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_XEGPU_TRANSFORMS_TRANSFORMS_H
10 #define MLIR_DIALECT_XEGPU_TRANSFORMS_TRANSFORMS_H
11 
12 namespace mlir {
13 class RewritePatternSet;
14 
15 namespace xegpu {
16 
17 /// Appends patterns for folding aliasing ops into XeGPU ops into `patterns`.
18 void populateXeGPUFoldAliasOpsPatterns(RewritePatternSet &patterns);
19 
20 } // namespace xegpu
21 } // namespace mlir
22 
23 #endif // MLIR_DIALECT_XEGPU_TRANSFORMS_TRANSFORMS_H
void populateXeGPUFoldAliasOpsPatterns(RewritePatternSet &patterns)
Appends patterns for folding aliasing ops into XeGPU ops into patterns.
Include the generated interface declarations.