hanchenye-llvm-project/clang/test
Alexey Bataev 3854f63aaf [OPENMP] Codegen for 'firstprivate' clause.
This patch generates some helper variables that used as private copies of the corresponding original variables inside an OpenMP 'parallel' directive. These generated variables are initialized by copy using values of the original variables (with the copy constructor, if any). For arrays, initializator is generated for single element and in the codegen procedure this initial value is automatically propagated between all elements of the private copy.
In outlined function, references to original variables are replaced by the references to these private helper variables. At the end of the initialization of the private variables an implicit barier is generated by calling __kmpc_barrier(...) runtime function to be sure that all threads were initialized using original values of the variables.
Differential Revision: http://reviews.llvm.org/D5140

llvm-svn: 219297
2014-10-08 11:35:04 +00:00
..
ARCMT Objective-C SDK modernization. When modernizing to 2014-10-07 19:01:46 +00:00
ASTMerge
Analysis [analyzer] Make CStringChecker correctly calculate return value of mempcpy 2014-10-03 21:48:54 +00:00
CXX PR21180: Lambda closure types are neither aggregates nor literal types. 2014-10-07 18:01:33 +00:00
CodeCompletion
CodeGen Emit @llvm.assume for non-parameter lvalue align_value-attribute loads 2014-10-04 15:26:49 +00:00
CodeGenCUDA Move all CUDA testing inputs to Inputs/ subdirectory inside the tests. 2014-04-28 22:21:28 +00:00
CodeGenCXX Fix test case in no asserts build 2014-10-08 01:13:51 +00:00
CodeGenObjC Revert "Revert "DI: LLVM schema change: fold constants into string"" 2014-10-03 20:01:52 +00:00
CodeGenObjCXX Fix an assertion failure trying to emit a trivial destructor in ObjC++ 2014-09-26 15:27:29 +00:00
CodeGenOpenCL Driver: Implement -cl-denorms-are-zero 2014-08-21 13:58:36 +00:00
Coverage Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
CoverageMapping InstrProf: Avoid repeated linear searches in a hot path 2014-10-01 03:33:52 +00:00
Driver Emit diagnostic for -munaligned-access on v6m 2014-10-07 15:11:32 +00:00
FixIt Revert r218925 - "Patch to warn if 'override' is missing" 2014-10-03 09:02:53 +00:00
Format Revert "clang/test/Driver/crash-report.c: This requires rewriter for -frewrite-includes. [PR20321]" 2014-07-16 15:12:48 +00:00
Frontend This test was updated in r216397, but was failing on Windows due to mixed path separators as well as case sensitivity of the "no" in "no such file or directory." Rather than revert this file back to its original form, I've made some incredibly ugly regexes so that it will pass everywhere. 2014-08-26 14:09:25 +00:00
Headers [PATCH][Power] Fix (and deprecate) vec_lvsl and vec_lvsr for little endian 2014-10-06 19:02:20 +00:00
Index Avoid a crash after loading an #undef'd macro in code completion 2014-09-30 20:00:18 +00:00
Integration Split out header integration tests 2014-05-04 13:00:32 +00:00
Layout MS ABI: Add an additional test for empty structs in C 2014-10-03 07:41:09 +00:00
Lexer Don't destroy MacroInfos if we find the macro definition is invalid; it'll get 2014-08-03 23:41:04 +00:00
Misc Patch to wrap up '_' as separator in version numbers 2014-10-06 16:46:02 +00:00
Modules test: Disable standard system includes in %clang_cc1 2014-10-03 22:18:49 +00:00
OpenMP [OPENMP] Codegen for 'firstprivate' clause. 2014-10-08 11:35:04 +00:00
PCH test: Disable standard system includes in %clang_cc1 2014-10-03 22:18:49 +00:00
Parser PR20991: ::decltype is not valid. 2014-10-04 01:57:39 +00:00
Preprocessor test: Disable standard system includes in %clang_cc1 2014-10-03 22:18:49 +00:00
Profile InstrProf: Update for LLVM API change 2014-08-01 22:50:16 +00:00
Rewriter Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
Sema Disallow using function parameters in extended asm inputs or outputs in naked functions (PR21178) 2014-10-08 01:58:02 +00:00
SemaCUDA CUDA: mark the target of implicit intrinsics properly 2014-09-30 17:38:34 +00:00
SemaCXX PR21180: Lambda closure types are neither aggregates nor literal types. 2014-10-07 18:01:33 +00:00
SemaObjC Patch to wrap up '_' as separator in version numbers 2014-10-06 16:46:02 +00:00
SemaObjCXX Allow @synchronized to contextually convert a C++ object to an ObjC object pointer. 2014-08-12 16:20:36 +00:00
SemaOpenCL [OpenCL] Reject reqd_work_group_size(X, Y, Z) where X, Y or Z == 0. 2014-05-19 14:41:38 +00:00
SemaTemplate Revert r217995 and follow-ups: 2014-09-18 16:01:32 +00:00
TableGen
Tooling clang/test: Introduce the feature "staticanalyzer" for --enable-clang-static-analyzer. 2014-07-16 12:05:45 +00:00
Unit Let test/Unit/lit.cfg add config.shlibdir to $PATH on DLL platforms like cygming. 2014-07-04 05:11:55 +00:00
VFS Revert "Revert "DI: LLVM schema change: fold constants into string"" 2014-10-03 20:01:52 +00:00
.clang-format
CMakeLists.txt Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
TestRunner.sh
cxx-sections.data
lit.cfg test: Disable standard system includes in %clang_cc1 2014-10-03 22:18:49 +00:00
lit.site.cfg.in Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
make_test_dirs.pl