brintos

brintos / llvm-project-archived public Read only

0
0
Text · 808 B · c4d6ffd Raw
30 lines · c
1//===-- mlir-c/Dialect/IRDL.h - C API for IRDL --------------------*- C -*-===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM4// Exceptions.5// See https://llvm.org/LICENSE.txt for license information.6// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception7//8//===----------------------------------------------------------------------===//9 10#ifndef MLIR_C_DIALECT_IRDL_H11#define MLIR_C_DIALECT_IRDL_H12 13#include "mlir-c/IR.h"14 15#ifdef __cplusplus16extern "C" {17#endif18 19MLIR_DECLARE_CAPI_DIALECT_REGISTRATION(IRDL, irdl);20 21/// Loads all IRDL dialects in the provided module, registering the dialects in22/// the module's associated context.23MLIR_CAPI_EXPORTED MlirLogicalResult mlirLoadIRDLDialects(MlirModule module);24 25#ifdef __cplusplus26}27#endif28 29#endif // MLIR_C_DIALECT_IRDL_H30