llvm-project/mlir/lib/TableGen
Feng Liu c52a812700 [TableGen] Support nested dag attributes arguments in the result pattern
Add support to create a new attribute from multiple attributes. It extended the
DagNode class to represent attribute creation dag. It also changed the
RewriterGen::emitOpCreate method to support this nested dag emit.

An unit test is added.

PiperOrigin-RevId: 238090229
2019-03-29 17:15:57 -07:00
..
Argument.cpp Change the TensorFlow attribute prefix from "tf$" to "tf." to match the specification of dialect attributes. This also fixes tblgen generation of dialect attributes that used the sugared name "tf$attr" as c++ identifiers. 2019-03-29 16:58:20 -07:00
Attribute.cpp Spike to define real math ops and lowering of one variant of add to corresponding integer ops. 2019-03-29 16:39:13 -07:00
OpTrait.cpp Create OpTrait base class & allow operation predicate OpTraits. 2019-03-29 16:35:11 -07:00
Operator.cpp TableGen: allow mixing attributes and operands in the Arguments DAG of Op definition 2019-03-29 16:59:35 -07:00
Pattern.cpp [TableGen] Support nested dag attributes arguments in the result pattern 2019-03-29 17:15:57 -07:00
Predicate.cpp [TableGen] Fix infinite loop in SubstLeaves substitution 2019-03-29 16:39:47 -07:00
Type.cpp [TableGen] Model variadic operands using Variadic<Type> 2019-03-29 16:16:28 -07:00