Lines Matching defs:ws_stmt
175 gimple *ws_stmt = last_stmt (ws_entry_bb);
177 if (gimple_code (ws_stmt) == GIMPLE_OMP_SECTIONS)
180 gcc_assert (gimple_code (ws_stmt) == GIMPLE_OMP_FOR);
181 if (gimple_omp_for_kind (ws_stmt) != GF_OMP_FOR_KIND_FOR)
184 omp_extract_for_data (as_a <gomp_for *> (ws_stmt), &fd, NULL);
226 parallel+workshare call. WS_STMT is the workshare directive being
230 get_ws_args_for (gimple *par_stmt, gimple *ws_stmt)
233 location_t loc = gimple_location (ws_stmt);
236 if (gomp_for *for_stmt = dyn_cast <gomp_for *> (ws_stmt))
278 else if (gimple_code (ws_stmt) == GIMPLE_OMP_SECTIONS)
283 basic_block bb = single_succ (gimple_bb (ws_stmt));
334 gimple *ws_stmt = last_stmt (ws_entry_bb);
347 tree clauses = gimple_omp_for_clauses (ws_stmt);
359 && (omp_find_clause (gimple_omp_sections_clauses (ws_stmt),
361 || omp_find_clause (gimple_omp_sections_clauses (ws_stmt),
367 region->ws_args = get_ws_args_for (par_stmt, ws_stmt);