[PATCH] D113715: [mlir][ods] AttrOrTypeGen uses Class

Jeff Niu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 11 14:19:43 PST 2021


Mogball created this revision.
Herald added subscribers: sdasgup3, wenzhicui, wrengr, Chia-hungDuan, dcaballe, cota, teijeong, dexonsmith, rdzhabarov, tatianashp, msifontes, jurahul, Kayjukh, grosul1, Joonsoo, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, antiagainst, shauheen, rriddle, mehdi_amini.
Herald added a reviewer: antiagainst.
Mogball requested review of this revision.
Herald added subscribers: llvm-commits, stephenneuendorffer, nicolasvasilache.
Herald added projects: MLIR, LLVM.

AttrOrType def generator uses `Class` code gen helper,
instead of naked raw_ostream.

Depends on D113714 <https://reviews.llvm.org/D113714>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D113715

Files:
  llvm/include/llvm/ADT/STLExtras.h
  mlir/include/mlir/Support/IndentedOstream.h
  mlir/include/mlir/TableGen/AttrOrTypeDef.h
  mlir/include/mlir/TableGen/Class.h
  mlir/include/mlir/TableGen/CodeGenHelpers.h
  mlir/include/mlir/TableGen/Format.h
  mlir/lib/Support/IndentedOstream.cpp
  mlir/lib/TableGen/AttrOrTypeDef.cpp
  mlir/lib/TableGen/Class.cpp
  mlir/lib/TableGen/Format.cpp
  mlir/test/mlir-tblgen/attr-or-type-format.td
  mlir/test/mlir-tblgen/attrdefs.td
  mlir/test/mlir-tblgen/typedefs.td
  mlir/tools/mlir-tblgen/AttrOrTypeDefGen.cpp
  mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.cpp
  mlir/tools/mlir-tblgen/AttrOrTypeFormatGen.h
  mlir/tools/mlir-tblgen/OpClass.cpp
  mlir/tools/mlir-tblgen/OpClass.h
  mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp
  mlir/tools/mlir-tblgen/OpDocGen.cpp
  mlir/tools/mlir-tblgen/OpFormatGen.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113715.386664.patch
Type: text/x-patch
Size: 164553 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211111/b790ae70/attachment-0001.bin>


More information about the llvm-commits mailing list