Added basic parsing/sema/serialization support for dispatch directive.
Starting support for 'omp dispatch'. We are working on additional patches for the 'novariants' and 'nocontext' and 'adjust_args' and 'append_args' for 'omp declare variant'.
Paths
| Differential D99537
[OPENMP51]Initial support for the dispatch directive ClosedPublic Authored by mikerice on Mar 29 2021, 1:29 PM.
Details Summary Added basic parsing/sema/serialization support for dispatch directive. Starting support for 'omp dispatch'. We are working on additional patches for the 'novariants' and 'nocontext' and 'adjust_args' and 'append_args' for 'omp declare variant'.
Diff Detail Event TimelineHerald added subscribers: dexonsmith, martong, arphaman and 2 others. · View Herald TranscriptMar 29 2021, 1:29 PM Comment Actions Thanks for the review.
This revision is now accepted and ready to land.Mar 30 2021, 12:56 PM Closed by commit rGb7899ba0e8b7: [OPENMP51]Initial support for the dispatch directive. (authored by mikerice). · Explain WhyMar 30 2021, 2:22 PM This revision was automatically updated to reflect the committed changes. Comment Actions Cool, are you expecting to hook this up to the variant selection logic as well? @jyu2 similarly do you intend to hook up novariant? We should also update https://clang.llvm.org/docs/OpenMPSupport.html to claim parts you are working on (upstreaming). Comment Actions @jyu2 is currently working on the novariants and nocontext clauses. We are still working on the overall construct so I'm not sure yet what more we will have to contribute. I'll look into updating the support doc.
Revision Contents
Diff 334247 clang/include/clang-c/Index.h
clang/include/clang/AST/RecursiveASTVisitor.h
clang/include/clang/AST/StmtOpenMP.h
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/include/clang/Basic/StmtNodes.td
clang/include/clang/Sema/Sema.h
clang/include/clang/Serialization/ASTBitCodes.h
clang/lib/AST/StmtOpenMP.cpp
clang/lib/AST/StmtPrinter.cpp
clang/lib/AST/StmtProfile.cpp
clang/lib/Basic/OpenMPKinds.cpp
clang/lib/CodeGen/CGStmt.cpp
clang/lib/Parse/ParseOpenMP.cpp
clang/lib/Sema/SemaExceptionSpec.cpp
clang/lib/Sema/SemaOpenMP.cpp
clang/lib/Sema/TreeTransform.h
clang/lib/Serialization/ASTReaderStmt.cpp
clang/lib/Serialization/ASTWriterStmt.cpp
clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
clang/test/OpenMP/dispatch_ast_print.cpp
clang/test/OpenMP/dispatch_messages.cpp
clang/tools/libclang/CIndex.cpp
clang/tools/libclang/CXCursor.cpp
llvm/include/llvm/Frontend/OpenMP/OMP.td
llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
|
final