[PATCH] D126795: [DX][ObjYAML] Support for parsing DXIL part

Chris Bieneman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 1 10:24:47 PDT 2022


beanz created this revision.
beanz added reviewers: lhames, MaskRay, kuhar.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
beanz requested review of this revision.
Herald added a project: LLVM.

This patch adds support for parsing the DXIL part data into the
ObjectYAML tooling.

The DXIL part has additional headers describing the shader and bitcode
data and stores serialized bitcode after the headers.

Depends on D124945 <https://reviews.llvm.org/D124945>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D126795

Files:
  llvm/include/llvm/BinaryFormat/DXContainer.h
  llvm/include/llvm/Object/DXContainer.h
  llvm/include/llvm/ObjectYAML/DXContainerYAML.h
  llvm/lib/Object/DXContainer.cpp
  llvm/lib/ObjectYAML/DXContainerEmitter.cpp
  llvm/lib/ObjectYAML/DXContainerYAML.cpp
  llvm/test/tools/obj2yaml/DXContainer/DXILPart.yaml
  llvm/tools/obj2yaml/dxcontainer2yaml.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126795.433449.patch
Type: text/x-patch
Size: 25304 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220601/bca5c38d/attachment.bin>


More information about the llvm-commits mailing list