ASR OpenMP NodesΒΆ

OpenMP is represented by one statement, OMPRegion, holding a directive, its clauses and the block it applies to. The directive is an omp_region_type and the clauses are omp_clause values.

Nesting in ASR follows the nesting of the directives: !$omp parallel containing !$omp do is an OMPRegion whose body holds another OMPRegion.