[PATCH] D82405: [openmp] Move Directive and Clause helper function to tablegen

Valentin Clement via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 23 13:26:50 PDT 2020


clementval created this revision.
clementval added reviewers: jdoerfert, jdenny, thakis.
Herald added subscribers: llvm-commits, sstefan1, guansong, hiraditya, yaxunl, mgorny.
Herald added a project: LLVM.
clementval updated this revision to Diff 272809.
clementval added a comment.

Fix tiny formatting problem in DirectiveBase.td


Follow up to D81736 <https://reviews.llvm.org/D81736>. Move getOpenMPDirectiveKind, getOpenMPClauseKind, getOpenMPDirectiveName and
getOpenMPClauseName to the new tablegen code generation. This also change the generated filename from
OMP.h.inc to OMP.inc as suggested by @thakis.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82405

Files:
  llvm/include/llvm/Frontend/Directive/DirectiveBase.td
  llvm/include/llvm/Frontend/OpenMP/CMakeLists.txt
  llvm/include/llvm/Frontend/OpenMP/OMP.td
  llvm/include/llvm/Frontend/OpenMP/OMPConstants.h
  llvm/lib/Frontend/OpenMP/OMPConstants.cpp
  llvm/test/TableGen/directive1.td
  llvm/test/TableGen/directive2.td
  llvm/utils/TableGen/DirectiveEmitter.cpp
  llvm/utils/TableGen/TableGen.cpp
  llvm/utils/TableGen/TableGenBackends.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82405.272809.patch
Type: text/x-patch
Size: 18726 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200623/14b42351/attachment.bin>


More information about the llvm-commits mailing list