]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/doc/gccint/gimple/tuple-specific-accessors/gimpleompsingle.rst
sphinx: add missing trailing newline
[thirdparty/gcc.git] / gcc / doc / gccint / gimple / tuple-specific-accessors / gimpleompsingle.rst
1 ..
2 Copyright 1988-2022 Free Software Foundation, Inc.
3 This is part of the GCC manual.
4 For copying conditions, see the copyright.rst file.
5
6 .. index:: GIMPLE_OMP_SINGLE
7
8 GIMPLE_OMP_SINGLE
9 ^^^^^^^^^^^^^^^^^
10
11 .. function:: gomp_single *gimple_build_omp_single ( gimple_seq body, tree clauses)
12
13 Build a ``GIMPLE_OMP_SINGLE`` statement. ``BODY`` is the sequence of
14 statements that will be executed once. ``CLAUSES`` are any of the
15 ``OMP`` single construct's clauses: private, firstprivate,
16 copyprivate, nowait.
17
18 .. function:: tree gimple_omp_single_clauses (gimple g)
19
20 Return the clauses associated with ``OMP_SINGLE`` ``G``.
21
22 .. function:: tree * gimple_omp_single_clauses_ptr (gimple g)
23
24 Return a pointer to the clauses associated with ``OMP_SINGLE`` ``G``.
25
26 .. function:: void gimple_omp_single_set_clauses ( gomp_single *g, tree clauses)
27
28 Set ``CLAUSES`` to be the clauses associated with ``OMP_SINGLE`` ``G``.