llvm-project/mlir/test/lib/TestDialect
Jacques Pienaar e5a43186d3 Add InferTypeOpTrait & enable generating its member function definition
Use OpInterfaces to add an interface for ops defining a return type function.

This change does not use this trait in any meaningful way, I'll use it in a
follow up to generalize and unify some of the op type traits/constraints. Also,
currently the infer type function can only be manually specified in C++, that should rather be the fallback in future.

PiperOrigin-RevId: 271883746
2019-09-29 17:29:00 -07:00
..
CMakeLists.txt Merge TypeUtilities library into the IR library 2019-07-20 03:04:22 -07:00
TestDialect.cpp Add InferTypeOpTrait & enable generating its member function definition 2019-09-29 17:29:00 -07:00
TestDialect.h Add InferTypeOpTrait & enable generating its member function definition 2019-09-29 17:29:00 -07:00
TestOps.td Add InferTypeOpTrait & enable generating its member function definition 2019-09-29 17:29:00 -07:00
TestPatterns.cpp Add InferTypeOpTrait & enable generating its member function definition 2019-09-29 17:29:00 -07:00
lit.local.cfg Split test-specific passes out of mlir-opt 2019-06-24 17:47:12 -07:00