llvm-project/clang/lib/Serialization
Alexey Bataev 25e5b44654 [OPENMP] Emit __kmpc_cancel_barrier() and code for 'cancellation point' only if 'cancel' is found.
Patch improves codegen for OpenMP constructs. If the OpenMP region does not have internal 'cancel' construct, a call to 'void __kmpc_barrier()' runtime function is generated for all implicit/explicit barriers. If the region has inner 'cancel' directive, then
```
if (__kmpc_cancel_barrier())
  exit from outer construct;
```
code is generated.
Also, the code for 'canellation point' directive is not generated if parent directive does not have 'cancel' directive.

llvm-svn: 247681
2015-09-15 12:52:43 +00:00
..
ASTCommon.cpp Run clang-format to unify the switch statement style as suggest here: http://reviews.llvm.org/D12855#246073. 2015-09-15 12:18:29 +00:00
ASTCommon.h [modules] Add an assert for redeclarations that we never added to their redecl 2015-07-27 05:40:23 +00:00
ASTReader.cpp Run clang-format to unify the switch statement style as suggest here: http://reviews.llvm.org/D12855#246073. 2015-09-15 12:18:29 +00:00
ASTReaderDecl.cpp Re-commit r246497 (and dependent changes r246524 and r246521), reverted in 2015-09-01 20:35:42 +00:00
ASTReaderInternals.h Re-commit r246497 (and dependent changes r246524 and r246521), reverted in 2015-09-01 20:35:42 +00:00
ASTReaderStmt.cpp [OPENMP] Emit __kmpc_cancel_barrier() and code for 'cancellation point' only if 'cancel' is found. 2015-09-15 12:52:43 +00:00
ASTWriter.cpp EmitRecord* API change: accepts ArrayRef instead of a SmallVector (NFC) 2015-09-10 01:46:39 +00:00
ASTWriterDecl.cpp [modules] Slightly defang an assert that produces false-positives on the selfhost bot. 2015-09-11 02:22:03 +00:00
ASTWriterStmt.cpp [OPENMP] Emit __kmpc_cancel_barrier() and code for 'cancellation point' only if 'cancel' is found. 2015-09-15 12:52:43 +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
GeneratePCH.cpp [modules] When explicitly building a module file, don't include timestamps in 2015-08-17 07:13:32 +00:00
GlobalModuleIndex.cpp EmitRecord* API change: accepts ArrayRef instead of a SmallVector (NFC) 2015-09-10 01:46:39 +00:00
Makefile
Module.cpp Re-commit r246497 (and dependent changes r246524 and r246521), reverted in 2015-09-01 20:35:42 +00:00
ModuleManager.cpp [modules] Remove now-dead code for lazy loading of files specified by -fmodule-file=. 2015-08-09 08:58:36 +00:00
MultiOnDiskHashTable.h Silence a -Wsign-compare warning; NFC. 2015-09-02 12:50:12 +00:00