]> granicus.if.org Git - clang/commit
[Driver][OpenMP] Add logic for offloading-specific argument translation.
authorSamuel Antao <sfantao@us.ibm.com>
Thu, 27 Oct 2016 17:39:44 +0000 (17:39 +0000)
committerSamuel Antao <sfantao@us.ibm.com>
Thu, 27 Oct 2016 17:39:44 +0000 (17:39 +0000)
commit1e029acdeb176aa3255c362f9f9ebe98ddb05134
tree677164ddde6f99704ce41617ee548b54a5ce0bf5
parent8b914baa74fb96372de859f90d108bb8535d121c
[Driver][OpenMP] Add logic for offloading-specific argument translation.

Summary:
This patch includes support for argument translation that is specific of a given offloading kind. Additionally, it implements the translation for OpenMP device kinds in the gcc tool chain.

With this patch, it is possible to compile a functional OpenMP application with offloading capabilities with no separate compilation.

Reviewers: echristo, tra, jlebar, rsmith, ABataev, hfinkel

Subscribers: whchung, mehdi_amini, cfe-commits, Hahnfeld, andreybokhanko, arpith-jacob, carlo.bertolli, caomhin

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@285320 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Compilation.h
include/clang/Driver/ToolChain.h
lib/Driver/Compilation.cpp
lib/Driver/Driver.cpp
lib/Driver/MSVCToolChain.cpp
lib/Driver/ToolChains.cpp
lib/Driver/ToolChains.h
test/Driver/openmp-offload.c