llvm-project/flang/test/Lower/OpenMP
Peixin-Qiao 27afb362b1 [flang][OpenMP] Initial support the lowering of copyin clause
This supports the lowering of copyin clause initially. The pointer,
allocatable, common block, polymorphic varaibles will be supported
later.

This also includes the following changes:

1. Resolve the COPYIN clause and make the entity as host associated.

2. Fix collectSymbolSet by adding one option to control collecting the
   symbol itself or ultimate symbol of it so that it can be used
   explicitly differentiate the host and associated variables in
   host-association.

3. Add one helper function `lookupOneLevelUpSymbol` to differentiate the
   usage of host and associated variables explicitly. The previous
   lowering of firstprivate depends on the order of
   `createHostAssociateVarClone` and `lookupSymbol` of host symbol. With
   this fix, this dependence is removed.

4. Reuse `copyHostAssociateVar` for copying operation of COPYIN clause.

Reviewed By: kiranchandramohan, NimishMishra

Differential Revision: https://reviews.llvm.org/D127468
2022-06-24 15:33:09 +08:00
..
Todo [flang][OpenMP] Support lowering parse-tree to MLIR for threadprivate directive 2022-06-07 15:08:17 +08:00
atomic-read.f90 [flang][OpenMP] Fix pointer variables in atomic read/write 2022-05-28 16:41:14 +08:00
atomic-write.f90 [flang][OpenMP] Fix pointer variables in atomic read/write 2022-05-28 16:41:14 +08:00
copyin.f90 [flang][OpenMP] Initial support the lowering of copyin clause 2022-06-24 15:33:09 +08:00
critical.f90 [mlir][OpenMP] Add checks and tests for hint clause and fix empty hint 2022-04-21 07:31:03 +05:30
flush.f90 [Flang,MLIR,OpenMP] Fix a few tests that were not converting to LLVM 2022-06-07 09:55:53 +00:00
master.f90 [flang] Flush and master constructs 2022-03-23 10:04:46 +05:30
omp-ordered-threads.f90 [flang] Update tests for opaque pointers 2022-06-02 12:05:37 +02:00
omp-parallel-firstprivate-clause-scalar.f90 [flang][OpenMP] Fix firstprivate with barrier 2022-06-21 10:06:05 +05:30
omp-parallel-private-clause-fixes.f90 [Flang][OpenMP] Avoid double privatisation of loop variables 2022-06-13 16:27:34 +00:00
omp-parallel-private-clause.f90 [Flang][OpenMP] Add implementation of privatisation 2022-04-11 09:20:22 +00:00
omp-parallel-wsloop.f90 [flang][OpenMP] Fix firstprivate with barrier 2022-06-21 10:06:05 +05:30
omp-unstructured.f90 [flang]Add support for do concurrent 2022-06-13 12:28:49 +01:00
omp-wsloop-chunks.f90 [flang][OpenMP]Make omp.wsloop arguments appear in memory (#1277) 2022-06-01 17:20:06 +01:00
omp-wsloop-collapse.f90 [flang][OpenMP]Make omp.wsloop arguments appear in memory (#1277) 2022-06-01 17:20:06 +01:00
omp-wsloop-monotonic.f90 [Flang][OpenMP] Lower schedule modifiers for worksharing loop 2022-06-09 09:45:14 +00:00
omp-wsloop-nonmonotonic.f90 [Flang][OpenMP] Lower schedule modifiers for worksharing loop 2022-06-09 09:45:14 +00:00
omp-wsloop-ordered.f90 [flang][OpenMP] Support lowering to MLIR for ordered clause 2022-05-17 15:07:52 +08:00
omp-wsloop-simd.f90 [Flang][OpenMP] Lower schedule modifiers for worksharing loop 2022-06-09 09:45:14 +00:00
omp-wsloop-variable.f90 [flang][OpenMP]Make omp.wsloop arguments appear in memory (#1277) 2022-06-01 17:20:06 +01:00
omp-wsloop.f90 [flang][OpenMP]Make omp.wsloop arguments appear in memory (#1277) 2022-06-01 17:20:06 +01:00
parallel-sections.f90 [Flang,MLIR,OpenMP] Fix a few tests that were not converting to LLVM 2022-06-07 09:55:53 +00:00
parallel.f90 [Flang,MLIR,OpenMP] Fix a few tests that were not converting to LLVM 2022-06-07 09:55:53 +00:00
pre-fir-tree01.f90
sections-pft.f90 [flang][Parser] Add a node for individual sections in sections construct 2022-03-18 21:55:35 +05:30
sections.f90 [flang][OpenMP][NFC] Cleanup the sections tests 2022-05-27 18:50:11 +05:30
simd.f90 [Flang][OpenMP] Implementation of lowering of SIMD construct. 2022-06-13 09:46:20 -04:00
simple-barrier.f90
single.f90 [Flang,MLIR,OpenMP] Fix a few tests that were not converting to LLVM 2022-06-07 09:55:53 +00:00
task.f90 [flang][OpenMP] Lowering for task construct 2022-05-10 10:42:08 +05:30
taskwait.f90 [flang] Added tests for taskwait and taskyield translation 2022-05-02 10:48:03 +05:30
taskyield.f90 [flang] Added tests for taskwait and taskyield translation 2022-05-02 10:48:03 +05:30
threadprivate-char-array-chararray.f90 [flang][OpenMP] Support lowering parse-tree to MLIR for threadprivate directive 2022-06-07 15:08:17 +08:00
threadprivate-commonblock.f90 [flang][OpenMP] Support lowering parse-tree to MLIR for threadprivate directive 2022-06-07 15:08:17 +08:00
threadprivate-integer-different-kinds.f90 [flang][OpenMP] Support lowering parse-tree to MLIR for threadprivate directive 2022-06-07 15:08:17 +08:00
threadprivate-pointer-allocatable.f90 [flang][OpenMP] Support lowering parse-tree to MLIR for threadprivate directive 2022-06-07 15:08:17 +08:00
threadprivate-real-logical-complex-derivedtype.f90 [flang][OpenMP] Support lowering parse-tree to MLIR for threadprivate directive 2022-06-07 15:08:17 +08:00
threadprivate-use-association.f90 [flang][OpenMP] Support lowering parse-tree to MLIR for threadprivate directive 2022-06-07 15:08:17 +08:00