[PATCH] D94806: [OpenMP] Add support for mapping names in mapper API

Joseph Huber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 15 10:16:03 PST 2021


jhuber6 created this revision.
jhuber6 added a reviewer: jdoerfert.
Herald added subscribers: guansong, yaxunl.
jhuber6 requested review of this revision.
Herald added subscribers: llvm-commits, openmp-commits, cfe-commits, sstefan1.
Herald added projects: clang, OpenMP, LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D94806

Files:
  clang/lib/CodeGen/CGOpenMPRuntime.cpp
  clang/test/OpenMP/declare_mapper_codegen.cpp
  clang/test/OpenMP/target_depend_codegen.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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94806.317011.patch
Type: text/x-patch
Size: 36166 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210115/7cab4ffb/attachment-0001.bin>


More information about the llvm-commits mailing list