MLIR  16.0.0git
Functions
RegisterEverything.cpp File Reference
#include "mlir-c/RegisterEverything.h"
#include "mlir/CAPI/IR.h"
#include "mlir/InitAllDialects.h"
#include "mlir/InitAllPasses.h"
#include "mlir/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.h"
+ Include dependency graph for RegisterEverything.cpp:

Go to the source code of this file.

Functions

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

Function Documentation

◆ mlirRegisterAllDialects()

void mlirRegisterAllDialects ( MlirDialectRegistry  registry)

Appends all upstream dialects and extensions to the dialect registry.

Definition at line 16 of file RegisterEverything.cpp.

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

Referenced by PYBIND11_MODULE().

◆ mlirRegisterAllLLVMTranslations()

void mlirRegisterAllLLVMTranslations ( MlirContext  context)

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

Definition at line 20 of file RegisterEverything.cpp.

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

◆ mlirRegisterAllPasses()

void mlirRegisterAllPasses ( )

Register all compiler passes of MLIR.

Definition at line 24 of file RegisterEverything.cpp.

References mlir::registerAllPasses().

Referenced by PYBIND11_MODULE().