Files
gps/tools/local/circt/include/mlir/Dialect/IRDL/IRDLLoading.h
T
2026-07-12 11:01:51 +03:00

34 lines
944 B
C++

//===- IRDLRegistration.h - IRDL registration -------------------*- C++ -*-===//
//
// This file is licensed 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
//
//===----------------------------------------------------------------------===//
//
// Manages the registration of MLIR objects from IRDL operations.
//
//===----------------------------------------------------------------------===//
#ifndef MLIR_DIALECT_IRDL_IRDLREGISTRATION_H
#define MLIR_DIALECT_IRDL_IRDLREGISTRATION_H
namespace llvm {
struct LogicalResult;
} // namespace llvm
namespace mlir {
class ModuleOp;
} // namespace mlir
namespace mlir {
namespace irdl {
/// Load all the dialects defined in the module.
llvm::LogicalResult loadDialects(ModuleOp op);
} // namespace irdl
} // namespace mlir
#endif // MLIR_DIALECT_IRDL_IRDLREGISTRATION_H