MLIR  20.0.0git
Classes | Namespaces | Functions
SPIRVToLLVM.h File Reference
#include "mlir/Transforms/DialectConversion.h"
#include "mlir/Dialect/SPIRV/IR/SPIRVEnums.h"

Go to the source code of this file.

Classes

class  mlir::SPIRVToLLVMConversion< SPIRVOp >
 

Namespaces

 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. More...
 
void mlir::populateSPIRVToLLVMTypeConversion (LLVMTypeConverter &typeConverter, spirv::ClientAPI clientAPIForAddressSpaceMapping=spirv::ClientAPI::Unknown)
 Populates type conversions with additional SPIR-V types. More...
 
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. More...
 
void mlir::populateSPIRVToLLVMFunctionConversionPatterns (const LLVMTypeConverter &typeConverter, RewritePatternSet &patterns)
 Populates the given list with patterns for function conversion from SPIR-V to LLVM. More...
 
void mlir::populateSPIRVToLLVMModuleConversionPatterns (const LLVMTypeConverter &typeConverter, RewritePatternSet &patterns)
 Populates the given patterns for module conversion from SPIR-V to LLVM. More...