MLIR 22.0.0git
RegisterAllExtensions.cpp
Go to the documentation of this file.
1//===- RegisterAllExtensions.cpp - MLIR Extension Registration --*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// This file defines a helper to trigger the registration of all dialect
10// extensions to the system.
11//
12//===----------------------------------------------------------------------===//
13
15
65
66/// This function may be called to register all MLIR dialect extensions with the
67/// provided registry.
68/// If you're building a compiler, you generally shouldn't use this: you would
69/// individually register the specific extensions that are useful for the
70/// pipelines and transformations you are using.
72 // Register all conversions to LLVM extensions.
96
97 // Register all transform dialect extensions.
119
120 // Translation extensions need to be registered by calling
121 // `registerAllToLLVMIRTranslations` (see All.h).
122}
The DialectRegistry maps a dialect namespace to a constructor for the matching dialect.
void registerConvertGpuToNVVMInterface(DialectRegistry &registry)
Registers the ConvertToLLVMAttrInterface interface on the NVVM::NVVMTargetAttr attribute.
void registerTransformDialectExtension(DialectRegistry &registry)
void registerConvertArithToLLVMInterface(DialectRegistry &registry)
void registerTransformDialectExtension(DialectRegistry &registry)
void registerTransformDialectExtension(DialectRegistry &registry)
void registerTransformDialectExtension(DialectRegistry &registry)
void registerConvertControlFlowToLLVMInterface(DialectRegistry &registry)
void registerTransformDialectExtension(DialectRegistry &registry)
void registerTransformDialectExtension(DialectRegistry &registry)
void registerAllExtensions(DialectRegistry &registry)
Register all extensions of the func dialect.
void registerTransformDialectExtension(DialectRegistry &registry)
void registerConvertGpuToLLVMInterface(DialectRegistry &registry)
Registers the ConvertToLLVMOpInterface interface on the gpu::GPUModuleOP operation.
void registerConvertIndexToLLVMInterface(DialectRegistry &registry)
void registerTransformDialectExtension(DialectRegistry &registry)
void registerTransformDialectExtension(DialectRegistry &registry)
void registerConvertMPIToLLVMInterface(DialectRegistry &registry)
void registerTransformDialectExtension(DialectRegistry &registry)
void registerConvertPtrToLLVMInterface(DialectRegistry &registry)
Register the convert to LLVM interface for the ptr dialect.
void registerTransformDialectExtension(DialectRegistry &registry)
void registerTransformDialectExtension(DialectRegistry &registry)
void registerTransformDialectExtension(DialectRegistry &registry)
void registerAllExtensions(DialectRegistry &registry)
Register all extensions of the Tensor dialect.
void registerSMTExtension(DialectRegistry &dialectRegistry)
Registers the SMT extension of the Transform dialect in the given registry.
void registerLoopExtension(DialectRegistry &dialectRegistry)
Registers the loop extension of the Transform dialect in the given registry.
void registerTuneExtension(DialectRegistry &dialectRegistry)
Registers the tune extension of the Transform dialect in the given registry.
void registerIRDLExtension(DialectRegistry &dialectRegistry)
Registers the IRDL extension of the Transform dialect in the given registry.
void registerDebugExtension(DialectRegistry &dialectRegistry)
Registers the debug extension of the Transform dialect in the given registry.
void registerPDLExtension(DialectRegistry &dialectRegistry)
Registers the PDL extension of the Transform dialect in the given registry.
void registerConvertUBToLLVMInterface(DialectRegistry &registry)
Definition UBToLLVM.cpp:121
void registerTransformDialectExtension(DialectRegistry &registry)
void registerConvertVectorToLLVMInterface(DialectRegistry &registry)
void registerTransformDialectExtension(DialectRegistry &registry)
void registerConvertMemRefToLLVMInterface(DialectRegistry &registry)
void registerConvertFuncToEmitCInterface(DialectRegistry &registry)
void registerConvertArithToEmitCInterface(DialectRegistry &registry)
void registerConvertFuncToLLVMInterface(DialectRegistry &registry)
void registerConvertComplexToLLVMInterface(DialectRegistry &registry)
void registerConvertOpenMPToLLVMInterface(DialectRegistry &registry)
Registers the ConvertToLLVMPatternInterface interface in the OpenMP dialect.
void registerConvertMemRefToEmitCInterface(DialectRegistry &registry)
void registerConvertAMXToLLVMInterface(DialectRegistry &registry)
Register LLVM conversion interface for AMX dialect.
void registerAllExtensions(DialectRegistry &registry)
This function may be called to register all MLIR dialect extensions with the provided registry.
void registerConvertMathToLLVMInterface(DialectRegistry &registry)
void registerConvertNVVMToLLVMInterface(DialectRegistry &registry)
void registerConvertXeVMToLLVMInterface(DialectRegistry &registry)
void registerConvertSCFToEmitCInterface(DialectRegistry &registry)