1 ! RUN: %S/test_symbols.sh %s %t %flang_fc1 -fopenmp
4 ! 2.15.2 threadprivate Directive
5 ! The threadprivate directive specifies that variables are replicated,
6 ! with each thread having its own copy. When threadprivate variables are
7 ! referenced in the OpenMP region, we know they are already private to
8 ! their threads, so no new symbol needs to be created.
12 !$omp threadprivate (i)
14 !DEF: /mm/foo PUBLIC (Subroutine) Subprogram
16 !DEF: /mm/foo/a ObjectEntity INTEGER(4)
21 !DEF: /mm/i PUBLIC (Implicit, OmpThreadprivate) ObjectEntity INTEGER(4)
28 !DEF: /mm/foo/Block2/i ObjectEntity REAL(4)
30 !REF: /mm/foo/Block2/i
39 !DEF: /tt/foo (Subroutine) Use