llvm-project/clang/lib
Alexey Bataev 98eb6e3d41 [OPENMP] Codegen for 'ordered' directive.
Add codegen for 'ordered' directive:

__kmpc_ordered(ident_t *, gtid);
<associated statement>;
__kmpc_end_ordered(ident_t *, gtid);
Also for 'for' directives with the dynamic scheduling and an 'ordered' clause added a call to '__kmpc_dispatch_fini_(4|8)[u]()' function after increment expression for loop control variable:

while(__kmpc_dispatch_next(&LB, &UB)) {
  idx = LB;
  while (idx <= UB) { BODY; ++idx;
    __kmpc_dispatch_fini_(4|8)[u](); // For ordered loops only.
  } // inner loop
}
Differential Revision: http://reviews.llvm.org/D9070

llvm-svn: 235496
2015-04-22 11:15:40 +00:00
..
ARCMigrate Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:00:23 +00:00
AST Wrap to 80 columns, fix typo in comment. No behavior change. 2015-04-22 03:44:51 +00:00
ASTMatchers Add conversionDecl matcher for node CXXConversionDecl. 2015-04-20 20:58:50 +00:00
Analysis Fix for PR20402 in -Wconsumed. 2015-04-15 22:32:44 +00:00
Basic Implement target-specific __attribute__((aligned)) value 2015-04-21 17:29:35 +00:00
CodeGen [OPENMP] Codegen for 'ordered' directive. 2015-04-22 11:15:40 +00:00
Driver [AArch64] Add v8.1a architecture 2015-04-16 15:53:09 +00:00
Edit [edit] Don't hit an assert when trying to delete a trailing space at EOF 2015-03-29 18:07:29 +00:00
Format clang-format: Fix for #pragma option formatting. 2015-04-22 09:45:42 +00:00
Frontend Create a frontend flag to disable CUDA cross-target call checks 2015-04-15 22:27:06 +00:00
FrontendTool Provide a BuryPointer for unique_ptrs. 2014-08-29 16:53:14 +00:00
Headers [cuda] Added support for CUDA built-in variables. 2015-04-21 22:14:13 +00:00
Index Remove empty non-virtual destructors or mark them =default when non-public 2015-04-11 15:58:30 +00:00
Lex [modules] Cope with partial module macro information, fix memory leak found by buildbot. 2015-04-22 02:09:43 +00:00
Parse Put statement expression decls in the enclosing code DeclContext 2015-04-20 20:00:49 +00:00
Rewrite Remove empty non-virtual destructors or mark them =default when non-public 2015-04-11 15:58:30 +00:00
Sema Don't dllimport/export class members with internal linkage (PR23308) 2015-04-22 04:05:17 +00:00
Serialization [modules] Cope with partial module macro information, fix memory leak found by buildbot. 2015-04-22 02:09:43 +00:00
StaticAnalyzer Add a missing forward def of CheckerManager. NFC. 2015-04-17 17:00:16 +00:00
Tooling Fix bug in Replacement's toString on Windows (missing flush). 2015-04-20 06:58:56 +00:00
CMakeLists.txt Fix build with various feature flag combinations 2014-07-14 22:17:22 +00:00
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00