Mercurial > hg > CbC > CbC_llvm
view mlir/unittests/TableGen/structs.td @ 150:1d019706d866
LLVM10
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 15:10:13 +0900 |
parents | |
children | 0572611fdcc8 |
line wrap: on
line source
//===-- structs.td - StructsGen 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/IR/OpBase.td" def Test_Dialect : Dialect { let name = "test"; } def Test_Struct : StructAttr<"TestStruct", Test_Dialect, [ StructFieldAttr<"sample_integer", I32Attr>, StructFieldAttr<"sample_float", F32Attr>, StructFieldAttr<"sample_elements", I32ElementsAttr>] > { let description = "Structure for test data"; }