summaryrefslogtreecommitdiffstats
path: root/clang/test/PCH/chain-openmp-threadprivate.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [MS] Fix tests after r327738 that only fail with a default Windows targetReid Kleckner2018-03-161-3/+3
| | | | llvm-svn: 327741
* [Cygwin] Enable TLS as emutls.NAKAMURA Takumi2015-12-211-2/+0
| | | | | | | | It resolves clang selfhosting with std::once() for Cygwin. FIXME: It may be EmulatedTLS-generic also for X86-Android. FIXME: Pass EmulatedTLS to LLVM CodeGen from Clang with -femulated-tls. llvm-svn: 256134
* Tweak clang/test/PCH/chain-openmp-threadprivate.cpp to satisfy i686-win32.NAKAMURA Takumi2015-07-141-1/+1
| | | | llvm-svn: 242131
* Fix test for Visual C++.Yaron Keren2015-07-141-5/+7
| | | | llvm-svn: 242124
* Mark clang/test/PCH/chain-openmp-threadprivate.cpp as REQUIRES:tls.NAKAMURA Takumi2015-07-141-0/+3
| | | | llvm-svn: 242116
* [OpenMP] Add TLS-based implementation for threadprivate directive.Samuel Antao2015-07-131-2/+12
| | | | llvm-svn: 242080
* [OPENMP] -fopenmp enables OpenMP support (fix for http://llvm.org/PR23492)Alexey Bataev2015-05-201-2/+2
| | | | | | | -fopenmp turns on OpenMP support and links libiomp5 as OpenMP library. Also there is -fopenmp={libiomp5|libgomp} option that allows to override effect of -fopenmp and link libgomp library (if -fopenmp=libgomp is specified). Differential Revision: http://reviews.llvm.org/D9736 llvm-svn: 237769
* [OPENMP] Codegen for threadprivate variablesAlexey Bataev2014-11-111-0/+26
For all threadprivate variables which have constructor/destructor emit call to void __kmpc_threadprivate_register(ident_t * <Current Location>, void *<Original Global Addr>, kmpc_ctor <Constructor>, kmpc_cctor NULL, kmpc_dtor <Destructor>); In expressions all references to such variables are replaced by calls to void *__kmpc_threadprivate_cached(ident_t *<Current Location>, kmp_int32 <Current Thread Id>, void *<Original Global Addr>, size_t <Size of Data>, void ***<Pointer to autogenerated cache – array of private copies of threadprivate variable>); Test test/OpenMP/threadprivate_codegen.cpp checks that codegen is correct. Also it checks that codegen is correct after serialization/deserialization and one of passes verifies debug info. Differential Revision: http://reviews.llvm.org/D4002 llvm-svn: 221663
OpenPOWER on IntegriCloud