hanchenye-llvm-project/clang/tools/libclang
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
..
ARCMigrate.cpp Use the simpler version of llvm::sys::fs::exists. 2014-09-11 18:10:13 +00:00
BuildSystem.cpp VirtualFileSystem: Add YAMLVFSWriter to generate VFS mapping files 2014-05-20 21:43:27 +00:00
CIndex.cpp [OPENMP] Codegen for 'copyin' clause in 'parallel' directive. 2015-04-16 05:39:01 +00:00
CIndexCXX.cpp [C++11] Use 'nullptr'. Tools edition. 2014-06-08 08:38:04 +00:00
CIndexCodeCompletion.cpp Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:00:23 +00:00
CIndexDiagnostic.cpp Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:00:23 +00:00
CIndexDiagnostic.h Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:00:23 +00:00
CIndexHigh.cpp [C++11] Use 'nullptr'. Tools edition. 2014-06-08 08:38:04 +00:00
CIndexInclusionStack.cpp Fix a typo in the function name that I just introduced (r201155) 2014-02-11 15:02:48 +00:00
CIndexUSRs.cpp [cleanup] Re-sort the #include lines using llvm/utils/sort_includes.py 2015-01-14 11:23:58 +00:00
CIndexer.cpp
CIndexer.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
CLog.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
CMakeLists.txt Revert "Wrap clang module files in a Mach-O, ELF, or COFF container." 2015-02-25 02:44:04 +00:00
CXComment.cpp [cleanup] Re-sort the #include lines using llvm/utils/sort_includes.py 2015-01-14 11:23:58 +00:00
CXComment.h [cleanup] Re-sort the #include lines using llvm/utils/sort_includes.py 2015-01-14 11:23:58 +00:00
CXCompilationDatabase.cpp CompilationDatabase: Sure-up ownership of compilation databases using std::unique_ptr 2014-08-08 16:06:15 +00:00
CXCursor.cpp [libclang] When initializing an ObjC object via the "[[ClassName alloc] init*]" pattern, 2014-11-10 23:21:35 +00:00
CXCursor.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
CXLoadedDiagnostic.cpp Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:00:23 +00:00
CXLoadedDiagnostic.h Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:00:23 +00:00
CXSourceLocation.cpp [C++11] Use 'nullptr'. Tools edition. 2014-06-08 08:38:04 +00:00
CXSourceLocation.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
CXStoredDiagnostic.cpp libclang: remove 'CXDiagnostic_Remark' 2014-04-26 14:43:53 +00:00
CXString.cpp [C++11] Use 'nullptr'. Tools edition. 2014-06-08 08:38:04 +00:00
CXString.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; Clang edition. 2015-02-15 22:54:08 +00:00
CXTranslationUnit.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
CXType.cpp [libclang] Add functions to get information about fields. 2015-04-13 16:55:04 +00:00
CXType.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
CursorVisitor.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
IndexBody.cpp Objective-C. revert patch for rdar://17554063. 2014-10-28 18:28:16 +00:00
IndexDecl.cpp [C++11] Use 'nullptr'. Tools edition. 2014-06-08 08:38:04 +00:00
IndexTypeSourceInfo.cpp -ms-extensions: Implement __super scope specifier (PR13236). 2014-09-26 00:28:20 +00:00
Index_Internal.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
Indexing.cpp Update APIs that return a pair of iterators to return an iterator_range instead. 2015-02-06 17:25:10 +00:00
IndexingContext.cpp [C++11] Use 'nullptr'. Tools edition. 2014-06-08 08:38:04 +00:00
IndexingContext.h Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the macro. NFC; Clang edition. 2015-02-15 22:54:08 +00:00
Makefile Revert "Wrap clang module files in a Mach-O, ELF, or COFF container." 2015-02-25 02:44:04 +00:00
libclang.exports [libclang] Add functions to get information about fields. 2015-04-13 16:55:04 +00:00