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.
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,...