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

#### 11.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`.