[PATCH] D11361: [OpenMP] Target directive host codegen
Samuel Antao via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 14 19:31:46 PDT 2015
sfantao updated this revision to Diff 32211.
sfantao added a comment.
This patch tries to avoid as much as possible changing the common infrastructure, by adapting the CapturedDecl creation in SEMA and by adding support to a second type of capture - ImplicitParamDecl (on top of the existent FieldDecl).
Also adds codegen for device clause as the Parsing and SEMA support was added in the meantime.
The regression test was not updated yet. I wanted to make sure the direction this is taking is approved before diving into that.
Thanks!
Samuel
http://reviews.llvm.org/D11361
Files:
include/clang/AST/Decl.h
include/clang/AST/Stmt.h
include/clang/Basic/CapturedStmt.h
include/clang/Sema/ScopeInfo.h
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CGOpenMPRuntime.cpp
lib/CodeGen/CGOpenMPRuntime.h
lib/CodeGen/CGStmt.cpp
lib/CodeGen/CGStmtOpenMP.cpp
lib/CodeGen/CodeGenFunction.cpp
lib/CodeGen/CodeGenFunction.h
lib/Sema/SemaOpenMP.cpp
test/OpenMP/target_codegen.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11361.32211.patch
Type: text/x-patch
Size: 64692 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150815/373f9a7c/attachment-0001.bin>
More information about the cfe-commits
mailing list