Next: `GIMPLE_OMP_FOR`, Previous: `GIMPLE_OMP_CONTINUE`, Up: Tuple specific accessors [Contents][Index]

#### 11.8.15 `GIMPLE_OMP_CRITICAL`

GIMPLE function: gomp_critical *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 ( const gomp_critical *g)

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

GIMPLE function: tree * gimple_omp_critical_name_ptr ( gomp_critical *g)

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

GIMPLE function: void gimple_omp_critical_set_name ( gomp_critical *g, tree name)

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