26 auto &ctx = *
unwrap(context);
29 ctx.appendDialectRegistry(registry);
void mlirRegisterAllPasses()
Register all compiler passes of MLIR.
void mlirRegisterAllDialects(MlirDialectRegistry registry)
Appends all upstream dialects and extensions to the dialect registry.
void mlirRegisterAllLLVMTranslations(MlirContext context)
Register all translations to LLVM IR for dialects that can support it.
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.