[PATCH] D151602: [TableGen] Add !getdagarg and !getdagname

Michael Liao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 26 18:24:39 PDT 2023


hliao created this revision.
hliao added reviewers: Paul-C-Anagnostopoulos, craig.topper, simon_tatham.
Herald added a subscriber: hiraditya.
Herald added a project: All.
hliao requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

- This patch proposes to add `!getdagarg` and `!getdagnames` bang operators as the inverse operation of `!dag`. They allow us to examine arguments of a given dag.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D151602

Files:
  llvm/docs/TableGen/ProgRef.rst
  llvm/include/llvm/TableGen/Record.h
  llvm/lib/TableGen/Record.cpp
  llvm/lib/TableGen/TGLexer.cpp
  llvm/lib/TableGen/TGLexer.h
  llvm/lib/TableGen/TGParser.cpp
  llvm/test/TableGen/getsetop.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151602.526229.patch
Type: text/x-patch
Size: 14371 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230527/d63cee38/attachment.bin>


More information about the llvm-commits mailing list