Home | History | Annotate | Download | only in gcc

Lines Matching refs:octx

7427   struct gimplify_omp_ctx *octx;
7429 for (octx = ctx; octx; octx = octx->outer_context)
7430 if ((octx->region_type & ORT_TARGET) != 0
7431 || octx->order_concurrent)
7433 n = splay_tree_lookup (octx->variables, (splay_tree_key)decl);
7436 if (octx->order_concurrent)
7440 inform (octx->location, "enclosing region");
7446 inform (octx->location, "enclosing target region");
7448 splay_tree_insert (octx->variables, (splay_tree_key)decl, 0);
7451 splay_tree_insert (octx->variables, (splay_tree_key)decl2, 0);
7575 if (struct gimplify_omp_ctx *octx = ctx->outer_context)
7577 omp_notice_variable (octx, decl, in_code);
7578 for (; octx; octx = octx->outer_context)
7582 n2 = splay_tree_lookup (octx->variables, (splay_tree_key) decl);
7583 if ((octx->region_type & (ORT_TARGET_DATA | ORT_TARGET)) != 0
7591 if ((octx->region_type & (ORT_PARALLEL | ORT_TEAMS)) != 0)
7800 struct gimplify_omp_ctx *octx;
7801 for (octx = ctx->outer_context;
7802 octx; octx = octx->outer_context)
7804 n = splay_tree_lookup (octx->variables,
7811 is_declare_target = octx == NULL;
7858 struct gimplify_omp_ctx *octx = ctx->outer_context;
7859 if ((ctx->region_type & ORT_ACC) && octx)
7863 omp_notice_variable (octx, decl, in_code);
7865 for (; octx; octx = octx->outer_context)
7867 if (!(octx->region_type & (ORT_TARGET_DATA | ORT_TARGET)))
7870 = splay_tree_lookup (octx->variables,
7874 if (octx->region_type == ORT_ACC_HOST_DATA)
7878 if (octx->region_type == ORT_ACC_DATA
9072 of combined/composite constructs, starting with OCTX.
9079 omp_lastprivate_for_combined_outer_constructs (struct gimplify_omp_ctx *octx,
9082 struct gimplify_omp_ctx *orig_octx = octx;
9083 for (; octx; octx = octx->outer_context)
9085 if ((octx->region_type == ORT_COMBINED_PARALLEL
9086 || (octx->region_type & ORT_COMBINED_TEAMS) == ORT_COMBINED_TEAMS)
9087 && splay_tree_lookup (octx->variables,
9090 omp_add_variable (octx, decl, GOVD_SHARED | GOVD_SEEN);
9093 if ((octx->region_type & ORT_TASK) != 0
9094 && octx->combined_loop
9095 && splay_tree_lookup (octx->variables,
9098 omp_add_variable (octx, decl, GOVD_LASTPRIVATE | GOVD_SEEN);
9102 && octx->region_type == ORT_WORKSHARE
9103 && octx->combined_loop
9104 && splay_tree_lookup (octx->variables,
9106 && octx->outer_context
9107 && octx->outer_context->region_type == ORT_COMBINED_PARALLEL
9108 && splay_tree_lookup (octx->outer_context->variables,
9111 octx = octx->outer_context;
9112 omp_add_variable (octx, decl, GOVD_LASTPRIVATE | GOVD_SEEN);
9115 if ((octx->region_type == ORT_WORKSHARE || octx->region_type == ORT_ACC)
9116 && octx->combined_loop
9117 && splay_tree_lookup (octx->variables,
9119 && !omp_check_private (octx, decl, false))
9121 omp_add_variable (octx, decl, GOVD_LASTPRIVATE | GOVD_SEEN);
9124 if (octx->region_type == ORT_COMBINED_TARGET)
9126 splay_tree_node n = splay_tree_lookup (octx->variables,
9130 omp_add_variable (octx, decl, GOVD_MAP | GOVD_SEEN);
9131 octx = octx->outer_context;
9139 omp_add_variable (octx, decl, GOVD_MAP | GOVD_SEEN);
9140 octx = octx->outer_context;
9145 if (octx && (implicit_p || octx != orig_octx))
9146 omp_notice_variable (octx, decl, true);
9400 struct gimplify_omp_ctx *octx = outer_ctx;
9401 if (octx
9402 && octx->region_type == ORT_WORKSHARE
9403 && octx->combined_loop
9404 && !octx->distribute)
9406 if (octx->outer_context
9407 && (octx->outer_context->region_type
9409 octx = octx->outer_context->outer_context;
9411 octx = octx->outer_context;
9413 if (octx
9414 && octx->region_type == ORT_WORKSHARE
9415 && octx->combined_loop
9416 && octx->distribute)
9429 struct gimplify_omp_ctx *octx = outer_ctx;
9448 if (octx
9449 && octx->region_type == ORT_WORKSHARE
9450 && octx->combined_loop)
9452 if (octx->outer_context
9453 && (octx->outer_context->region_type
9455 octx = octx->outer_context;
9456 else if (omp_check_private (octx, decl, false))
9459 else if (octx
9460 && (octx->region_type & ORT_TASK) != 0
9461 && octx->combined_loop)
9463 else if (octx
9464 && octx->region_type == ORT_COMBINED_PARALLEL
9466 && octx == outer_ctx)
9469 else if (octx
9470 && ((octx->region_type & ORT_COMBINED_TEAMS)
9473 else if (octx
9474 && octx->region_type == ORT_COMBINED_TARGET)
9482 = splay_tree_lookup (octx->variables,
9486 octx = NULL;
9489 omp_add_variable (octx, decl, flags);
9490 if (octx->outer_context == NULL)
9492 octx = octx->outer_context;
9495 if (octx
9499 omp_notice_variable (octx, decl, true);
9567 struct gimplify_omp_ctx *octx;
9568 for (octx = outer_ctx; octx; octx = octx->outer_context)
9570 if (octx->region_type != ORT_ACC_HOST_DATA)
9573 = splay_tree_lookup (octx->variables,
10299 for (struct gimplify_omp_ctx *octx = outer_ctx; octx;
10300 octx = octx->outer_context)
10303 = splay_tree_lookup (octx->variables,
11372 struct gimplify_omp_ctx *octx;
11373 for (octx = ctx; octx; octx = octx->outer_context)
11374 if ((octx->region_type & (ORT_PARALLEL | ORT_TASK | ORT_TEAMS)) != 0)
11376 if (octx)
11532 struct gimplify_omp_ctx *octx;
11538 for (octx = ctx->outer_context; octx;
11539 octx = octx->outer_context)
11541 n = splay_tree_lookup (octx->variables,
12820 struct gimplify_omp_ctx *octx = outer->outer_context;
12821 if (octx
12822 && octx->region_type == ORT_COMBINED_PARALLEL
12823 && octx->outer_context
12824 && (octx->outer_context->region_type
12826 && octx->outer_context->combined_loop)
12828 octx = octx->outer_context;
12829 n = splay_tree_lookup (octx->variables,
13561 struct gimplify_omp_ctx *octx = gimplify_omp_ctxp;
13580 else if (octx && (octx->region_type & ORT_TEAMS) != 0)
13582 else if (octx && (octx->region_type & ORT_PARALLEL) != 0)
13586 for (; octx; octx = octx->outer_context)
13588 if ((octx->region_type & ORT_ACC) != 0
13589 || octx->region_type == ORT_NONE
13590 || octx->region_type == ORT_IMPLICIT_TARGET)
13594 if (octx == NULL && !in_omp_construct)
13615 for (; octx; octx = octx->outer_context)
13616 if (octx->region_type == ORT_SIMD
13617 && omp_find_clause (octx->clauses, OMP_CLAUSE_BIND) == NULL_TREE)
13633 if ((octx
13634 && octx->region_type != ORT_IMPLICIT_TARGET
13635 && octx->region_type != ORT_NONE
13636 && (octx->region_type & ORT_TEAMS) == 0)