llvm-project/mlir/lib/Dialect/SPIRV/Transforms
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
..
CMakeLists.txt [mlir][spirv] Add RewriteInserts pass. 2020-06-26 09:57:20 -04:00
DecorateSPIRVCompositeTypeLayoutPass.cpp [mlir][spirv] Improve stride support in array types 2020-04-13 14:08:17 -04:00
LowerABIAttributesPass.cpp [mlir][spirv] Add correct handling of Kernel and Addresses capabilities 2020-08-07 12:29:21 -07:00
PassDetail.h [mlir][Pass] Update the PassGen to generate base classes instead of utilities 2020-04-07 14:08:52 -07:00
RewriteInsertsPass.cpp [mlir][spirv] Add RewriteInserts pass. 2020-06-26 09:57:20 -04:00
UpdateVCEPass.cpp [mlir][NFC] Remove usernames and google bug numbers from TODO comments. 2020-07-07 01:40:52 -07:00