9 #ifndef MLIR_CONVERSION_GPUTOLLVMSPV_GPUTOLLVMSPVPASS_H_
10 #define MLIR_CONVERSION_GPUTOLLVMSPV_GPUTOLLVMSPVPASS_H_
15 class DialectRegistry;
16 class LLVMTypeConverter;
17 class RewritePatternSet;
21 #define GEN_PASS_DECL_CONVERTGPUOPSTOLLVMSPVOPS
22 #include "mlir/Conversion/Passes.h.inc"
25 RewritePatternSet &patterns);
Include the generated interface declarations.
void populateGpuToLLVMSPVConversionPatterns(const LLVMTypeConverter &converter, RewritePatternSet &patterns)
void populateGpuMemorySpaceAttributeConversions(TypeConverter &typeConverter, const MemorySpaceMapping &mapping)
Populates memory space attribute conversion rules for lowering gpu.address_space to integer values.