]> granicus.if.org Git - clang/commit
[OpenMP] Target directive host codegen.
authorSamuel Antao <sfantao@us.ibm.com>
Fri, 2 Oct 2015 16:14:20 +0000 (16:14 +0000)
committerSamuel Antao <sfantao@us.ibm.com>
Fri, 2 Oct 2015 16:14:20 +0000 (16:14 +0000)
commit681d40a833834d99a54c9f9d65a278ba2bf8b55a
treebcd78f8bdc7efc507d10b749f4fdf2fb80326b63
parentfd64a767855aba42b9812ec945a8ca996d9a3937
[OpenMP] Target directive host codegen.

This patch implements the outlining for offloading functions for code
annotated with the OpenMP target directive. It uses a temporary naming
of the outlined functions that will have to be updated later on once
target side codegen and registration of offloading libraries is
implemented - the naming needs to be made unique in the produced
library.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@249148 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGOpenMPRuntime.cpp
lib/CodeGen/CGOpenMPRuntime.h
lib/CodeGen/CGStmtOpenMP.cpp
lib/CodeGen/CodeGenFunction.h
test/OpenMP/target_codegen.cpp [new file with mode: 0644]