aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorKiran Chandramohan <kiran.chandramohan@arm.com>2022-04-11 09:05:00 +0000
committerKiran Chandramohan <kiran.chandramohan@arm.com>2022-04-11 09:20:22 +0000
commit07e16a2aae68a02629cbcb34a0c0b12cb84754f8 (patch)
tree888f68f0838536030b8b4a00e3ed386a68ade817 /llvm/lib/CodeGen/CodeGen.cpp
parent702d5de4380b1e1554e5b90863093c3a57f76f70 (diff)
downloadllvm-07e16a2aae68a02629cbcb34a0c0b12cb84754f8.zip
llvm-07e16a2aae68a02629cbcb34a0c0b12cb84754f8.tar.gz
llvm-07e16a2aae68a02629cbcb34a0c0b12cb84754f8.tar.bz2
[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>
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions