diff options
author | Steven Perron <stevenperron@google.com> | 2025-10-02 13:47:28 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-02 17:47:28 +0000 |
commit | 67c000efb7bb7858f9fb6e577f2c9d1f24291ba0 (patch) | |
tree | c94addb35d7c1029266974727e474b5bdfccff11 /llvm/lib/CodeGen/StackFrameLayoutAnalysisPass.cpp | |
parent | 0b7129afccc8e79fb88bb686466211f3bcad142e (diff) | |
download | llvm-67c000efb7bb7858f9fb6e577f2c9d1f24291ba0.zip llvm-67c000efb7bb7858f9fb6e577f2c9d1f24291ba0.tar.gz llvm-67c000efb7bb7858f9fb6e577f2c9d1f24291ba0.tar.bz2 |
[HLSL] [SPIR-V] Add counter member for typed buffer (#161414)
This is part 1 of implementing the typed buffer counters proposal:
https://github.com/llvm/wg-hlsl/blob/main/proposals/0023-typed-buffer-counters.md
This patch adds the initial plumbing for supporting counter variables
associated with structured buffers for the SPIR-V backend. It introduces
an `IsCounter` attribute to `HLSLAttributedResourceType` and threads it
through the AST, type printing, and mangling. It also adds a
`__counter_handle` member to the relevant buffer types in
`HLSLBuiltinTypeDeclBuilder`.
Contributes to https://github.com/llvm/llvm-project/issues/137032
Diffstat (limited to 'llvm/lib/CodeGen/StackFrameLayoutAnalysisPass.cpp')
0 files changed, 0 insertions, 0 deletions