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/OtherConstruct1/i (OmpPrivate, OmpPreDetermined) HostAssoc INTEGER(4)
16 !DEF: /omp_reduction/OtherConstruct1/k (OmpReduction) HostAssoc INTEGER(4)
17 !DEF: /omp_reduction/max ELEMENTAL, INTRINSIC, PURE (Function) ProcEntity
18 !DEF: /omp_reduction/OtherConstruct1/m HostAssoc INTEGER(4)
23 !$omp parallel do reduction(min:k)
24 !DEF: /omp_reduction/OtherConstruct2/i (OmpPrivate, OmpPreDetermined) HostAssoc INTEGER(4)
26 !DEF: /omp_reduction/OtherConstruct2/k (OmpReduction) HostAssoc INTEGER(4)
27 !DEF: /omp_reduction/min ELEMENTAL, INTRINSIC, PURE (Function) ProcEntity
28 !DEF: /omp_reduction/OtherConstruct2/m HostAssoc INTEGER(4)
33 !$omp parallel do reduction(iand:k)
34 !DEF: /omp_reduction/OtherConstruct3/i (OmpPrivate, OmpPreDetermined) HostAssoc INTEGER(4)
36 !DEF: /omp_reduction/OtherConstruct3/k (OmpReduction) HostAssoc INTEGER(4)
37 !DEF: /omp_reduction/iand ELEMENTAL, INTRINSIC, PURE (Function) ProcEntity
38 !DEF: /omp_reduction/OtherConstruct3/m HostAssoc INTEGER(4)
43 !$omp parallel do reduction(ior:k)
44 !DEF: /omp_reduction/OtherConstruct4/i (OmpPrivate, OmpPreDetermined) HostAssoc INTEGER(4)
46 !DEF: /omp_reduction/OtherConstruct4/k (OmpReduction) HostAssoc INTEGER(4)
47 !DEF: /omp_reduction/ior ELEMENTAL, INTRINSIC, PURE (Function) ProcEntity
48 !DEF: /omp_reduction/OtherConstruct4/m HostAssoc INTEGER(4)
53 !$omp parallel do reduction(ieor:k)
54 !DEF: /omp_reduction/OtherConstruct5/i (OmpPrivate, OmpPreDetermined) HostAssoc INTEGER(4)
56 !DEF: /omp_reduction/OtherConstruct5/k (OmpReduction) HostAssoc INTEGER(4)
57 !DEF: /omp_reduction/ieor ELEMENTAL, INTRINSIC, PURE (Function) ProcEntity
58 !DEF: /omp_reduction/OtherConstruct5/m HostAssoc INTEGER(4)
63 end program omp_reduction