MLIR  20.0.0git
Functions
RegisterEverything.h File Reference
#include "mlir-c/IR.h"

Go to the source code of this file.

Functions

MLIR_CAPI_EXPORTED void mlirRegisterAllDialects (MlirDialectRegistry registry)
 Appends all upstream dialects and extensions to the dialect registry. More...
 
MLIR_CAPI_EXPORTED void mlirRegisterAllLLVMTranslations (MlirContext context)
 Register all translations to LLVM IR for dialects that can support it. More...
 
MLIR_CAPI_EXPORTED void mlirRegisterAllPasses (void)
 Register all compiler passes of MLIR. More...
 

Function Documentation

◆ mlirRegisterAllDialects()

MLIR_CAPI_EXPORTED void mlirRegisterAllDialects ( MlirDialectRegistry  registry)

Appends all upstream dialects and extensions to the dialect registry.

Definition at line 20 of file RegisterEverything.cpp.

References mlir::registerAllDialects(), mlir::registerAllExtensions(), and unwrap().

◆ mlirRegisterAllLLVMTranslations()

MLIR_CAPI_EXPORTED void mlirRegisterAllLLVMTranslations ( MlirContext  context)

Register all translations to LLVM IR for dialects that can support it.

Definition at line 25 of file RegisterEverything.cpp.

References mlir::registerAllToLLVMIRTranslations(), and unwrap().

◆ mlirRegisterAllPasses()

MLIR_CAPI_EXPORTED void mlirRegisterAllPasses ( void  )

Register all compiler passes of MLIR.

Definition at line 32 of file RegisterEverything.cpp.

References mlir::registerAllPasses().