diff options
author | Helena Kotas <hekotas@microsoft.com> | 2025-01-24 10:24:09 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-24 10:24:09 -0800 |
commit | 825e712959d48f14b47e579871bcf9b5e25fff7a (patch) | |
tree | e5b4ed444783a69299e4558cdc2943a106654864 /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp | |
parent | e4009ed3d68ba8d9e78721ce5afc2b3a7edd6f36 (diff) | |
download | llvm-825e712959d48f14b47e579871bcf9b5e25fff7a.zip llvm-825e712959d48f14b47e579871bcf9b5e25fff7a.tar.gz llvm-825e712959d48f14b47e579871bcf9b5e25fff7a.tar.bz2 |
[HLSL] cbuffer: create host layout structs (#122820)
Creates layout struct for `cbuffer` in Sema which will contains only
declarations contributing to the constant buffer layout. Anything else
will be filtered out, such as static variables decls, struct and
function definitions, resources, or empty struct and zero-sized arrays.
If the constant buffer includes a struct that contains any of the above
undesirable declarations, a new version of this struct should be created
with these declarations filtered out as well.
The definition of buffer layout struct will be added to the
HLSLBufferDecl AST node as the last node. Any layout structs for
embedded structures will be added there as well.
Fixes #122553
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions