xref: /llvm-project/mlir/include/mlir/Dialect/XeGPU/Transforms/Passes.td (revision f4c0c40f388fff0975ecada4997683cef3cb1fae)
1//===-- Passes.td - XeGPU transformation definition file ---*- tablegen -*-===//
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
10#ifndef MLIR_DIALECT_XEGPU_TRANSFORMS_PASSES_TD
11#define MLIR_DIALECT_XEGPU_TRANSFORMS_PASSES_TD
12
13include "mlir/Pass/PassBase.td"
14
15def XeGPUFoldAliasOps : Pass<"xegpu-fold-alias-ops"> {
16  let summary = "Fold alias ops into XeGPU ops";
17  let description = [{
18    The pass folds aliasing ops into XeGPU ops that they operate on the original
19    source references.
20  }];
21  let dependentDialects = [
22      "memref::MemRefDialect", "xegpu::XeGPUDialect"
23  ];
24}
25
26#endif // MLIR_DIALECT_XEGPU_TRANSFORMS_PASSES_TD
27