Mercurial > hg > CbC > CbC_llvm
view mlir/tools/mlir-tblgen/OpFormatGen.h @ 206:f17a3b42b08b
Added tag before-12 for changeset b7591485f4cd
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 07 Jun 2021 21:25:57 +0900 |
parents | 1d019706d866 |
children | c4bab56944e8 |
line wrap: on
line source
//===- OpFormatGen.h - MLIR operation format generator ----------*- C++ -*-===// // // 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 // //===----------------------------------------------------------------------===// // // This file defines the interface for generating parsers and printers from the // declarative format. // //===----------------------------------------------------------------------===// #ifndef MLIR_TOOLS_MLIRTBLGEN_OPFORMATGEN_H_ #define MLIR_TOOLS_MLIRTBLGEN_OPFORMATGEN_H_ namespace mlir { namespace tblgen { class OpClass; class Operator; // Generate the assembly format for the given operator. void generateOpFormat(const Operator &constOp, OpClass &opClass); } // end namespace tblgen } // end namespace mlir #endif // MLIR_TOOLS_MLIRTBLGEN_OPFORMATGEN_H_