llvm-project/mlir/utils
Mahesh Ravishankar 1de519a753 Add support for (de)serialization of SPIR-V Op Decorations
All non-argument attributes specified for an operation are treated as
decorations on the result value and (de)serialized using OpDecorate
instruction. An error is generated if an attribute is not an argument,
and the name doesn't correspond to a Decoration enum. Name of the
attributes that represent decoerations are to be the snake-case-ified
version of the Decoration name.
Add utility methods to convert to snake-case and camel-case.

PiperOrigin-RevId: 260792638
2019-07-30 14:15:03 -07:00
..
emacs Update header notices. 2019-03-29 17:43:20 -07:00
spirv Add support for (de)serialization of SPIR-V Op Decorations 2019-07-30 14:15:03 -07:00
vim Update header notices. 2019-03-29 17:43:20 -07:00