summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGStmtOpenMP.cpp
diff options
context:
space:
mode:
authorArpith Chacko Jacob <acjacob@us.ibm.com>2016-02-03 15:46:42 +0000
committerArpith Chacko Jacob <acjacob@us.ibm.com>2016-02-03 15:46:42 +0000
commit05bebb578a54774d9fc530600157dcf8bbd09532 (patch)
tree47f8b62ccca6d89437e7dbeeddb0f231bab50ebf /clang/lib/CodeGen/CGStmtOpenMP.cpp
parent23aea0d5d056d51070dc68ce609ee3c5b6eb5a38 (diff)
downloadbcm5719-llvm-05bebb578a54774d9fc530600157dcf8bbd09532.tar.gz
bcm5719-llvm-05bebb578a54774d9fc530600157dcf8bbd09532.zip
[OpenMP] Parsing + sema for target parallel for directive.
Summary: This patch adds parsing + sema for the target parallel for directive along with testcases. Reviewers: ABataev Differential Revision: http://reviews.llvm.org/D16759 llvm-svn: 259654
Diffstat (limited to 'clang/lib/CodeGen/CGStmtOpenMP.cpp')
-rw-r--r--clang/lib/CodeGen/CGStmtOpenMP.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGStmtOpenMP.cpp b/clang/lib/CodeGen/CGStmtOpenMP.cpp
index a43263d4a63..dbfc5e2cb27 100644
--- a/clang/lib/CodeGen/CGStmtOpenMP.cpp
+++ b/clang/lib/CodeGen/CGStmtOpenMP.cpp
@@ -2715,6 +2715,11 @@ void CodeGenFunction::EmitOMPTargetParallelDirective(
// TODO: codegen for target parallel.
}
+void CodeGenFunction::EmitOMPTargetParallelForDirective(
+ const OMPTargetParallelForDirective &S) {
+ // TODO: codegen for target parallel for.
+}
+
void CodeGenFunction::EmitOMPTaskLoopDirective(const OMPTaskLoopDirective &S) {
// emit the code inside the construct for now
auto CS = cast<CapturedStmt>(S.getAssociatedStmt());
OpenPOWER on IntegriCloud