MLIR 22.0.0git
IRDLLoading.h
Go to the documentation of this file.
1//===- IRDLRegistration.h - IRDL registration -------------------*- C++ -*-===//
2//
3// This file is licensed 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// Manages the registration of MLIR objects from IRDL operations.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef MLIR_DIALECT_IRDL_IRDLREGISTRATION_H
14#define MLIR_DIALECT_IRDL_IRDLREGISTRATION_H
15
16namespace llvm {
17struct LogicalResult;
18} // namespace llvm
19
20namespace mlir {
21class ModuleOp;
22} // namespace mlir
23
24namespace mlir {
25namespace irdl {
26
27/// Load all the dialects defined in the module.
28llvm::LogicalResult loadDialects(ModuleOp op);
29
30} // namespace irdl
31} // namespace mlir
32
33#endif // MLIR_DIALECT_IRDL_IRDLREGISTRATION_H
The OpAsmOpInterface, see OpAsmInterface.td for more details.
Definition CallGraph.h:229
llvm::LogicalResult loadDialects(ModuleOp op)
Load all the dialects defined in the module.
Include the generated interface declarations.