llvm-project/clang/lib/Driver
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
..
ToolChains [OPENMP][NVPTX]Improve emission of the globalized variables for 2018-11-02 14:54:07 +00:00
Action.cpp [modules] Driver support for precompiling a collection of files as a single 2018-09-15 01:21:16 +00:00
CMakeLists.txt NFC: Fix some darwin linker warnings introduced in r338385 2018-09-27 20:36:28 +00:00
Compilation.cpp Fix MSVC 2015 ambiguous symbol warning introduced by rL344337. NFCI. 2018-10-12 15:16:25 +00:00
Distro.cpp Lift VFS from clang to llvm (NFC) 2018-10-10 13:27:25 +00:00
Driver.cpp Revert "Reapply: [Driver] Use forward slashes in most linker arguments" 2018-10-26 08:33:29 +00:00
DriverOptions.cpp Revert "Revert r311552: [Bash-autocompletion] Add support for static analyzer flags" 2017-08-29 00:09:31 +00:00
InputInfo.h Add an Action* member to InputInfo. 2016-01-11 23:15:21 +00:00
Job.cpp Re-commit r344234 "clang-cl: Add /showFilenames option (PR31957)" 2018-10-13 19:13:14 +00:00
Multilib.cpp [Driver] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2018-03-20 21:08:59 +00:00
Phases.cpp
SanitizerArgs.cpp [MSan] add KMSAN support to Clang driver 2018-09-07 09:21:09 +00:00
Tool.cpp Rename the version of ConstructJob for multiple outputs to ConstructJobMultipleOutputs. 2016-11-03 15:41:50 +00:00
ToolChain.cpp Revert "Reapply: [Driver] Use forward slashes in most linker arguments" 2018-10-26 08:33:29 +00:00
Types.cpp [modules] Driver support for precompiling a collection of files as a single 2018-09-15 01:21:16 +00:00
XRayArgs.cpp llvm::sort(C.begin(), C.end(), ...) -> llvm::sort(C, ...) 2018-09-26 22:16:28 +00:00