llvm-project/polly/test/ScheduleOptimizer
Tobias Grosser 8b5344fda2 Explicitly annotate loops we want to run thread-parallel
We introduces a new flag -polly-parallel and use it to annotate the for-nodes in
the isl ast that we want to execute thread parallel (e.g., using OpenMP). We
previously already emmitted openmp annotations, but we did this for various
kinds of parallel loops, including some which we can not run in parallel.

With this patch we now have three annotations:

  1) #pragma known-parallel [reduction]
  2) #pragma omp for
  3) #pragma simd

meaning:

  1) loop has no loop carried dependences
  2) loop will be executed thread-parallel
  3) loop can possibly be vectorized

This patch introduces 1) and reduces the use of 2) to only the cases where we
will actually generate thread parallel code.

It is in preparation of openmp code generation in our isl backend.

Legacy:

- We also have a command line option -enable-polly-openmp. This option controls
  the OpenMP code generation in CLooG. It will become an alias of
  -polly-parallel after the CLooG code generation has been dropped.

http://reviews.llvm.org/D6142

llvm-svn: 221479
2014-11-06 19:35:21 +00:00
..
2012-03-16-Empty-Domain.ll Always pipe in test files 2014-08-30 09:15:04 +00:00
2012-04-16-Trivially-vectorizable-loops.ll Always pipe in test files 2014-08-30 09:15:04 +00:00
2012-10-14-Zero-Bands.ll ScopInfo: Correctly handle true/false conditions 2013-09-07 01:54:13 +00:00
2013-04-11-Empty-Domain-two.ll Always pipe in test files 2014-08-30 09:15:04 +00:00
computeout.ll Do not fail in case we do not have valid dependences 2014-02-23 15:15:44 +00:00
line-tiling-2.ll Always pipe in test files 2014-08-30 09:15:04 +00:00
line-tiling.ll Always pipe in test files 2014-08-30 09:15:04 +00:00
prevectorization.ll Explicitly annotate loops we want to run thread-parallel 2014-11-06 19:35:21 +00:00
rectangular-tiling.ll Always pipe in test files 2014-08-30 09:15:04 +00:00