Home | History | Annotate | Download | only in gcc

Lines Matching defs:clause

1310   tree clause, decl, *pdecl;
1317 for (clause = *pclauses; clause ; clause = OMP_CLAUSE_CHAIN (clause))
1320 switch (OMP_CLAUSE_CODE (clause))
1325 if (OMP_CLAUSE_REDUCTION_PLACEHOLDER (clause))
1327 if (TREE_CODE (OMP_CLAUSE_DECL (clause)) == MEM_REF)
1329 pdecl = &TREE_OPERAND (OMP_CLAUSE_DECL (clause), 0);
1339 if (OMP_CLAUSE_LASTPRIVATE_GIMPLE_SEQ (clause))
1344 if (OMP_CLAUSE_LINEAR_GIMPLE_SEQ (clause))
1348 convert_nonlocal_reference_op (&OMP_CLAUSE_LINEAR_STEP (clause),
1365 pdecl = &OMP_CLAUSE_DECL (clause);
1372 if (OMP_CLAUSE_CODE (clause) == OMP_CLAUSE_SHARED)
1373 OMP_CLAUSE_SHARED_READONLY (clause) = 0;
1376 if (OMP_CLAUSE_CODE (clause) != OMP_CLAUSE_PRIVATE)
1382 if (OMP_CLAUSE_SCHEDULE_CHUNK_EXPR (clause) == NULL)
1409 if (OMP_CLAUSE_OPERAND (clause, 0))
1413 convert_nonlocal_reference_op (&OMP_CLAUSE_OPERAND (clause, 0),
1417 /* The gang clause accepts two arguments. */
1418 if (OMP_CLAUSE_CODE (clause) == OMP_CLAUSE_GANG
1419 && OMP_CLAUSE_GANG_STATIC_EXPR (clause))
1424 (&OMP_CLAUSE_GANG_STATIC_EXPR (clause), &dummy, wi);
1429 if (OMP_CLAUSE_DIST_SCHEDULE_CHUNK_EXPR (clause) != NULL)
1433 convert_nonlocal_reference_op (&OMP_CLAUSE_OPERAND (clause, 0),
1441 if (OMP_CLAUSE_SIZE (clause))
1445 convert_nonlocal_reference_op (&OMP_CLAUSE_SIZE (clause),
1448 if (DECL_P (OMP_CLAUSE_DECL (clause)))
1452 walk_tree (&OMP_CLAUSE_DECL (clause), convert_nonlocal_reference_op,
1457 if (OMP_CLAUSE_ALIGNED_ALIGNMENT (clause))
1462 (&OMP_CLAUSE_ALIGNED_ALIGNMENT (clause), &dummy, wi);
1468 decl = OMP_CLAUSE_DECL (clause);
1474 OMP_CLAUSE_DECL (clause) = get_nonlocal_debug_decl (info, decl);
1480 if (OMP_CLAUSE_ALLOCATE_ALLOCATOR (clause))
1485 (&OMP_CLAUSE_ALLOCATE_ALLOCATOR (clause), &dummy, wi);
1513 /* The following clause belongs to the OpenACC cache directive, which
1546 for (clause = *pclauses; clause ; clause = OMP_CLAUSE_CHAIN (clause))
1547 switch (OMP_CLAUSE_CODE (clause))
1552 if (OMP_CLAUSE_REDUCTION_PLACEHOLDER (clause))
1555 = DECL_CONTEXT (OMP_CLAUSE_REDUCTION_PLACEHOLDER (clause));
1556 DECL_CONTEXT (OMP_CLAUSE_REDUCTION_PLACEHOLDER (clause))
1558 if (OMP_CLAUSE_REDUCTION_DECL_PLACEHOLDER (clause))
1559 DECL_CONTEXT (OMP_CLAUSE_REDUCTION_DECL_PLACEHOLDER (clause))
1563 gimple_seq *seq = &OMP_CLAUSE_REDUCTION_GIMPLE_INIT (clause);
1570 seq = &OMP_CLAUSE_REDUCTION_GIMPLE_MERGE (clause);
1577 DECL_CONTEXT (OMP_CLAUSE_REDUCTION_PLACEHOLDER (clause))
1579 if (OMP_CLAUSE_REDUCTION_DECL_PLACEHOLDER (clause))
1580 DECL_CONTEXT (OMP_CLAUSE_REDUCTION_DECL_PLACEHOLDER (clause))
1591 if (OMP_CLAUSE_CODE (clause) == OMP_CLAUSE_LASTPRIVATE)
1592 seq = &OMP_CLAUSE_LASTPRIVATE_GIMPLE_SEQ (clause);
1594 seq = &OMP_CLAUSE_LINEAR_GIMPLE_SEQ (clause);
2082 tree clause, decl, *pdecl;
2089 for (clause = *pclauses; clause ; clause = OMP_CLAUSE_CHAIN (clause))
2092 switch (OMP_CLAUSE_CODE (clause))
2097 if (OMP_CLAUSE_REDUCTION_PLACEHOLDER (clause))
2099 if (TREE_CODE (OMP_CLAUSE_DECL (clause)) == MEM_REF)
2101 pdecl = &TREE_OPERAND (OMP_CLAUSE_DECL (clause), 0);
2111 if (OMP_CLAUSE_LASTPRIVATE_GIMPLE_SEQ (clause))
2116 if (OMP_CLAUSE_LINEAR_GIMPLE_SEQ (clause))
2120 convert_local_reference_op (&OMP_CLAUSE_LINEAR_STEP (clause), &dummy,
2137 pdecl = &OMP_CLAUSE_DECL (clause);
2148 if (OMP_CLAUSE_CODE (clause) == OMP_CLAUSE_SHARED)
2149 OMP_CLAUSE_SHARED_READONLY (clause) = 0;
2158 if (OMP_CLAUSE_SCHEDULE_CHUNK_EXPR (clause) == NULL)
2185 if (OMP_CLAUSE_OPERAND (clause, 0))
2189 convert_local_reference_op (&OMP_CLAUSE_OPERAND (clause, 0),
2193 /* The gang clause accepts two arguments. */
2194 if (OMP_CLAUSE_CODE (clause) == OMP_CLAUSE_GANG
2195 && OMP_CLAUSE_GANG_STATIC_EXPR (clause))
2200 (&OMP_CLAUSE_GANG_STATIC_EXPR (clause), &dummy, wi);
2205 if (OMP_CLAUSE_DIST_SCHEDULE_CHUNK_EXPR (clause) != NULL)
2209 convert_local_reference_op (&OMP_CLAUSE_OPERAND (clause, 0),
2217 if (OMP_CLAUSE_SIZE (clause))
2221 convert_local_reference_op (&OMP_CLAUSE_SIZE (clause),
2224 if (DECL_P (OMP_CLAUSE_DECL (clause)))
2228 walk_tree (&OMP_CLAUSE_DECL (clause), convert_local_reference_op,
2233 if (OMP_CLAUSE_ALIGNED_ALIGNMENT (clause))
2238 (&OMP_CLAUSE_ALIGNED_ALIGNMENT (clause), &dummy, wi);
2244 decl = OMP_CLAUSE_DECL (clause);
2254 OMP_CLAUSE_DECL (clause)
2262 if (OMP_CLAUSE_ALLOCATE_ALLOCATOR (clause))
2267 (&OMP_CLAUSE_ALLOCATE_ALLOCATOR (clause), &dummy, wi);
2295 /* The following clause belongs to the OpenACC cache directive, which
2328 for (clause = *pclauses; clause ; clause = OMP_CLAUSE_CHAIN (clause))
2329 switch (OMP_CLAUSE_CODE (clause))
2334 if (OMP_CLAUSE_REDUCTION_PLACEHOLDER (clause))
2337 = DECL_CONTEXT (OMP_CLAUSE_REDUCTION_PLACEHOLDER (clause));
2338 DECL_CONTEXT (OMP_CLAUSE_REDUCTION_PLACEHOLDER (clause))
2340 if (OMP_CLAUSE_REDUCTION_DECL_PLACEHOLDER (clause))
2341 DECL_CONTEXT (OMP_CLAUSE_REDUCTION_DECL_PLACEHOLDER (clause))
2345 &OMP_CLAUSE_REDUCTION_GIMPLE_INIT (clause));
2348 &OMP_CLAUSE_REDUCTION_GIMPLE_MERGE (clause));
2349 DECL_CONTEXT (OMP_CLAUSE_REDUCTION_PLACEHOLDER (clause))
2351 if (OMP_CLAUSE_REDUCTION_DECL_PLACEHOLDER (clause))
2352 DECL_CONTEXT (OMP_CLAUSE_REDUCTION_DECL_PLACEHOLDER (clause))
2360 &OMP_CLAUSE_LASTPRIVATE_GIMPLE_SEQ (clause));
2366 &OMP_CLAUSE_LINEAR_GIMPLE_SEQ (clause));