summaryrefslogtreecommitdiff
path: root/gcc/doc/passes.texi
diff options
context:
space:
mode:
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-07 19:20:32 +0000
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-07 19:20:32 +0000
commit2a4b6f844be460d1e7c4c17a2cb06058fdd41294 (patch)
tree0993c2f873348600aa662c37afaec416825ac008 /gcc/doc/passes.texi
parent038b837c0c1c01a17f6a7b0b19d7382d28302562 (diff)
downloadgcc-2a4b6f844be460d1e7c4c17a2cb06058fdd41294.tar.gz
PR gomp/26238
* doc/passes.texi (Tree-SSA passes): Document omp lowering and expansion. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111818 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc/passes.texi')
-rw-r--r--gcc/doc/passes.texi19
1 files changed, 19 insertions, 0 deletions
diff --git a/gcc/doc/passes.texi b/gcc/doc/passes.texi
index bb6a3f0056d..b4e156bbb30 100644
--- a/gcc/doc/passes.texi
+++ b/gcc/doc/passes.texi
@@ -202,6 +202,25 @@ declarations of static variables whose lifetimes extend to the entire
program. The pass is located in @file{tree-mudflap.c} and is described
by @code{pass_mudflap_1}.
+@item OpenMP lowerering
+
+If OpenMP generation (@option{-fopenmp}) is enabled, this pass lowers
+OpenMP constructs into GIMPLE.
+
+Lowering of OpenMP constructs involves creating replacement
+expressions for local variables that have been mapped using data
+sharing clauses, exposing the control flow of most synchronization
+directives and adding region markers to facilitate the creation of the
+control flow graph. The pass is located in @file{omp-low.c} and is
+described by @code{pass_lower_omp}.
+
+@item OpenMP expansion
+
+If OpenMP generation (@option{-fopenmp}) is enabled, this pass expands
+parallel regions into their own functions to be invoked by the thread
+library. The pass is located in @file{omp-low.c} and is described by
+@code{pass_expand_omp}.
+
@item Lower control flow
This pass flattens @code{if} statements (@code{COND_EXPR}) and