[PATCH] D83261: [OPENMP]Redesign of OMPExecutableDirective representation.

Alexey Bataev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 6 14:50:15 PDT 2020


ABataev created this revision.
ABataev added a reviewer: jdoerfert.
Herald added subscribers: aaron.ballman, sstefan1, jfb, guansong, yaxunl.
Herald added a project: clang.

Introduced OMPChildren class to handle all associated clauses, statement
and child expressions/statements. It allows to represent some directives
more correctly (like flush, depobj etc. with pseudo clauses, ordered
depend directives, which are standalone, and target data directives).
ALso, it will make easier to avoid using of CapturedStmt in directives,
if required (atomic, tile etc. directives).
Also, it simplifies serialization/deserialization of the executable
directives.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D83261

Files:
  clang/include/clang/AST/StmtOpenMP.h
  clang/lib/AST/StmtOpenMP.cpp
  clang/lib/CodeGen/CGStmtOpenMP.cpp
  clang/lib/Serialization/ASTReaderStmt.cpp
  clang/lib/Serialization/ASTWriterStmt.cpp
  clang/test/AST/ast-dump-openmp-ordered.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83261.275838.patch
Type: text/x-patch
Size: 289219 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200706/a7c7f0e4/attachment-0001.bin>


More information about the cfe-commits mailing list