|
MLIR
22.0.0git
|
#include "mlir-c/RegisterEverything.h"#include "mlir/CAPI/IR.h"#include "mlir/IR/MLIRContext.h"#include "mlir/InitAllDialects.h"#include "mlir/InitAllExtensions.h"#include "mlir/InitAllPasses.h"#include "mlir/Target/LLVMIR/Dialect/All.h"#include "mlir/Target/LLVMIR/Dialect/Builtin/BuiltinToLLVMIRTranslation.h"#include "mlir/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.h"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... | |
| 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().
Referenced by NB_MODULE().
| 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().
Referenced by NB_MODULE().
| void mlirRegisterAllPasses | ( | void | ) |
Register all compiler passes of MLIR.
Definition at line 32 of file RegisterEverything.cpp.
References mlir::registerAllPasses().
Referenced by NB_MODULE().