Mercurial > hg > CbC > CbC_llvm
view mlir/unittests/TableGen/passes.td @ 266:00f31e85ec16 default tip
Added tag current for changeset 31d058e83c98
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 14 Oct 2023 10:13:55 +0900 |
parents | c4bab56944e8 |
children |
line wrap: on
line source
//===-- passes.td - PassGen test definition file -----------*- tablegen -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// include "mlir/Pass/PassBase.td" include "mlir/Pass/PassBase.td" include "mlir/Rewrite/PassUtil.td" def TestPass : Pass<"test"> { let summary = "Test pass"; } def TestPassWithOptions : Pass<"test"> { let summary = "Test pass with options"; let options = [ Option<"testOption", "testOption", "int", "0", "Test option">, ListOption<"testListOption", "test-list-option", "int64_t", "Test list option"> ]; } def TestPassWithCustomConstructor : Pass<"test"> { let summary = "Test pass with custom constructor"; let constructor = "::createTestPassWithCustomConstructor()"; }