Go to file
Alexey Bataev e40901806f [OPENMP][NVPTX]Improve emission of the globalized variables for
target/teams/distribute regions.

Target/teams/distribute regions exist for all the time the kernel is
executed. Thus, if the variable is declared in their context and then
escape it, we can allocate global memory statically instead of
allocating it dynamically.
Patch captures all the globalized variables in target/teams/distribute
contexts, merges them into the records, one per each target region.
Those records are then joined into the union, one per compilation unit
(to save the global memory). Those units are organized into
2 x dimensional arrays, where the first dimension is
the number of blocks per SM and the second one is the number of SMs.
Runtime functions manage this global memory space between the executing
teams.

llvm-svn: 345978
2018-11-02 14:54:07 +00:00
clang [OPENMP][NVPTX]Improve emission of the globalized variables for 2018-11-02 14:54:07 +00:00
clang-tools-extra [clangd] Add fallbackFlags initialization extension. 2018-11-02 14:07:51 +00:00
compiler-rt [XRay] Update delta computations in runtime 2018-11-02 08:07:38 +00:00
debuginfo-tests Revert "(Retry) Add a basic integration test for C++ smart pointers" 2018-08-20 19:53:33 +00:00
libclc configure: Rework support for gfx9+ devices that were added post LLVM 3.9 2018-09-15 22:02:01 +00:00
libcxx Fix test assumption that Linux implies glibc. 2018-11-01 22:35:51 +00:00
libcxxabi Use C++11 fallthrough attribute syntax when available and add a break 2018-11-01 18:24:03 +00:00
libunwind [CMake] Link to compiler-rt if LIBUNWIND_USE_COMPILER_RT is ON. 2018-10-08 18:35:00 +00:00
lld Change the timestamp of llvmcache-foo file to meet the thinLTO prune policy 2018-11-02 14:52:10 +00:00
lldb [NativePDB] Make tests work on x86 too 2018-11-02 14:15:29 +00:00
llgo Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
llvm [Hexagon] Do not reduce load size for globals in small-data 2018-11-02 14:17:47 +00:00
openmp [OPENMP][NVPTX]Fixed/improved support for globalization in team contexts. 2018-11-02 14:43:23 +00:00
parallel-libs Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
polly Fix clang -Wimplicit-fallthrough warnings across llvm, NFC 2018-11-01 19:54:45 +00:00
README.md Update the project name in README.md 2018-10-19 00:03:01 +00:00

README.md

The LLVM Compiler Infrastructure

This directory and its subdirectories contain source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and runtime environments.