dd new OpenMP 4.5 schedule clause modifiers (monotonic/non-monotonic) feature
authorJonathan Peyton <jonathan.l.peyton@intel.com>
Thu, 25 Feb 2016 17:55:50 +0000 (17:55 +0000)
committerJonathan Peyton <jonathan.l.peyton@intel.com>
Thu, 25 Feb 2016 17:55:50 +0000 (17:55 +0000)
commitea0fe1dfeba4e6c8fb97e54c82db8e90095fb4bc
tree44ea79d9703b440c32e3b0c316c8e701193f7d4a
parentdefd0986127682e732c74f4ab8a1e8d55c53353e
dd new OpenMP 4.5 schedule clause modifiers (monotonic/non-monotonic) feature

The monotonic/non-monotonic flags are sent to the runtime via the sched_type by
setting the 30th (non-monotonic) or 29th (monotonic) bit in the sched_type.
Macros are added to probe if monotonic or non-monotonic is specified
(SCHEDULE_HAS_[NON]MONOTONIC & SCHEDULE_HAS_NO_MODIFIERS)
and also to to get the base sched_type (SCHEDULE_WITHOUT_MODIFIERS)

Currently, nothing is done with the modifiers.

Also, this patch adds some comments on the use of the enumerations in at least
 one place where it is subtle.

Differential Revision: http://reviews.llvm.org/D17406

llvm-svn: 261906
openmp/runtime/src/kmp.h
openmp/runtime/src/kmp_dispatch.cpp
openmp/runtime/src/kmp_sched.cpp