|
MLIR 22.0.0git
|
#include "mlir-c/IR.h"Go to the source code of this file.
Functions | |
| MLIR_DECLARE_CAPI_DIALECT_REGISTRATION (IRDL, irdl) | |
| MLIR_CAPI_EXPORTED MlirLogicalResult | mlirLoadIRDLDialects (MlirModule module) |
| Loads all IRDL dialects in the provided module, registering the dialects in the module's associated context. | |
| MLIR_CAPI_EXPORTED MlirAttribute | mlirIRDLVariadicityAttrGet (MlirContext ctx, MlirStringRef value) |
| MLIR_CAPI_EXPORTED MlirAttribute | mlirIRDLVariadicityArrayAttrGet (MlirContext ctx, intptr_t nValues, MlirAttribute const *values) |
| MLIR_DECLARE_CAPI_DIALECT_REGISTRATION | ( | IRDL | , |
| irdl | ) |
References MLIR_CAPI_EXPORTED.
| MLIR_CAPI_EXPORTED MlirAttribute mlirIRDLVariadicityArrayAttrGet | ( | MlirContext | ctx, |
| intptr_t | nValues, | ||
| MlirAttribute const * | values ) |
Definition at line 33 of file IRDL.cpp.
References unwrap(), unwrapList(), and wrap().
| MLIR_CAPI_EXPORTED MlirAttribute mlirIRDLVariadicityAttrGet | ( | MlirContext | ctx, |
| MlirStringRef | value ) |
| MLIR_CAPI_EXPORTED MlirLogicalResult mlirLoadIRDLDialects | ( | MlirModule | module | ) |
Loads all IRDL dialects in the provided module, registering the dialects in the module's associated context.
Definition at line 16 of file IRDL.cpp.
References mlir::irdl::loadDialects(), mlirLoadIRDLDialects(), unwrap(), and wrap().
Referenced by mlirLoadIRDLDialects(), and populateDialectIRDLSubmodule().