MLIR
20.0.0git
include
mlir
Tools
mlir-query
MlirQueryMain.h
Go to the documentation of this file.
1
//===- MlirQueryMain.h - MLIR Query main ----------------------------------===//
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-query for when built as standalone
10
// binary.
11
//
12
//===----------------------------------------------------------------------===//
13
14
#ifndef MLIR_TOOLS_MLIRQUERY_MLIRQUERYMAIN_H
15
#define MLIR_TOOLS_MLIRQUERY_MLIRQUERYMAIN_H
16
17
#include "
mlir/Query/Matcher/Registry.h
"
18
#include "
mlir/Support/LLVM.h
"
19
20
namespace
mlir
{
21
22
class
MLIRContext;
23
24
LogicalResult
25
mlirQueryMain
(
int
argc,
char
**argv, MLIRContext &context,
26
const
mlir::query::matcher::Registry
&matcherRegistry);
27
28
}
// namespace mlir
29
30
#endif
// MLIR_TOOLS_MLIRQUERY_MLIRQUERYMAIN_H
Registry.h
mlir::query::matcher::Registry
Definition:
Registry.h:28
LLVM.h
mlir
Include the generated interface declarations.
Definition:
LocalAliasAnalysis.h:20
mlir::mlirQueryMain
LogicalResult mlirQueryMain(int argc, char **argv, MLIRContext &context, const mlir::query::matcher::Registry &matcherRegistry)
Definition:
MlirQueryMain.cpp:31
Generated on Tue Nov 19 2024 08:32:23 for MLIR by
1.9.1