[PATCH] D43026: [OpenMP] Support for implicit "declare target" functions - CodeGen patch

George Rokos via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 7 08:44:10 PST 2018


grokos created this revision.
grokos added a reviewer: ABataev.
grokos added projects: clang, OpenMP.
Herald added a subscriber: guansong.

This patch implements CodeGen support for the "declare target" directive.

Code is generated for variables, functions and ctors/dtors.

I understand that the patch as a whole is somewhat large; if this is the case and it cannot land in one go then let's discuss how it can be split. Due to this uncertainty I haven't included any regression tests, I'll upload them once the scope of each patch has been determined.


Repository:
  rC Clang

https://reviews.llvm.org/D43026

Files:
  lib/CodeGen/CGCXXABI.h
  lib/CodeGen/CGDeclCXX.cpp
  lib/CodeGen/CGOpenMPRuntime.cpp
  lib/CodeGen/CGOpenMPRuntime.h
  lib/CodeGen/CodeGenFunction.h
  lib/CodeGen/CodeGenModule.cpp
  lib/CodeGen/ItaniumCXXABI.cpp
  lib/CodeGen/MicrosoftCXXABI.cpp
  lib/Parse/ParseOpenMP.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43026.133223.patch
Type: text/x-patch
Size: 59969 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180207/12b90013/attachment-0001.bin>


More information about the cfe-commits mailing list