1 ! RUN: %python %S/test_symbols.py %s %flang_fc1 -fopenmp
3 ! 2.15.3.6 Reduction Clause Positive cases
5 !DEF: /omp_reduction MainProgram
7 !DEF: /omp_reduction/i ObjectEntity INTEGER(4)
9 !DEF: /omp_reduction/k ObjectEntity INTEGER(4)
11 !DEF: /omp_reduction/m ObjectEntity INTEGER(4)
13 !$omp parallel do reduction(max:k)
14 !DEF: /omp_reduction/Block1/i (OmpPrivate, OmpPreDetermined) HostAssoc INTEGER(4)
16 !DEF: /omp_reduction/Block1/k (OmpReduction) HostAssoc INTEGER(4)
17 !DEF: /omp_reduction/max ELEMENTAL, INTRINSIC, PURE (Function) ProcEntity
18 !REF: /omp_reduction/m
23 !$omp parallel do reduction(min:k)
24 !DEF: /omp_reduction/Block2/i (OmpPrivate, OmpPreDetermined) HostAssoc INTEGER(4)
26 !DEF: /omp_reduction/Block2/k (OmpReduction) HostAssoc INTEGER(4)
27 !DEF: /omp_reduction/min ELEMENTAL, INTRINSIC, PURE (Function) ProcEntity
28 !REF: /omp_reduction/m
33 !$omp parallel do reduction(iand:k)
34 !DEF: /omp_reduction/Block3/i (OmpPrivate, OmpPreDetermined) HostAssoc INTEGER(4)
36 !DEF: /omp_reduction/Block3/k (OmpReduction) HostAssoc INTEGER(4)
37 !DEF: /omp_reduction/iand ELEMENTAL, INTRINSIC, PURE (Function) ProcEntity
38 !REF: /omp_reduction/m
43 !$omp parallel do reduction(ior:k)
44 !DEF: /omp_reduction/Block4/i (OmpPrivate, OmpPreDetermined) HostAssoc INTEGER(4)
46 !DEF: /omp_reduction/Block4/k (OmpReduction) HostAssoc INTEGER(4)
47 !DEF: /omp_reduction/ior ELEMENTAL, INTRINSIC, PURE (Function) ProcEntity
48 !REF: /omp_reduction/m
53 !$omp parallel do reduction(ieor:k)
54 !DEF: /omp_reduction/Block5/i (OmpPrivate, OmpPreDetermined) HostAssoc INTEGER(4)
56 !DEF: /omp_reduction/Block5/k (OmpReduction) HostAssoc INTEGER(4)
57 !DEF: /omp_reduction/ieor ELEMENTAL, INTRINSIC, PURE (Function) ProcEntity
58 !REF: /omp_reduction/m
63 end program omp_reduction