llvm-project/mlir/lib/TableGen
Lei Zhang 1df6ca5053 [TableGen] Model variadic operands using Variadic<Type>
Previously, we were using the trait mechanism to specify that an op has variadic operands.
That led a discrepancy between how we handle ops with deterministic number of operands.
Besides, we have no way to specify the constraints and match against the variadic operands.

This CL introduced Variadic<Type> as a way to solve the above issues.

PiperOrigin-RevId: 232656104
2019-03-29 16:16:28 -07:00
..
Argument.cpp [tablegen] Use tblgen:: classes for NamedAttribute and Operand fields 2019-03-29 16:02:23 -07:00
Attribute.cpp [TableGen] Use tblgen::DagLeaf to model DAG arguments 2019-03-29 16:06:31 -07:00
Operator.cpp [TableGen] Model variadic operands using Variadic<Type> 2019-03-29 16:16:28 -07:00
Pattern.cpp [TableGen] Use tblgen::DagLeaf to model DAG arguments 2019-03-29 16:06:31 -07:00
Predicate.cpp TableGen: implement predicate tree and basic simplification 2019-03-29 15:22:58 -07:00
Type.cpp [TableGen] Model variadic operands using Variadic<Type> 2019-03-29 16:16:28 -07:00