llvm-project/clang
Giorgis Georgakoudis 7539e9cf81 [OpenMP] Codegen aggregate for outlined function captures
Parallel regions are outlined as functions with capture variables explicitly generated as distinct parameters in the function's argument list. That complicates the fork_call interface in the OpenMP runtime: (1) the fork_call is variadic since there is a variable number of arguments to forward to the outlined function, (2) wrapping/unwrapping arguments happens in the OpenMP runtime, which is sub-optimal, has been a source of ABI bugs, and has a hardcoded limit (16) in the number of arguments, (3)  forwarded arguments must cast to pointer types, which complicates debugging. This patch avoids those issues by aggregating captured arguments in a struct to pass to the fork_call.

Reviewed By: jdoerfert, jhuber6, ABataev

Differential Revision: https://reviews.llvm.org/D102107
2022-09-15 00:54:05 +00:00
..
bindings Fixed a number of typos 2022-08-01 13:13:18 -04:00
cmake [CMake] Avoid `LLVM_BINARY_DIR` when other more specific variable are better-suited, part 2 2022-09-14 15:48:58 -04:00
docs [HLSL] Call global destructors from entries 2022-09-13 15:05:47 -05:00
examples
include [RISCV] Update error message to not call 'RV32' and 'RV64' an extension. 2022-09-14 14:51:37 -07:00
lib [OpenMP] Codegen aggregate for outlined function captures 2022-09-15 00:54:05 +00:00
runtime Revert "[cmake] Use `CMAKE_INSTALL_LIBDIR` too" 2022-08-18 22:46:32 -04:00
test [OpenMP] Codegen aggregate for outlined function captures 2022-09-15 00:54:05 +00:00
tools [cc1as] Support --compress-debug-sections=zstd 2022-09-08 16:31:45 -07:00
unittests [Lex/DependencyDirectivesScanner] Handle the case where the source line starts with a `tok::hashhash` 2022-09-13 15:48:50 -07:00
utils [clang][Interp] Implement function calls 2022-09-08 07:31:07 +02:00
www Update the C Status page for the Clang 15 release 2022-09-13 09:36:54 -04:00
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt [cmake] do not set execution permission to regular files. 2022-09-07 11:04:12 +08:00
CodeOwners.rst Update the clang and clang-tools-extra code owners files 2022-09-06 08:28:03 -04:00
INSTALL.txt
LICENSE.TXT
ModuleInfo.txt
NOTES.txt
README.txt

README.txt

//===----------------------------------------------------------------------===//
// C Language Family Front-end
//===----------------------------------------------------------------------===//

Welcome to Clang.  This is a compiler front-end for the C family of languages
(C, C++, Objective-C, and Objective-C++) which is built as part of the LLVM
compiler infrastructure project.

Unlike many other compiler frontends, Clang is useful for a number of things
beyond just compiling code: we intend for Clang to be host to a number of
different source-level tools.  One example of this is the Clang Static Analyzer.

If you're interested in more (including how to build Clang) it is best to read
the relevant web sites.  Here are some pointers:

Information on Clang:             http://clang.llvm.org/
Building and using Clang:         http://clang.llvm.org/get_started.html
Clang Static Analyzer:            http://clang-analyzer.llvm.org/
Information on the LLVM project:  http://llvm.org/

If you have questions or comments about Clang, a great place to discuss them is
on the Clang forums:
  https://discourse.llvm.org/c/clang/

If you find a bug in Clang, please file it in the LLVM bug tracker:
  http://llvm.org/bugs/