[PATCH] D143518: [DirectX backend] add pass to collect Resource information from dxil metadata.

Xiang Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 7 10:12:05 PST 2023


python3kgae created this revision.
python3kgae added reviewers: bob80905, beanz, pow2clk, bogner.
Herald added a subscriber: hiraditya.
Herald added a project: All.
python3kgae requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This is for container builder which need resource information after dxil metadata generation.

New analysis pass DXILMetadataResourceAnalysis is added to collect the information.
New constructor for dxil::ResourceBase/UAV/ConstantBuffer is added to build from dxil metadata.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D143518

Files:
  llvm/lib/Target/DirectX/CMakeLists.txt
  llvm/lib/Target/DirectX/DXILMetadataResourceAnalysis.cpp
  llvm/lib/Target/DirectX/DXILMetadataResourceAnalysis.h
  llvm/lib/Target/DirectX/DXILResource.cpp
  llvm/lib/Target/DirectX/DXILResource.h
  llvm/lib/Target/DirectX/DirectX.h
  llvm/lib/Target/DirectX/DirectXTargetMachine.cpp
  llvm/test/CodeGen/DirectX/UAVMetadata.ll
  llvm/test/CodeGen/DirectX/cbuf.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143518.495585.patch
Type: text/x-patch
Size: 14462 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230207/b137ea79/attachment.bin>


More information about the llvm-commits mailing list