summaryrefslogtreecommitdiff
path: root/mlir/lib/Target/SPIRV/Serialization/Serialization.cpp
AgeCommit message (Collapse)Author
2025-07-05[mlir] Remove unused includes (NFC) (#147158)Kazu Hirata
These are identified by misc-include-cleaner. I've filtered out those that break builds. Also, I'm staying away from llvm-config.h, config.h, and Compiler.h, which likely cause platform- or compiler-specific build failures.
2022-09-24[mlir][spirv] Switch to kEmitAccessorPrefix_PredixedJakub Kuderski
Fixes https://github.com/llvm/llvm-project/issues/57887 Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D134580
2022-06-20[mlir] Don't use Optional::hasValue (NFC)Kazu Hirata
2021-12-10[mlir][spirv] Add serialization control to emit symbol nameLei Zhang
In SPIR-V, symbol names are encoded as `OpName` instructions. They are not semantic impacting and can be omitted, which can reduce the binary size. Reviewed By: scotttodd Differential Revision: https://reviews.llvm.org/D115531
2021-02-08[MLIR][SPIRV] NFC: Split serialization code among multiple files.KareemErgawy-TomTom
Following up on https://reviews.llvm.org/D94360, this patch splits the serialization code into multiple source files to provide a better structure and allow parallel compilation. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D95855
2021-02-04[mlir] Mark LogicalResult as LLVM_NODISCARDRiver Riddle
This makes ignoring a result explicit by the user, and helps to prevent accidental errors with dropped results. Marking LogicalResult as no discard was always the intention from the beginning, but got lost along the way. Differential Revision: https://reviews.llvm.org/D95841
2021-02-01[mlir][spirv] Add support for OpImageTypeWeiwei Li
Support OpImageType in SPIRV Dialect. This change doesn't support operand AccessQualifier since it is optinal and only enables under Kernel capability. co-authored-by: Alan Liu <alanliu.yf@gmail.com> Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D95580
2021-02-01Revert "[mlir][spirv] Add support for OpImageType"Lei Zhang
This reverts commit 21f1462106b9ee1e646bf409c85528828320b34e.
2021-02-01[mlir][spirv] Add support for OpImageTypeLei Zhang
Support OpImageType in SPIRV Dialect. This change doesn't support operand AccessQualifier since it is optinal and only enables under Kernel capability. co-authored-by: Alan Liu <alanliu.yf@gmail.com> Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D95580
2021-01-21[mlir][SPIRV] Rename OpSpecConstantOperation -> OpSpecConstantOpMaheshRavishankar
The SPIR-V spec uses OpSpecConstantOp. Using an inconsistent name makes the dialect generation scripts fail. Update to use the right operation name, and fix the auto generation scripts as well. Differential Revision: https://reviews.llvm.org/D95097
2021-01-12[mlir][spirv] NFC: split deserialization into multiple source filesLei Zhang
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