MLIR  17.0.0git
Functions
RegisterEverything.h File Reference
#include "mlir-c/IR.h"
+ Include dependency graph for RegisterEverything.h:
+ This graph shows which files directly or indirectly include this file:

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 17 of file RegisterEverything.cpp.

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

Referenced by PYBIND11_MODULE().

◆ mlirRegisterAllLLVMTranslations()

MLIR_CAPI_EXPORTED void mlirRegisterAllLLVMTranslations ( MlirContext  context)

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

Definition at line 21 of file RegisterEverything.cpp.

References mlir::registerBuiltinDialectTranslation(), mlir::registerLLVMDialectTranslation(), and unwrap().

◆ mlirRegisterAllPasses()

MLIR_CAPI_EXPORTED void mlirRegisterAllPasses ( void  )

Register all compiler passes of MLIR.

Definition at line 27 of file RegisterEverything.cpp.

References mlir::registerAllPasses().

Referenced by PYBIND11_MODULE().