MLIR 22.0.0git
AMDGPUToROCDL.h File Reference
#include "mlir/Dialect/AMDGPU/Utils/Chipset.h"
#include <memory>
#include <string>
#include "mlir/Conversion/Passes.h.inc"

Go to the source code of this file.

Classes

struct  mlir::ConvertAMDGPUToROCDLPassOptions

Namespaces

namespace  mlir
 Include the generated interface declarations.

Macros

#define GEN_PASS_DECL_CONVERTAMDGPUTOROCDLPASS

Functions

std::unique_ptr<::mlir::Passmlir::createConvertAMDGPUToROCDLPass ()
std::unique_ptr<::mlir::Passmlir::createConvertAMDGPUToROCDLPass (ConvertAMDGPUToROCDLPassOptions options)
void mlir::populateAMDGPUToROCDLConversionPatterns (LLVMTypeConverter &converter, RewritePatternSet &patterns, amdgpu::Chipset chipset)
 Note: This function will also add conversions for the AMDGPU-specific address spaces, but those can be added separately using populateAMDGPUMemorySpaceAttributeConversions().
void mlir::populateAMDGPUMemorySpaceAttributeConversions (TypeConverter &typeConverter)
 Remap AMDGPU memory spaces to LLVM address spaces by mapping amdgpu::AddressSpace::fat_raw_buffer to ptr addrspace(7), amdgpu::AddressSpace::buffer_rsrc to ptr addrspace(8), and amdgpu::AddressSpace::fat_strided_buffer to ptr addrspace(9).

Macro Definition Documentation

◆ GEN_PASS_DECL_CONVERTAMDGPUTOROCDLPASS

#define GEN_PASS_DECL_CONVERTAMDGPUTOROCDLPASS

Definition at line 22 of file AMDGPUToROCDL.h.