summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtProfile.cpp
diff options
context:
space:
mode:
authorKelvin Li <kkwli0@gmail.com>2016-07-05 05:00:15 +0000
committerKelvin Li <kkwli0@gmail.com>2016-07-05 05:00:15 +0000
commit4a39add05e01347f7e0683835c27a56bf1c29275 (patch)
tree8b74095e990246aed86a04d4c5af903c46c82664 /clang/lib/AST/StmtProfile.cpp
parent4d3626ed3192400bea0f8de5762715822907eae4 (diff)
downloadbcm5719-llvm-4a39add05e01347f7e0683835c27a56bf1c29275.tar.gz
bcm5719-llvm-4a39add05e01347f7e0683835c27a56bf1c29275.zip
[OpenMP] Sema and parse for 'distribute parallel for simd'
Summary: This patch is an implementation of sema and parsing for the OpenMP composite pragma 'distribute parallel for simd'. Differential Revision: http://reviews.llvm.org/D21977 llvm-svn: 274530
Diffstat (limited to 'clang/lib/AST/StmtProfile.cpp')
-rw-r--r--clang/lib/AST/StmtProfile.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/AST/StmtProfile.cpp b/clang/lib/AST/StmtProfile.cpp
index c66a077996a..79de33a8bf8 100644
--- a/clang/lib/AST/StmtProfile.cpp
+++ b/clang/lib/AST/StmtProfile.cpp
@@ -704,6 +704,11 @@ void StmtProfiler::VisitOMPDistributeParallelForDirective(
VisitOMPLoopDirective(S);
}
+void StmtProfiler::VisitOMPDistributeParallelForSimdDirective(
+ const OMPDistributeParallelForSimdDirective *S) {
+ VisitOMPLoopDirective(S);
+}
+
void StmtProfiler::VisitExpr(const Expr *S) {
VisitStmt(S);
}
OpenPOWER on IntegriCloud