OSDN Git Service

[mlir][spirv] NFC: split deserialization into multiple source files
authorLei Zhang <antiagainst@google.com>
Tue, 12 Jan 2021 16:11:45 +0000 (11:11 -0500)
committerLei Zhang <antiagainst@google.com>
Tue, 12 Jan 2021 16:21:03 +0000 (11:21 -0500)
commit8349fa0fdd3a372f88ea53de6c906d987c1f4fec
tree39527e5707893fa691cadf136b401a8390d732bf
parent1f1250151f222ba391d05dcc173f4b6c65d05ca2
[mlir][spirv] NFC: split deserialization into multiple source files

This avoids large source files and gives a better structure. It also
allows leveraging compilation parallelism.

Reviewed By: mravishankar

Differential Revision: https://reviews.llvm.org/D94360
mlir/lib/Target/CMakeLists.txt
mlir/lib/Target/SPIRV/CMakeLists.txt [new file with mode: 0644]
mlir/lib/Target/SPIRV/Deserialization/CMakeLists.txt [new file with mode: 0644]
mlir/lib/Target/SPIRV/Deserialization/Deserialization.cpp [new file with mode: 0644]
mlir/lib/Target/SPIRV/Deserialization/DeserializeOps.cpp [new file with mode: 0644]
mlir/lib/Target/SPIRV/Deserialization/Deserializer.cpp [moved from mlir/lib/Target/SPIRV/Deserialization.cpp with 58% similarity]
mlir/lib/Target/SPIRV/Deserialization/Deserializer.h [new file with mode: 0644]
mlir/lib/Target/SPIRV/Serialization/CMakeLists.txt [new file with mode: 0644]
mlir/lib/Target/SPIRV/Serialization/Serialization.cpp [moved from mlir/lib/Target/SPIRV/Serialization.cpp with 100% similarity]
mlir/tools/mlir-tblgen/SPIRVUtilsGen.cpp