llvm-project/mlir/lib/Conversion
Konrad Dobros 9414a71aaa [mlir][spirv] Add correct handling of Kernel and Addresses capabilities
This change adds initial support needed to generate OpenCL compliant SPIRV.
If Kernel capability is declared then memory model becomes OpenCL.
If Addresses capability is declared then addressing model becomes Physical64.
Additionally for Kernel capability interface variable ABI attributes are not
generated as entry point function is expected to have normal arguments.

Differential Revision: https://reviews.llvm.org/D85196
2020-08-07 12:29:21 -07:00
..
AVX512ToLLVM [mlir][NFC] Remove usernames and google bug numbers from TODO comments. 2020-07-07 01:40:52 -07:00
AffineToStandard [mlir][AffineToStandard] Make LowerAffine pass Op-agnostic. 2020-07-27 12:14:17 -07:00
GPUCommon [mlir] take LLVMContext in MLIR-to-LLVM-IR translation 2020-08-07 14:22:30 +02:00
GPUToNVVM [mlir] take MLIRContext instead of LLVMDialect in getters of LLVMType's 2020-08-06 11:05:40 +02:00
GPUToROCDL [mlir][NFC] Remove usernames and google bug numbers from TODO comments. 2020-07-07 01:40:52 -07:00
GPUToSPIRV [mlir][spirv] Add correct handling of Kernel and Addresses capabilities 2020-08-07 12:29:21 -07:00
GPUToVulkan [mlir] take MLIRContext instead of LLVMDialect in getters of LLVMType's 2020-08-06 11:05:40 +02:00
LinalgToLLVM [mlir][NFC] Remove usernames and google bug numbers from TODO comments. 2020-07-07 01:40:52 -07:00
LinalgToSPIRV [mlir][NFC] Remove usernames and google bug numbers from TODO comments. 2020-07-07 01:40:52 -07:00
LinalgToStandard [mlir][Linalg] Conv ops lowering to std calls added. 2020-08-04 07:12:58 +00:00
SCFToGPU [MLIR] Add argument related API to Region 2020-07-14 09:28:29 -07:00
SCFToSPIRV [mlir][spirv] Add support for lowering scf.for scf/if with return value 2020-07-01 17:08:08 -07:00
SCFToStandard [mlir] SCFToStandard: support any ops in and around the control flow ops 2020-05-20 16:12:05 +02:00
SPIRVToLLVM [mlir] take MLIRContext instead of LLVMDialect in getters of LLVMType's 2020-08-06 11:05:40 +02:00
ShapeToSCF [MLIR][Shape] Lower `shape.broadcast` to `scf` 2020-08-03 08:20:14 +00:00
ShapeToStandard [MLIR][Shape] Limit `shape.rank` lowering to its extent tensor variant 2020-07-30 11:43:08 +00:00
StandardToLLVM [mlir] Remove llvm::LLVMContext and llvm::Module from mlir::LLVMDialectImpl 2020-08-07 14:30:31 +02:00
StandardToSPIRV [mlir][StandardToSPIRV] Use spv.UMod for index re-calculation 2020-08-05 14:52:04 -04:00
VectorToLLVM [mlir] [VectorOps] Improve lowering of extract_strided_slice (and friends like shape_cast) 2020-08-07 09:21:05 -07:00
VectorToROCDL [mlir] Remove most uses of LLVMDialect::getModule 2020-08-06 10:54:30 +02:00
VectorToSCF [mlir][Vector] NFC - Improve VectorInterfaces 2020-07-20 08:24:22 -04:00
CMakeLists.txt [mlir][NFC] Move conversion of scf to spir-v ops in their own file 2020-07-01 17:06:50 -07:00
PassDetail.h [mlir][Pass] Update the PassGen to generate base classes instead of utilities 2020-04-07 14:08:52 -07:00