llvm-project/mlir/tools/mlir-tblgen
Lei Zhang e0fc503896 [TableGen] Support using Variadic<Type> in results
This CL extended TableGen Operator class to provide accessors for information on op
results.

In OpDefinitionGen, added checks to make sure only the last result can be variadic,
and adjusted traits and builders generation to consider variadic results.

PiperOrigin-RevId: 234596124
2019-03-29 16:31:11 -07:00
..
OpDefinitionsGen.cpp [TableGen] Support using Variadic<Type> in results 2019-03-29 16:31:11 -07:00
OpDocGen.cpp [tablegen] Use tblgen:: classes for NamedAttribute and Operand fields 2019-03-29 16:02:23 -07:00
ReferenceImplGen.cpp Cleanup EDSCs and start a functional auto-generated library of custom Ops 2019-03-29 16:05:23 -07:00
RewriterGen.cpp [TableGen] Fix discrepancy between parameter meaning and code logic 2019-03-29 16:30:41 -07:00
mlir-tblgen.cpp Merge mlir-op-gen and mlir-rewriter-gen into mlir-tblgen. 2019-03-29 14:39:05 -07:00