[PATCH] D151457: [TableGen] Add !getdagargs and !getdagnames

Michael Liao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 25 08:40:58 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 `!getdagargs` and `!getdagnames` bang operators as the inverse operation of `!dag`. They allow us to examine arguments of a specified dag.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D151457

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: D151457.525638.patch
Type: text/x-patch
Size: 10185 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230525/bc86fdac/attachment-0001.bin>


More information about the llvm-commits mailing list