Bump version to 19.1.0 (final)
[llvm-project.git] / mlir / unittests / TableGen / passes.td
blob5e53cb99ef9fa7751e3384bf2750ee99ad5f52c8
1 //===-- passes.td - PassGen test 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 //===----------------------------------------------------------------------===//
9 include "mlir/Pass/PassBase.td"
10 include "mlir/Pass/PassBase.td"
11 include "mlir/Rewrite/PassUtil.td"
13 def TestPass : Pass<"test"> {
14   let summary = "Test pass";
17 def TestPassWithOptions : Pass<"test"> {
18   let summary = "Test pass with options";
20   let options = [
21     Option<"testOption", "testOption", "int", "0", "Test option">,
22     ListOption<"testListOption", "test-list-option", "int64_t",
23                "Test list option">
24   ];
27 def TestPassWithCustomConstructor : Pass<"test"> {
28   let summary = "Test pass with custom constructor";
30   let constructor = "::createTestPassWithCustomConstructor()";