OSDN Git Service

[OpenMP] Add support for mapping names in mapper API
authorJoseph Huber <jhuber6@vols.utk.edu>
Fri, 15 Jan 2021 18:09:35 +0000 (13:09 -0500)
committerHuber, Joseph <huberjn@ornl.gov>
Thu, 21 Jan 2021 14:26:44 +0000 (09:26 -0500)
commite4eaf9d82064901ff028332d1644eddafac73f69
treeb94993c746b6a288e3e61440d637721bd6bb6f9d
parent20566a2ed825c05d56708552d33d95ee12255f46
[OpenMP] Add support for mapping names in mapper API

Summary:
The custom mapper API did not previously support the mapping names added previously. This means they were not present if a user requested debugging information while using the mapper functions. This adds basic support for passing the mapped names to the runtime library.

Reviewers: jdoerfert

Differential Revision: https://reviews.llvm.org/D94806
clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/test/OpenMP/declare_mapper_codegen.cpp
clang/test/OpenMP/target_depend_codegen.cpp
clang/test/OpenMP/target_map_names.cpp
llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
llvm/test/Transforms/OpenMP/add_attributes.ll
openmp/libomptarget/src/interface.cpp
openmp/libomptarget/src/omptarget.cpp
openmp/libomptarget/src/private.h
openmp/libomptarget/test/mapping/declare_mapper_api.cpp