[PATCH] D98603: [Flang] [OpenMP] Add function for mapping OpenMP Parser clause classes with the corresponding clause kind

Praveen G via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 14 09:49:22 PDT 2021


praveen created this revision.
praveen added reviewers: kiranchandramohan, clementval, kiranktp, SouraVX.
praveen added projects: Flang, OpenMP.
Herald added subscribers: jdoerfert, guansong, yaxunl.
Herald added a reviewer: sscalpone.
praveen requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: llvm-commits, sstefan1.
Herald added a project: LLVM.

1. Generate the mapping for clauses between the parser class and the corresponding clause kind for OpenMP and OpenACC using tablegen.

2, Add a common function to get the OmpObjectList from the OpenMP clauses to avoid repetition of code.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D98603

Files:
  flang/lib/Semantics/check-omp-structure.cpp
  flang/lib/Semantics/check-omp-structure.h
  llvm/utils/TableGen/DirectiveEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D98603.330515.patch
Type: text/x-patch
Size: 11425 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210314/5a4c94fa/attachment.bin>


More information about the llvm-commits mailing list