8 #ifndef MLIR_CONVERSION_AMDGPUTOROCDL_AMDGPUTOROCDL_H_
9 #define MLIR_CONVERSION_AMDGPUTOROCDL_AMDGPUTOROCDL_H_
17 class LLVMTypeConverter;
18 class RewritePatternSet;
22 #define GEN_PASS_DECL_CONVERTAMDGPUTOROCDLPASS
23 #include "mlir/Conversion/Passes.h.inc"
30 amdgpu::Chipset chipset);
37 TypeConverter &typeConverter);
Include the generated interface declarations.
void populateAMDGPUMemorySpaceAttributeConversions(TypeConverter &typeConverter)
Remap AMDGPU memory spaces to LLVM address spaces by mapping amdgpu::AddressSpace::fat_raw_buffer to ...
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,...