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 /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface/ScriptedPlatformPythonInterface.cpp | |
| parent | 1ca9fe6db3345556c5c6853b3aba8ff209e572df (diff) | |
[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 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPlatformPythonInterface/ScriptedPlatformPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions
