MLIR
20.0.0git
include
mlir
Tools
mlir-tblgen
MlirTblgenMain.h
Go to the documentation of this file.
1
//===- MlirTblgenMain.h - MLIR Tablegen Driver main -------------*- C++ -*-===//
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
// Main entry function for mlir-tblgen for when built as standalone binary.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#ifndef MLIR_TOOLS_MLIR_TBLGEN_MLIRTBLGENMAIN_H
14
#define MLIR_TOOLS_MLIR_TBLGEN_MLIRTBLGENMAIN_H
15
16
namespace
mlir
{
17
/// Main Program for tools like 'mlir-tblgen' with custom backends. To add
18
/// a new backend, simply create a new 'mlir::GenRegistration' global variable.
19
/// See its documentation for more info.
20
///
21
/// The 'argc' and 'argv' arguments are simply forwarded from a main function.
22
/// The return value is the exit code from llvm::TableGenMain.
23
int
MlirTblgenMain
(
int
argc,
char
**argv);
24
}
// namespace mlir
25
26
#endif
// MLIR_TOOLS_MLIR_TBLGEN_MLIRTBLGENMAIN_H
mlir
Include the generated interface declarations.
Definition:
LocalAliasAnalysis.h:20
mlir::MlirTblgenMain
int MlirTblgenMain(int argc, char **argv)
Main Program for tools like 'mlir-tblgen' with custom backends.
Definition:
MlirTblgenMain.cpp:140
Generated on Sat Nov 30 2024 08:31:56 for MLIR by
1.9.1