diff options
author | Justin Bogner <mail@justinbogner.com> | 2024-07-16 10:51:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-16 10:51:00 -0700 |
commit | 48f55ba9d8e51cf976a8789521dd0763dea1e2d1 (patch) | |
tree | c5ace1a52e3a4312d5db40df25358fa72e099669 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 656f617ac772c54e0bee9d499e7ca232137ddb35 (diff) | |
download | llvm-48f55ba9d8e51cf976a8789521dd0763dea1e2d1.zip llvm-48f55ba9d8e51cf976a8789521dd0763dea1e2d1.tar.gz llvm-48f55ba9d8e51cf976a8789521dd0763dea1e2d1.tar.bz2 |
[Transforms][DXIL] Tool to generate resource metadata and annotations (#98939)
This introduces dxil::ResourceInfo, which can generate DXIL-style
metadata for resources and the constants for the DXIL 6.6+
annotateResource operation. These are done together so that it's easier
to see all of the information the ResourceInfo class needs to store.
This will be used for lowering resource in the DirectX backend and is
intended to help with the translation in the other direction as well. To
do that, we'll need the inverse functions of `getAsMetadata` and
`getAnnotateProps`.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions