llvm-project/mlir/test/SPIRV
Mahesh Ravishankar c6cfebf1af Automatically generate (de)serialization methods for SPIR-V ops
For ops in SPIR-V dialect that are a direct mirror of SPIR-V
operations, the serialization/deserialization methods can be
automatically generated from the Op specification. To enable this an
'autogenSerialization' field is added to SPV_Ops. When set to
non-zero, this will enable the automatic (de)serialization function
generation

Also adding tests that verify the spv.Load, spv.Store and spv.Variable
ops are serialized and deserialized correctly. To fully support these
tests also add serialization and deserialization of float types and
spv.ptr types

PiperOrigin-RevId: 258684764
2019-07-19 11:39:22 -07:00
..
Serialization Automatically generate (de)serialization methods for SPIR-V ops 2019-07-19 11:39:22 -07:00
ops.mlir [spirv] Various small code improvements 2019-07-12 17:42:57 -07:00
standard_ops_to_spirv.mlir [spirv] Add a skeleton to translate standard ops into SPIR-V dialect 2019-06-19 22:58:26 -07:00
structure-ops.mlir [spirv] NFC: Remove functions wrapping spv.module in tests 2019-07-08 12:39:35 -07:00
types.mlir NFC: Refactoring to remove code bloat in SPIRV due to handling of Enum 2019-07-03 18:18:01 -07:00