llvm-project/flang/lib/Optimizer
Kiran Chandramohan 07e16a2aae [Flang][OpenMP] Add implementation of privatisation
Privatisation creates local copies of variables in the OpenMP region.
Two functions `createHostAssociateVarClone` and `copyHostAssociateVar`
are added to create a clone of the variable for basic privatisation and to
copy the contents for first-privatisation.

Note: Tests for more data-types will be added when the fir.do_loop is
upstreamed.

This is part of the upstreaming effort from the fir-dev branch in [1].
[1] https://github.com/flang-compiler/f18-llvm-project

Reviewed By: peixin, NimishMishra

Differential Revision: https://reviews.llvm.org/D122595

Co-authored-by: Jean Perier <jperier@nvidia.com>
Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>
Co-authored-by: Peter Klausler <pklausler@nvidia.com>
Co-authored-by: Valentin Clement <clementval@gmail.com>
Co-authored-by: Sourabh Singh Tomar <SourabhSingh.Tomar@amd.com>
Co-authored-by: Nimish Mishra <neelam.nimish@gmail.com>
Co-authored-by: Peixin-Qiao <qiaopeixin@huawei.com>
2022-04-11 09:20:22 +00:00
..
Builder [Flang][OpenMP] Add implementation of privatisation 2022-04-11 09:20:22 +00:00
CodeGen [flang] Fix fir.embox codegen with constant interior shape 2022-04-05 17:27:03 +02:00
Dialect [flang] Do not fold fir.box_addr when it has a slice 2022-04-08 21:16:55 +02:00
Support [flang][driver] Add support for -S and implement -c/-emit-obj 2022-03-09 15:48:09 +00:00
Transforms [mlir] Rework the implementation of TypeID 2022-04-04 13:52:26 -07:00
.clang-format [flang] [LLVMify F18] Compiler module folders should have capitalised names (flang-compiler/f18#980) 2020-02-25 07:11:52 -08:00
.clang-tidy Revert "[fir] Update clang-tidy for the Optimizer directory" 2021-10-13 09:29:54 +02:00
CMakeLists.txt [fir] Add the DoLoopHelper 2021-10-13 21:48:45 +02:00