@code{GIMPLE_OMP_CRITICAL} - GNU Compiler Collection (GCC) Internals
Description: GNU Compiler Collection (GCC) Internals

Next: <code>GIMPLE_OMP_FOR</code>, Previous: <code>GIMPLE_OMP_CONTINUE</code>, Up: Tuple specific accessors

#### 12.7.14 `GIMPLE_OMP_CRITICAL`

— GIMPLE function: gimple gimple_build_omp_critical (gimple_seq body, tree name)

> Build a `GIMPLE_OMP_CRITICAL` statement. `BODY` is the sequence of statements for which only one thread can execute. `NAME` is an optional identifier for this critical block.

— GIMPLE function: tree gimple_omp_critical_name (gimple g)

> Return the name associated with `OMP_CRITICAL` statement `G`.

— GIMPLE function: tree * gimple_omp_critical_name_ptr (gimple g)

> Return a pointer to the name associated with `OMP` critical statement `G`.

— GIMPLE function: void gimple_omp_critical_set_name (gimple g, tree name)

> Set `NAME` to be the name associated with `OMP` critical statement `G`.