GNU Compiler Collection (GCC) Internals: GIMPLE_OMP_PARALLEL

Next: `GIMPLE_OMP_RETURN`, Previous: `GIMPLE_OMP_ORDERED`, Up: Tuple specific accessors [Contents][Index]

#### 11.7.18 `GIMPLE_OMP_PARALLEL`

GIMPLE function: gimple gimple_build_omp_parallel (gimple_seq body, tree clauses, tree child_fn, tree data_arg)

  Build a `GIMPLE_OMP_PARALLEL` statement.

`BODY` is sequence of statements which are executed in parallel. `CLAUSES`, are the `OMP` parallel construct’s clauses. `CHILD_FN` is the function created for the parallel threads to execute. `DATA_ARG` are the shared data argument(s).

GIMPLE function: bool gimple_omp_parallel_combined_p (gimple g)

  Return true if `OMP` parallel statement `G` has the `GF_OMP_PARALLEL_COMBINED` flag set.

GIMPLE function: void gimple_omp_parallel_set_combined_p (gimple g)

  Set the `GF_OMP_PARALLEL_COMBINED` field in `OMP` parallel statement `G`.

GIMPLE function: gimple_seq gimple_omp_body (gimple g)

  Return the body for the `OMP` statement `G`.

GIMPLE function: void gimple_omp_set_body (gimple g, gimple_seq body)

  Set `BODY` to be the body for the `OMP` statement `G`.

GIMPLE function: tree gimple_omp_parallel_clauses (gimple g)

  Return the clauses associated with `OMP_PARALLEL` `G`.

GIMPLE function: tree * gimple_omp_parallel_clauses_ptr (gimple g)

  Return a pointer to the clauses associated with `OMP_PARALLEL` `G`.

GIMPLE function: void gimple_omp_parallel_set_clauses (gimple g, tree clauses)

  Set `CLAUSES` to be the list of clauses associated with `OMP_PARALLEL` `G`.

GIMPLE function: tree gimple_omp_parallel_child_fn (gimple g)

  Return the child function used to hold the body of `OMP_PARALLEL` `G`.

GIMPLE function: tree * gimple_omp_parallel_child_fn_ptr (gimple g)

  Return a pointer to the child function used to hold the body of `OMP_PARALLEL` `G`.

GIMPLE function: void gimple_omp_parallel_set_child_fn (gimple g, tree child_fn)

  Set `CHILD_FN` to be the child function for `OMP_PARALLEL` `G`.

GIMPLE function: tree gimple_omp_parallel_data_arg (gimple g)

  Return the artificial argument used to send variables and values from the parent to the children threads in `OMP_PARALLEL` `G`.

GIMPLE function: tree * gimple_omp_parallel_data_arg_ptr (gimple g)

  Return a pointer to the data argument for `OMP_PARALLEL` `G`.

GIMPLE function: void gimple_omp_parallel_set_data_arg (gimple g, tree data_arg)

  Set `DATA_ARG` to be the data argument for `OMP_PARALLEL` `G`.

Next: `GIMPLE_OMP_RETURN`, Previous: `GIMPLE_OMP_ORDERED`, Up: Tuple specific accessors [Contents][Index]