llvm-project/clang/lib/Basic
Alexey Bataev f56f98c925 [OPENMP] Codegen for 'copyin' clause in 'parallel' directive.
Emits the following code for the clause at the beginning of the outlined function for implicit threads:

if (<not a master thread>) {
  ...
  <thread local copy of var> = <master thread local copy of var>;
  ...
}
<sync point>;
Checking for a non-master thread is performed by comparing of the address of the thread local variable with the address of the master's variable. Master thread always uses original variables, so you always know the address of the variable in the master thread.
Differential Revision: http://reviews.llvm.org/D9026

llvm-svn: 235075
2015-04-16 05:39:01 +00:00
..
Attributes.cpp Complete support for the SD-6 standing document (based off N4200) with support for __has_cpp_attribute. 2014-11-14 13:44:02 +00:00
Builtins.cpp CodeGen: make target builtins support languages 2014-07-02 17:41:27 +00:00
CMakeLists.txt Revert r223578, perf data collection depends on the old symbol name. 2014-12-10 23:49:03 +00:00
CharInfo.cpp CharInfo: Add missing "using namespace clang::charinfo" in .cpp file. 2013-02-08 22:37:49 +00:00
Diagnostic.cpp Prefer SmallVector::append/insert over push_back loops. Clang edition. 2015-02-17 16:48:30 +00:00
DiagnosticIDs.cpp Simplify boolean expressions in clang with clang-tidy 2015-03-09 02:02:07 +00:00
FileManager.cpp Remove many superfluous SmallString::str() calls. 2015-03-18 10:17:07 +00:00
FileSystemStatCache.cpp Make VFS and FileManager match the current MemoryBuffer API. 2014-10-26 22:44:13 +00:00
IdentifierTable.cpp OpenCL: CL2.0 atomic types 2015-03-18 12:55:29 +00:00
LangOptions.cpp Allow to specify multiple -fsanitize-blacklist= arguments. 2015-02-04 17:40:08 +00:00
Makefile Revert r223578, perf data collection depends on the old symbol name. 2014-12-10 23:49:03 +00:00
Module.cpp [modules] Restrict the module use-declaration to only appear in top-level 2015-03-26 22:10:01 +00:00
ObjCRuntime.cpp Add a define for the ObjFW runtime ABI version. 2013-09-16 16:31:49 +00:00
OpenMPKinds.cpp [OPENMP] Codegen for 'copyin' clause in 'parallel' directive. 2015-04-16 05:39:01 +00:00
OperatorPrecedence.cpp Replace C++0x in a comment with C++11 2013-07-14 17:04:56 +00:00
SanitizerBlacklist.cpp Allow to specify multiple -fsanitize-blacklist= arguments. 2015-02-04 17:40:08 +00:00
Sanitizers.cpp [Sanitizer] Refactor SanitizerArgs parsing in Driver. 2014-11-14 02:59:20 +00:00
SourceLocation.cpp Inline function into only use. 2014-08-18 18:17:32 +00:00
SourceManager.cpp Prefer uninitialized memory for scratch space. 2015-04-06 17:45:11 +00:00
TargetInfo.cpp Fixed typo. 2015-02-23 20:20:49 +00:00
Targets.cpp R600: Add GCC reg names 2015-04-14 14:36:56 +00:00
TokenKinds.cpp [C++11] Use 'nullptr'. 2014-05-08 06:41:40 +00:00
Version.cpp Revert r223578, perf data collection depends on the old symbol name. 2014-12-10 23:49:03 +00:00
VersionTuple.cpp MS ABI: Implement driver-level support for thread-safe statics 2015-03-22 08:39:22 +00:00
VirtualFileSystem.cpp Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:00:23 +00:00
Warnings.cpp Use -Rblah, not -Wblah, to control remark diagnostics. This was always the 2014-08-07 00:24:21 +00:00