summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2015-04-22 11:15:40 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2015-04-22 11:15:40 +0000
commit98eb6e3d41afa29e490d06b15de1213bf5a6947c (patch)
tree116aae3cebd4a17a3c6d770d0c4fa8d197beaa3c /llvm/lib/CodeGen
parente7508c9fc78fc6cf83ddc2bb6061b173b8c000fd (diff)
downloadbcm5719-llvm-98eb6e3d41afa29e490d06b15de1213bf5a6947c.tar.gz
bcm5719-llvm-98eb6e3d41afa29e490d06b15de1213bf5a6947c.zip
[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
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud