diff options
author | Justin Bogner <mail@justinbogner.com> | 2024-08-15 00:24:55 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-15 00:24:55 +0300 |
commit | 28d577ecefa1557f5dea5566bf33b885c563d14b (patch) | |
tree | 6a2535d58bebcb32d70c0fc205006a8d031f03a0 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp | |
parent | 1ca9fe6db3345556c5c6853b3aba8ff209e572df (diff) | |
download | llvm-28d577ecefa1557f5dea5566bf33b885c563d14b.zip llvm-28d577ecefa1557f5dea5566bf33b885c563d14b.tar.gz llvm-28d577ecefa1557f5dea5566bf33b885c563d14b.tar.bz2 |
[DXIL][Analysis] Implement enough of DXILResourceAnalysis for buffers
This implements the DXILResourceAnalysis pass for `dx.TypedBuffer` and
`dx.RawBuffer` types. This should be sufficient to lower
`dx.handle.fromBinding` for this set of types, but it leaves a number
of TODOs around for other resource types.
This also includes a straightforward `print` method in `ResourceInfo`
to make the analysis testable. This is deliberately different than the
printer in `lib/Target/DirectX/DXILResource.cpp`, which attempts to
print bindings in a format compatible with the comments `dxc` prints.
We will eventually want to make that functionality driven by this
analysis pass, but it isn't sufficient for testing so we need both.
Pull Request: https://github.com/llvm/llvm-project/pull/100699
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions