MLIR 22.0.0git
GPUToNVVMPass.h File Reference
#include "mlir/Conversion/LLVMCommon/LoweringOptions.h"
#include "mlir/Dialect/LLVMIR/LLVMTypes.h"
#include "mlir/IR/PatternMatch.h"
#include <memory>
#include "mlir/Conversion/Passes.h.inc"

Go to the source code of this file.

Classes

struct  mlir::ConvertGpuOpsToNVVMOpsOptions

Namespaces

namespace  mlir
 Include the generated interface declarations.
namespace  mlir::gpu

Macros

#define GEN_PASS_DECL_CONVERTGPUOPSTONVVMOPS

Functions

std::unique_ptr<::mlir::Passmlir::createConvertGpuOpsToNVVMOps ()
std::unique_ptr<::mlir::Passmlir::createConvertGpuOpsToNVVMOps (ConvertGpuOpsToNVVMOpsOptions options)
LLVM::LLVMStructType mlir::convertMMAToLLVMType (gpu::MMAMatrixType type)
 Return the LLVMStructureType corresponding to the MMAMatrixType type.
void mlir::configureGpuToNVVMConversionLegality (ConversionTarget &target)
 Configure target to convert from the GPU dialect to NVVM.
void mlir::configureGpuToNVVMTypeConverter (LLVMTypeConverter &converter)
 Configure the LLVM type convert to convert types and address spaces from the GPU dialect to NVVM.
void mlir::populateLibDeviceConversionPatterns (const LLVMTypeConverter &converter, RewritePatternSet &patterns, PatternBenefit benefit=1)
 Populate patterns that lower certain arith and math dialect ops to libdevice calls.
void mlir::populateGpuToNVVMConversionPatterns (const LLVMTypeConverter &converter, RewritePatternSet &patterns, PatternBenefit benefit=1)
 Collect a set of patterns to convert from the GPU dialect to NVVM.
void mlir::populateGpuSubgroupReduceOpLoweringPattern (const LLVMTypeConverter &converter, RewritePatternSet &patterns, PatternBenefit benefit=1)
 Populate GpuSubgroupReduce pattern to NVVM.
void mlir::populateGpuWMMAToNVVMConversionPatterns (const LLVMTypeConverter &converter, RewritePatternSet &patterns, PatternBenefit benefit=1)
 Collect a set of patterns to convert WMMA ops from GPU dialect to NVVM.

Macro Definition Documentation

◆ GEN_PASS_DECL_CONVERTGPUOPSTONVVMOPS

#define GEN_PASS_DECL_CONVERTGPUOPSTONVVMOPS

Definition at line 27 of file GPUToNVVMPass.h.