Searched refs:for_stmt (Results 1 - 24 of 24) sorted by relevance

/netbsd-current/external/gpl3/gcc.old/dist/gcc/
H A Domp-general.h60 gomp_for *for_stmt; member in struct:omp_for_data
82 extern void omp_extract_for_data (gomp_for *for_stmt, struct omp_for_data *fd,
H A Domp-expand.c235 if (gomp_for *for_stmt = dyn_cast <gomp_for *> (ws_stmt))
240 omp_extract_for_data (for_stmt, &fd, NULL);
244 if (gimple_omp_for_combined_into_p (for_stmt))
1774 if (gimple_omp_for_combined_into_p (fd->for_stmt)
1781 tree innerc = omp_find_clause (gimple_omp_for_clauses (fd->for_stmt),
1938 if (gimple_omp_for_combined_p (fd->for_stmt))
2690 && omp_find_clause (gimple_omp_for_clauses (fd->for_stmt),
2698 tree c = omp_find_clause (gimple_omp_for_clauses (fd->for_stmt),
2709 tree c = omp_find_clause (gimple_omp_for_clauses (fd->for_stmt),
2887 if (gimple_omp_for_combined_into_p (fd->for_stmt))
5619 gimple *for_stmt = gsi_stmt (gsi); local
6117 gomp_for *for_stmt = as_a <gomp_for *> (gsi_stmt (gsi)); local
8518 gomp_for *for_stmt = as_a <gomp_for *> (last_stmt (kfor->entry)); local
8677 gomp_for *for_stmt = as_a <gomp_for *> (last_stmt (kfor->entry)); local
[all...]
H A Domp-general.c180 omp_extract_for_data (gomp_for *for_stmt, struct omp_for_data *fd, argument
188 location_t loc = gimple_location (for_stmt);
189 bool simd = gimple_omp_for_kind (for_stmt) == GF_OMP_FOR_KIND_SIMD;
190 bool distribute = gimple_omp_for_kind (for_stmt)
192 bool taskloop = gimple_omp_for_kind (for_stmt)
196 fd->for_stmt = for_stmt;
215 for (t = gimple_omp_for_clauses (for_stmt); t ; t = OMP_CLAUSE_CHAIN (t))
327 loop->v = gimple_omp_for_index (for_stmt, i);
332 loop->n1 = gimple_omp_for_initial (for_stmt,
[all...]
H A Dgimplify.c11044 tree for_stmt, orig_for_stmt, inner_for_stmt = NULL_TREE, decl, var, t;
11053 orig_for_stmt = for_stmt = *expr_p;
11055 bool loop_p = (omp_find_clause (OMP_FOR_CLAUSES (for_stmt), OMP_CLAUSE_BIND)
11057 if (OMP_FOR_INIT (for_stmt) == NULL_TREE)
11060 gcc_assert (TREE_CODE (for_stmt) != OACC_LOOP);
11061 inner_for_stmt = walk_tree (&OMP_FOR_BODY (for_stmt),
11072 &OMP_FOR_PRE_BODY (for_stmt));
11078 &OMP_FOR_PRE_BODY (for_stmt));
11121 && TREE_CODE (for_stmt) == OMP_DISTRIBUTE
11154 on for_stmt
11041 tree for_stmt, orig_for_stmt, inner_for_stmt = NULL_TREE, decl, var, t; local
12276 tree for_stmt = *expr_p; local
[all...]
H A Dtree-parloops.c2747 gomp_for *for_stmt; local
2903 for_stmt = gimple_build_omp_for (NULL,
2911 gimple_set_location (for_stmt, loc);
2912 gimple_omp_for_set_index (for_stmt, 0, initvar);
2913 gimple_omp_for_set_initial (for_stmt, 0, cvar_init);
2914 gimple_omp_for_set_final (for_stmt, 0, gimple_cond_rhs (cond_stmt));
2915 gimple_omp_for_set_cond (for_stmt, 0, gimple_cond_code (cond_stmt));
2916 gimple_omp_for_set_incr (for_stmt, 0, build2 (PLUS_EXPR, type,
2921 gsi_insert_after (&gsi, for_stmt, GSI_NEW_STMT);
2922 SSA_NAME_DEF_STMT (initvar) = for_stmt;
[all...]
H A Dtree-nested.c731 walk_gimple_omp_for (gomp_for *for_stmt, argument
740 walk_body (callback_stmt, callback_op, info, gimple_omp_for_pre_body_ptr (for_stmt));
747 for (i = 0; i < gimple_omp_for_collapse (for_stmt); i++)
750 walk_tree (gimple_omp_for_index_ptr (for_stmt, i), callback_op,
754 walk_tree (gimple_omp_for_initial_ptr (for_stmt, i), callback_op,
759 walk_tree (gimple_omp_for_final_ptr (for_stmt, i), callback_op,
762 t = gimple_omp_for_incr (for_stmt, i);
774 gimple_seq pre_body = gimple_omp_for_pre_body (for_stmt);
775 annotate_all_with_location (seq, gimple_location (for_stmt));
777 gimple_omp_for_set_pre_body (for_stmt, pre_bod
[all...]
H A Domp-grid.c54 if (gimple_omp_for_kind (fd->for_stmt) == GF_OMP_FOR_KIND_GRID_LOOP
55 && gimple_omp_for_grid_intra_group (fd->for_stmt))
H A Domp-low.c1929 gomp_for *for_stmt = as_a <gomp_for *> ((gimple *) wi.info); local
1931 omp_extract_for_data (for_stmt, &fd, NULL);
1944 if (omp_find_clause (gimple_omp_for_clauses (for_stmt),
9629 if (gimple_omp_for_kind (fd->for_stmt) == GF_OMP_FOR_KIND_GRID_LOOP
9630 || gimple_omp_for_grid_phony (fd->for_stmt))
9637 && gimple_omp_for_combined_into_p (fd->for_stmt))
9689 clauses = gimple_omp_for_clauses (fd->for_stmt);
/netbsd-current/external/gpl3/gcc/dist/gcc/
H A Domp-general.h69 gomp_for *for_stmt; member in struct:omp_for_data
101 extern void omp_extract_for_data (gomp_for *for_stmt, struct omp_for_data *fd,
H A Domp-general.cc183 omp_extract_for_data (gomp_for *for_stmt, struct omp_for_data *fd, argument
191 location_t loc = gimple_location (for_stmt);
192 bool simd = gimple_omp_for_kind (for_stmt) == GF_OMP_FOR_KIND_SIMD;
193 bool distribute = gimple_omp_for_kind (for_stmt)
195 bool taskloop = gimple_omp_for_kind (for_stmt)
200 fd->for_stmt = for_stmt;
225 for (t = gimple_omp_for_clauses (for_stmt); t ; t = OMP_CLAUSE_CHAIN (t))
345 tree n1 = gimple_omp_for_initial (for_stmt, i);
346 tree n2 = gimple_omp_for_final (for_stmt,
[all...]
H A Dgimplify.cc12326 tree for_stmt, orig_for_stmt, inner_for_stmt = NULL_TREE, decl, var, t;
12336 orig_for_stmt = for_stmt = *expr_p;
12338 bool loop_p = (omp_find_clause (OMP_FOR_CLAUSES (for_stmt), OMP_CLAUSE_BIND)
12340 if (OMP_FOR_INIT (for_stmt) == NULL_TREE)
12343 gcc_assert (TREE_CODE (for_stmt) != OACC_LOOP);
12344 inner_for_stmt = walk_tree (&OMP_FOR_BODY (for_stmt),
12355 &OMP_FOR_PRE_BODY (for_stmt));
12361 &OMP_FOR_PRE_BODY (for_stmt));
12404 && TREE_CODE (for_stmt) == OMP_DISTRIBUTE
12437 on for_stmt
12323 tree for_stmt, orig_for_stmt, inner_for_stmt = NULL_TREE, decl, var, t; local
13548 tree for_stmt = *expr_p; local
[all...]
H A Domp-expand.cc236 if (gomp_for *for_stmt = dyn_cast <gomp_for *> (ws_stmt))
241 omp_extract_for_data (for_stmt, &fd, NULL);
245 if (gimple_omp_for_combined_into_p (for_stmt))
1808 if (gimple_omp_for_combined_into_p (fd->for_stmt)
1815 tree innerc = omp_find_clause (gimple_omp_for_clauses (fd->for_stmt),
2480 if (gimple_omp_for_combined_p (fd->for_stmt))
3872 && omp_find_clause (gimple_omp_for_clauses (fd->for_stmt),
3880 tree c = omp_find_clause (gimple_omp_for_clauses (fd->for_stmt),
3891 tree c = omp_find_clause (gimple_omp_for_clauses (fd->for_stmt),
4069 if (gimple_omp_for_combined_into_p (fd->for_stmt))
7132 gimple *for_stmt = gsi_stmt (gsi); local
7635 gomp_for *for_stmt = as_a <gomp_for *> (gsi_stmt (gsi)); local
[all...]
H A Dtree-parloops.cc2747 gomp_for *for_stmt; local
2903 for_stmt = gimple_build_omp_for (NULL,
2911 gimple_set_location (for_stmt, loc);
2912 gimple_omp_for_set_index (for_stmt, 0, initvar);
2913 gimple_omp_for_set_initial (for_stmt, 0, cvar_init);
2914 gimple_omp_for_set_final (for_stmt, 0, gimple_cond_rhs (cond_stmt));
2915 gimple_omp_for_set_cond (for_stmt, 0, gimple_cond_code (cond_stmt));
2916 gimple_omp_for_set_incr (for_stmt, 0, build2 (PLUS_EXPR, type,
2921 gsi_insert_after (&gsi, for_stmt, GSI_NEW_STMT);
2922 SSA_NAME_DEF_STMT (initvar) = for_stmt;
[all...]
H A Dtree-nested.cc829 walk_gimple_omp_for (gomp_for *for_stmt, argument
838 walk_body (callback_stmt, callback_op, info, gimple_omp_for_pre_body_ptr (for_stmt));
845 for (i = 0; i < gimple_omp_for_collapse (for_stmt); i++)
848 walk_tree (gimple_omp_for_index_ptr (for_stmt, i), callback_op,
852 walk_tree (gimple_omp_for_initial_ptr (for_stmt, i), callback_op,
857 walk_tree (gimple_omp_for_final_ptr (for_stmt, i), callback_op,
860 t = gimple_omp_for_incr (for_stmt, i);
872 gimple_seq pre_body = gimple_omp_for_pre_body (for_stmt);
873 annotate_all_with_location (seq, gimple_location (for_stmt));
875 gimple_omp_for_set_pre_body (for_stmt, pre_bod
[all...]
H A Domp-low.cc2175 gomp_for *for_stmt = as_a <gomp_for *> ((gimple *) wi.info); local
2177 omp_extract_for_data (for_stmt, &fd, NULL);
2190 if (omp_find_clause (gimple_omp_for_clauses (for_stmt),
2206 if (tree v = gimple_omp_for_index (for_stmt, fd.last_nonrect))
2209 v = gimple_omp_for_index (for_stmt, fd.first_nonrect);
10476 && gimple_omp_for_combined_into_p (fd->for_stmt))
10514 if (tree v = gimple_omp_for_index (fd->for_stmt, fd->last_nonrect))
10533 clauses = gimple_omp_for_clauses (fd->for_stmt);
/netbsd-current/external/gpl3/gcc/dist/gcc/cp/
H A Dcoroutines.cc3496 tree for_stmt = *stmt; local
3501 (!(cp_walk_tree (&FOR_INIT_STMT (for_stmt), find_any_await,
3506 = cp_walk_tree (&FOR_COND (for_stmt), find_any_await,
3511 = cp_walk_tree (&FOR_EXPR (for_stmt), find_any_await,
3527 coro_build_add_if_not_cond_break (FOR_COND (for_stmt));
3529 add_stmt (FOR_BODY (for_stmt));
3531 FOR_BODY (for_stmt) = pop_stmt_list (insert_list);
3532 FOR_COND (for_stmt) = boolean_true_node;
3546 location_t sloc = EXPR_LOCATION (FOR_EXPR (for_stmt));
3549 add_stmt (FOR_BODY (for_stmt));
[all...]
H A Dsemantics.cc1288 finish_init_stmt (tree for_stmt) argument
1291 FOR_INIT_STMT (for_stmt) = pop_stmt_list (FOR_INIT_STMT (for_stmt));
1292 add_stmt (for_stmt);
1293 FOR_BODY (for_stmt) = do_pushlevel (sk_block);
1294 begin_cond (&FOR_COND (for_stmt));
1301 finish_for_cond (tree cond, tree for_stmt, bool ivdep, unsigned short unroll) argument
1304 finish_cond (&FOR_COND (for_stmt), cond);
1307 FOR_COND (for_stmt) = build3 (ANNOTATE_EXPR,
1308 TREE_TYPE (FOR_COND (for_stmt)),
1328 finish_for_expr(tree expr, tree for_stmt) argument
1361 finish_for_stmt(tree for_stmt) argument
[all...]
H A Dcp-gimplify.cc204 tree for_stmt = *expr_p; local
208 if (OMP_FOR_GIMPLIFYING_P (for_stmt))
210 OMP_FOR_GIMPLIFYING_P (for_stmt) = 1;
212 gimplify_and_add (for_stmt, &seq);
215 OMP_FOR_GIMPLIFYING_P (for_stmt) = 0;
H A Dmethod.cc1643 tree for_stmt = begin_for_stmt (NULL_TREE, NULL_TREE);
1648 finish_init_stmt (for_stmt);
1650 maxval), for_stmt, false, 0);
1654 for_stmt);
1655 /* Store in TREE_VALUE the for_stmt tree, so that we can
1658 TREE_VALUE (loop_index) = for_stmt;
H A Dinit.cc4738 tree for_stmt;
4742 for_stmt = begin_for_stmt (NULL_TREE, NULL_TREE);
4743 finish_init_stmt (for_stmt); local
4746 for_stmt, false, 0);
4901 finish_for_stmt (for_stmt);
4735 tree for_stmt; local
/netbsd-current/external/gpl3/gcc.old/dist/gcc/cp/
H A Dcoroutines.cc3651 tree for_stmt = *stmt; local
3653 if ((res = cp_walk_tree (&FOR_INIT_STMT (for_stmt),
3658 if ((res = cp_walk_tree (&FOR_COND (for_stmt),
3664 if ((res = cp_walk_tree (&FOR_EXPR (for_stmt),
3682 coro_build_add_if_not_cond_break (FOR_COND (for_stmt));
3684 add_stmt (FOR_BODY (for_stmt));
3686 FOR_BODY (for_stmt) = pop_stmt_list (insert_list);
3687 FOR_COND (for_stmt) = boolean_true_node;
3701 location_t sloc = EXPR_LOCATION (FOR_EXPR (for_stmt));
3704 add_stmt (FOR_BODY (for_stmt));
[all...]
H A Dsemantics.c1038 finish_init_stmt (tree for_stmt) argument
1041 FOR_INIT_STMT (for_stmt) = pop_stmt_list (FOR_INIT_STMT (for_stmt));
1042 add_stmt (for_stmt);
1043 FOR_BODY (for_stmt) = do_pushlevel (sk_block);
1044 begin_cond (&FOR_COND (for_stmt));
1051 finish_for_cond (tree cond, tree for_stmt, bool ivdep, unsigned short unroll) argument
1054 finish_cond (&FOR_COND (for_stmt), cond);
1057 FOR_COND (for_stmt) = build3 (ANNOTATE_EXPR,
1058 TREE_TYPE (FOR_COND (for_stmt)),
1078 finish_for_expr(tree expr, tree for_stmt) argument
1111 finish_for_stmt(tree for_stmt) argument
[all...]
H A Dinit.c4577 tree for_stmt;
4581 for_stmt = begin_for_stmt (NULL_TREE, NULL_TREE);
4582 finish_init_stmt (for_stmt); local
4585 for_stmt, false, 0);
4590 finish_for_expr (elt_init, for_stmt);
4724 finish_for_stmt (for_stmt);
4574 tree for_stmt; local
H A Dcp-gimplify.c469 tree for_stmt = *expr_p; local
473 if (OMP_FOR_GIMPLIFYING_P (for_stmt))
475 OMP_FOR_GIMPLIFYING_P (for_stmt) = 1;
477 gimplify_and_add (for_stmt, &seq);
480 OMP_FOR_GIMPLIFYING_P (for_stmt) = 0;

Completed in 701 milliseconds