llvm-project/mlir/tools
Lei Zhang 8f77d2afed [spirv] Basic serializer and deserializer
This CL adds the basic SPIR-V serializer and deserializer for converting
SPIR-V module into the binary format and back. Right now only an empty
module with addressing model and memory model is supported; (de)serialize
other components will be added gradually with subsequent CLs.

The purpose of this library is to enable importing SPIR-V binary modules
to run transformations on them and exporting SPIR-V modules to be consumed
by execution environments. The focus is transformations, which inevitably
means changes to the binary module; so it is not designed to be a general
tool for investigating the SPIR-V binary module and does not guarantee
roundtrip equivalence (at least for now).

PiperOrigin-RevId: 254473019
2019-06-22 09:17:21 -07:00
..
mlir-cpu-runner Start moving conversions to {lib,include/mlir}/Conversion 2019-06-19 23:02:50 -07:00
mlir-opt Rename -verify mlir-opt flag to -verify-expected-diagnostics 2019-06-19 23:08:03 -07:00
mlir-tblgen [spirv] Basic serializer and deserializer 2019-06-22 09:17:21 -07:00
mlir-translate [spirv] Basic serializer and deserializer 2019-06-22 09:17:21 -07:00
CMakeLists.txt Add build files and update README. 2019-03-30 11:23:22 -07:00