GCC Middle and Back End API Reference
tree-parloops.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool parallelized_function_p (tree)
bool parallelize_loops (void)

Function Documentation

bool parallelize_loops ( void  )

Detect parallel loops and generate parallel code using libgomp primitives. Returns true if some loop was parallelized, false otherwise.

 Do not parallelize loops in the functions created by parallelization.   
     If we use autopar in graphite pass, we use its marked dependency
  checking results.   
         FIXME: the check for vector phi nodes could be removed.   
     FIXME: Bypass this check as graphite doesn't update the
     count and frequency correctly now.   
             Do not bother with loops in cold areas.   
 Parallelization will cause new function calls to be inserted through
 which local variables will escape.  Reset the points-to solution
 for ESCAPED.   
bool parallelized_function_p ( tree  )

Header file for loop autoparallelization. Copyright (C) 2013 Free Software Foundation, Inc.

This file is part of GCC.

GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.

GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see http://www.gnu.org/licenses/.