• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//===-- Passes.td - MLIR Reduce pass 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// This file contains definitions of the passes for the MLIR Reduce Tool.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef MLIR_REDUCER_PASSES
14#define MLIR_REDUCER_PASSES
15
16include "mlir/Pass/PassBase.td"
17
18def ReductionTree : Pass<"reduction-tree", "ModuleOp"> {
19  let summary = "A general reduction tree pass for the MLIR Reduce Tool";
20}
21
22def OptReduction : Pass<"opt-reduction-pass", "ModuleOp"> {
23  let summary = "A reduction pass wrapper for optimization passes";
24}
25
26#endif // MLIR_REDUCER_PASSES
27