]> granicus.if.org Git - clang/commit
[OPENMP] Capture argument of `device` clause for target-based
authorAlexey Bataev <a.bataev@hotmail.com>
Mon, 2 Oct 2017 16:32:39 +0000 (16:32 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Mon, 2 Oct 2017 16:32:39 +0000 (16:32 +0000)
commit3ac9cc204042907aa7a1665d10ace04995f15456
tree38bfe9ffdd86dcaebe83282691cc6daded563abf
parent4e0b56c202361f464daadc14e860a7842f7edbb2
[OPENMP] Capture argument of `device` clause for target-based
directives.

The argument of the `device` clause in target-based executable
directives must be captured to support codegen for the `target`
directives with the `depend` clauses.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@314686 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/OpenMPClause.h
include/clang/AST/RecursiveASTVisitor.h
lib/AST/OpenMPClause.cpp
lib/CodeGen/CGStmtOpenMP.cpp
lib/Sema/SemaOpenMP.cpp
lib/Serialization/ASTReaderStmt.cpp
lib/Serialization/ASTWriterStmt.cpp
test/OpenMP/target_codegen.cpp