Lines Matching defs:clause
125 /* Flag for GOVD_REDUCTION: inscan seen in {in,ex}clusive clause. */
4114 /* We only emit the jump over the else clause if we have to--if the
4115 then clause may fall through. Otherwise we can wind up with a
4370 /* Build the new then clause, `tmp = then_;'. But don't build the
4375 /* Similarly, build the new else clause, `tmp = else_;'. */
7278 there are constructors involved somewhere. Exception is a shared clause,
7378 copy clause on the enclosing parallel construct for carrying back the
7439 " %<order(concurrent)%> clause", DECL_NAME (decl));
7500 but not declared in an enclosing clause.
7519 /* The event-handle specified by a detach clause should always be firstprivate,
7617 but not declared in an enclosing clause. */
7632 transfered and remapped. The block itself will have a private clause to
7766 "%qE with %<link%> clause used in %<routine%> function",
8070 region's REDUCTION clause. */
8151 /* Gimplify the affinity clause but effectively ignore it.
8352 clause. */
8946 /* Collect alloc, to, from, to/from clause tree pointers. */
9073 Add needed lastprivate, shared or map clause if no data sharing or
9074 mapping clause are present. IMPLICIT_P is true if it is an implicit
9075 clause (IV on simd), in which case the lastprivate will not be
9237 "conditional %<lastprivate%> clause on "
9243 "conditional %<lastprivate%> clause on "
9261 "%<lastprivate%> clause", decl);
9283 "with a %<nowait%> clause");
9301 "%<inscan%> %<reduction%> clause on "
9307 "%<inscan%> %<reduction%> clause on "
9313 "%<inscan%> %<reduction%> clause on "
9319 "%<inscan%> %<reduction%> clause on "
9325 "%<inscan%> %<reduction%> clause on "
9419 "%<linear%> clause for variable other than "
9712 FIRSTPRIVATE_POINTER clause to properly map the
9838 /* Turn a GOMP_MAP_ATTACH_DETACH clause into a
9839 GOMP_MAP_ATTACH or GOMP_MAP_DETACH clause after we
10277 leading clause into a map of the whole structure
10647 "expected %qs %<if%> clause modifier rather than %qs",
10685 "%<device%> clause with %<ancestor%> is only "
10913 "%qD specified in %qs clause but not in %<inscan%> "
10914 "%<reduction%> clause on the containing construct",
11096 tree clause;
11127 error ("%<_Atomic%> %qD in implicit %<map%> clause", decl);
11167 on tasks with depend clause, we shouldn't try to copy them
11181 error ("%<_Atomic%> %qD in implicit %<firstprivate%> clause on "
11204 clause = build_omp_clause (input_location, code);
11205 OMP_CLAUSE_DECL (clause) = decl;
11206 OMP_CLAUSE_CHAIN (clause) = chain;
11208 OMP_CLAUSE_PRIVATE_DEBUG (clause) = 1;
11210 OMP_CLAUSE_PRIVATE_OUTER_REF (clause) = 1;
11214 OMP_CLAUSE_SHARED_READONLY (clause) = 1;
11216 OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT (clause) = 1;
11223 OMP_CLAUSE_DECL (clause)
11225 OMP_CLAUSE_DECL (clause)
11226 = build2 (MEM_REF, char_type_node, OMP_CLAUSE_DECL (clause),
11228 OMP_CLAUSE_SIZE (clause) = size_zero_node;
11230 OMP_CLAUSE_SET_MAP_KIND (clause, GOMP_MAP_ALLOC);
11231 OMP_CLAUSE_MAP_MAYBE_ZERO_LENGTH_ARRAY_SECTION (clause) = 1;
11234 OMP_CLAUSE_CHAIN (clause) = nc;
11237 gimplify_expr (&TREE_OPERAND (OMP_CLAUSE_DECL (clause), 0),
11275 OMP_CLAUSE_SET_MAP_KIND (clause, kind);
11279 OMP_CLAUSE_MAP_RUNTIME_IMPLICIT_P (clause) = 1;
11288 OMP_CLAUSE_DECL (clause) = mem;
11289 OMP_CLAUSE_SIZE (clause) = TYPE_SIZE_UNIT (TREE_TYPE (decl));
11294 omp_notice_variable (ctx, OMP_CLAUSE_SIZE (clause), true);
11296 tree nc = build_omp_clause (OMP_CLAUSE_LOCATION (clause),
11304 OMP_CLAUSE_CHAIN (nc) = OMP_CLAUSE_CHAIN (clause);
11305 OMP_CLAUSE_CHAIN (clause) = nc;
11310 OMP_CLAUSE_DECL (clause) = build_simple_mem_ref (decl);
11311 OMP_CLAUSE_SIZE (clause)
11315 gimplify_expr (&OMP_CLAUSE_SIZE (clause),
11318 tree nc = build_omp_clause (OMP_CLAUSE_LOCATION (clause),
11323 OMP_CLAUSE_CHAIN (nc) = OMP_CLAUSE_CHAIN (clause);
11324 OMP_CLAUSE_CHAIN (clause) = nc;
11327 OMP_CLAUSE_SIZE (clause) = DECL_SIZE_UNIT (decl);
11335 OMP_CLAUSE_CHAIN (clause) = nc;
11342 *list_p = clause;
11349 lang_hooks.decls.omp_finish_clause (clause, pre_p,
11352 for (; clause != chain; clause = OMP_CLAUSE_CHAIN (clause))
11353 if (OMP_CLAUSE_CODE (clause) == OMP_CLAUSE_MAP
11354 && DECL_P (OMP_CLAUSE_SIZE (clause)))
11355 omp_notice_variable (gimplify_omp_ctxp, OMP_CLAUSE_SIZE (clause),
11438 "%<_Atomic%> %qD in %<firstprivate%> clause on "
11501 accurately reflect the presence of a FIRSTPRIVATE clause. */
11591 compatible with present_or_copy. Warn and adjust the clause
11612 "incompatible data clause with reduction "
11662 follow the GOMP_MAP_STRUCT map clause. */
11761 "%qD specified in %<inscan%> %<reduction%> clause "
11762 "but not in %<scan%> directive clause", decl);
11771 /* OpenACC reductions need a present_or_copy data clause.
11910 /* OpenMP. Implicit clauses are added at the start of the clause list,
11930 "%<inscan%> %<reduction%> clause used together with "
11931 "%<linear%> clause for a variable other than loop "
12100 if required, translate 'kind' in CLAUSE into an 'entry' kind and 'exit'
12101 kind. The entry kind will replace the one in CLAUSE, while the exit
12105 gimplify_oacc_declare_1 (tree clause)
12111 kind = OMP_CLAUSE_MAP_KIND (clause);
12121 OMP_CLAUSE_SET_MAP_KIND (clause, GOMP_MAP_FORCE_ALLOC);
12127 OMP_CLAUSE_SET_MAP_KIND (clause, GOMP_MAP_TO);
12147 c = build_omp_clause (OMP_CLAUSE_LOCATION (clause), OMP_CLAUSE_MAP);
12149 OMP_CLAUSE_DECL (c) = OMP_CLAUSE_DECL (clause);
12264 "%<mutexinoutset%> kind in %<depend%> clause on a "
12299 force it into a temporary initialized in PRE_P and add firstprivate clause
12311 but is significant for firstprivate clause. Force it
12443 /* private clause will appear only on inner_for_stmt.
12444 Change it into firstprivate, and add private clause
12454 /* lastprivate clause will appear on both inner_for_stmt
12455 and for_stmt. Add firstprivate clause to
12491 /* First add firstprivate clause for the __for_end artificial
12523 "%qs clause may not appear on non-rectangular %qs",
12527 "%qs clause may not appear on non-rectangular %qs",
12536 "%qs clause may not appear on non-rectangular %qs",
12556 clause for the IV. */
13335 /* Collapse clause we duplicate on both taskloops. */
13342 /* For lastprivate, keep the clause on inner taskloop, and add
13343 a shared clause on task. If the same decl is also firstprivate,
13344 add also firstprivate clause on the inner taskloop. */
13377 /* Allocate clause we duplicate on task and inner taskloop
13383 /* Additionally, put firstprivate clause on task
13596 "%<bind%> clause not specified on a %<loop%> "
13658 "%<inscan%> %<reduction%> clause on "
13693 "%<lastprivate%> clause on a %<loop%> construct refers "
13987 0 stands for clause not specified at all, use implementation default
14310 clause. */
14348 clause (see trans-openmp.cc:gfc_trans_omp_clauses). */
14775 "%<ordered%> construct with %<depend%> clause must be "
14776 "closely nested inside a loop with %<ordered%> clause "
14806 "number of variables in %<depend%> clause with "
14819 "more than one %<depend%> clause with %<source%> "
14830 "%<depend%> clause with %<source%> modifier specified "