commit | 776cddacb1ab8fd92bcb3aa42f9c0b348d8aa2ba | [log] [tgz] |
---|---|---|
author | Helena Kotas <hekotas@microsoft.com> | Thu Feb 20 17:27:53 2025 -0800 |
committer | GitHub <noreply@github.com> | Thu Feb 20 17:27:53 2025 -0800 |
tree | 48c9953fed0269349e213deefa1171de7af3d292 | |
parent | 9fa77c18548a4878cf53a5195f69d15a2d1d567f [diff] |
[HLSL] Implement default constant buffer `$Globals` (#125807) All variable declarations in the global scope that are not resources, static or empty are implicitly added to implicit constant buffer `$Globals`. They are created in `hlsl_constant` address space and collected in an implicit `HLSLBufferDecl` node that is added to the AST at the end of the translation unit. Codegen is the same as for explicit constant buffers. Fixes #123801
Welcome to the LLVM project!
This repository contains the source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments.
The LLVM project has multiple components. The core of the project is itself called “LLVM”. This contains all of the tools, libraries, and header files needed to process intermediate representations and convert them into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer.
C-like languages use the Clang frontend. This component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode -- and from there into object files, using LLVM.
Other components include: the libc++ C++ standard library, the LLD linker, and more.
Consult the Getting Started with LLVM page for information on building and running LLVM.
For information on how to contribute to the LLVM project, please take a look at the Contributing to LLVM guide.
Join the LLVM Discourse forums, Discord chat, LLVM Office Hours or Regular sync-ups.
The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.