Lines Matching defs:clause
131 "%<#pragma omp critical%> with %<hint%> clause requires "
692 enum omp_clause_depend_kind kind, tree clause)
713 if (clause == error_mark_node)
716 if (clause)
718 gcc_assert (TREE_CODE (clause) == OMP_CLAUSE
719 && OMP_CLAUSE_CODE (clause) == OMP_CLAUSE_DEPEND);
720 if (OMP_CLAUSE_CHAIN (clause))
721 error_at (OMP_CLAUSE_LOCATION (clause),
722 "more than one locator in %<depend%> clause on %<depobj%> "
724 switch (OMP_CLAUSE_DEPEND_KIND (clause))
727 error_at (OMP_CLAUSE_LOCATION (clause),
729 "clause on %<depobj%> construct");
733 error_at (OMP_CLAUSE_LOCATION (clause),
735 OMP_CLAUSE_DEPEND_KIND (clause) == OMP_CLAUSE_DEPEND_SOURCE
742 kind = OMP_CLAUSE_DEPEND_KIND (clause);
743 t = OMP_CLAUSE_DECL (clause);
749 error_at (OMP_CLAUSE_LOCATION (clause),
779 if (clause)
1790 as every construct has at least one clause that no other construct
1841 /* Add implicit nowait clause on
1964 /* Private clause is supported on all constructs but master/masked,
1983 /* Firstprivate clause is supported on all constructs but
2006 or if it is mentioned in map clause. OMP_CLAUSE_DECLs
2009 add the clause with OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT and
2271 "%<inscan%> %<reduction%> clause on construct other "
2442 clause to just one construct. */
2457 /* Otherwise, duplicate if clause to all constructs. */
2520 /* Linear clause is allowed on simd and for. Put it on the
2528 /* Nowait clause is allowed on target, for and sections, but
2563 /* Allocate clause is allowed on target, teams, distribute, parallel,
2698 explicit data sharing clause. */
2706 /* At least one allocate clause has been marked. Walk all the
2711 marked ones, because some clause duplication is done only
2744 "%qD specified in %<allocate%> clause but not in "
2745 "an explicit privatization clause",
2999 /* Used to merge map clause information in c_omp_adjust_map_clauses. */
3002 tree clause;
3006 map_clause (void) : clause (NULL_TREE), firstprivate_ptr_p (false),
3010 /* Adjust map clauses after normal clause parsing, mainly to turn specific
3053 if (mc.clause == NULL_TREE)
3054 mc.clause = c;
3083 OMP_CLAUSE_SET_MAP_KIND (mc.clause, GOMP_MAP_ATTACH_DETACH);
3084 c_common_mark_addressable_vec (OMP_CLAUSE_DECL (mc.clause));
3159 /* ordered with depend clause is C_OMP_DIR_STANDALONE. */