aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackFrameLayoutAnalysisPass.cpp
diff options
context:
space:
mode:
authorSteven Perron <stevenperron@google.com>2025-10-02 13:47:28 -0400
committerGitHub <noreply@github.com>2025-10-02 17:47:28 +0000
commit67c000efb7bb7858f9fb6e577f2c9d1f24291ba0 (patch)
treec94addb35d7c1029266974727e474b5bdfccff11 /llvm/lib/CodeGen/StackFrameLayoutAnalysisPass.cpp
parent0b7129afccc8e79fb88bb686466211f3bcad142e (diff)
downloadllvm-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