MLIR 22.0.0git
SPIRVToLLVM.h File Reference

Go to the source code of this file.

Classes

class  mlir::SPIRVToLLVMConversion< SPIRVOp >

Namespaces

namespace  mlir
 Include the generated interface declarations.

Functions

void mlir::encodeBindAttribute (ModuleOp module)
 Encodes global variable's descriptor set and binding into its name if they both exist.
void mlir::populateSPIRVToLLVMTypeConversion (LLVMTypeConverter &typeConverter, spirv::ClientAPI clientAPIForAddressSpaceMapping=spirv::ClientAPI::Unknown)
 Populates type conversions with additional SPIR-V types.
void mlir::populateSPIRVToLLVMConversionPatterns (const LLVMTypeConverter &typeConverter, RewritePatternSet &patterns, spirv::ClientAPI clientAPIForAddressSpaceMapping=spirv::ClientAPI::Unknown)
 Populates the given list with patterns that convert from SPIR-V to LLVM.
void mlir::populateSPIRVToLLVMFunctionConversionPatterns (const LLVMTypeConverter &typeConverter, RewritePatternSet &patterns)
 Populates the given list with patterns for function conversion from SPIR-V to LLVM.
void mlir::populateSPIRVToLLVMModuleConversionPatterns (const LLVMTypeConverter &typeConverter, RewritePatternSet &patterns)
 Populates the given patterns for module conversion from SPIR-V to LLVM.