8#ifndef MLIR_CONVERSION_AMDGPUTOROCDL_AMDGPUTOROCDL_H_
9#define MLIR_CONVERSION_AMDGPUTOROCDL_AMDGPUTOROCDL_H_
22#define GEN_PASS_DECL_CONVERTAMDGPUTOROCDLPASS
23#include "mlir/Conversion/Passes.h.inc"
30 amdgpu::Chipset chipset);
Conversion from types to the LLVM IR dialect.
The abstract base pass class.
void populateCommonGPUTypeAndAttributeConversions(TypeConverter &typeConverter)
Remap common GPU memory spaces (Workgroup, Private, etc) to LLVM address spaces.
Include the generated interface declarations.
const FrozenRewritePatternSet & patterns
void populateAMDGPUToROCDLConversionPatterns(LLVMTypeConverter &converter, RewritePatternSet &patterns, amdgpu::Chipset chipset)
Note: This function will also add conversions for the AMDGPU-specific address spaces and types,...
void populateAMDGPUTypeAndAttributeConversions(TypeConverter &typeConverter)
Remap AMDGPU memory spaces to LLVM address spaces by mapping amdgpu::AddressSpace::fat_raw_buffer to ...