26 auto &ctx = *
unwrap(context);
29 ctx.appendDialectRegistry(registry);
MLIR_CAPI_EXPORTED void mlirRegisterAllLLVMTranslations(MlirContext context)
Register all translations to LLVM IR for dialects that can support it.
MLIR_CAPI_EXPORTED void mlirRegisterAllPasses(void)
Register all compiler passes of MLIR.
MLIR_CAPI_EXPORTED void mlirRegisterAllDialects(MlirDialectRegistry registry)
Appends all upstream dialects and extensions to the dialect registry.
The DialectRegistry maps a dialect namespace to a constructor for the matching dialect.
mlir::Diagnostic & unwrap(MlirDiagnostic diagnostic)
static void registerAllToLLVMIRTranslations(DialectRegistry ®istry)
Registers all dialects that can be translated to LLVM IR and the corresponding translation interfaces...
void registerAllExtensions(DialectRegistry ®istry)
This function may be called to register all MLIR dialect extensions with the provided registry.
void registerAllDialects(DialectRegistry ®istry)
Add all the MLIR dialects to the provided registry.