[mlir] Add plus, star and optional less/greater parsing
authorJean-Michel Gorius <jean-michel.gorius@ens-rennes.fr>
Wed, 11 Nov 2020 17:01:39 +0000 (18:01 +0100)
committerJean-Michel Gorius <jean-michel.gorius@ens-rennes.fr>
Thu, 12 Nov 2020 12:28:31 +0000 (13:28 +0100)
commite47805c995525a13a0dc7b36d5e8a0f8816a62e8
tree9f72c527a8b9a47fb149e2abe9b32fdb91c35f31
parentb9d36540a85b859ff1189c6c2c3acbc59033ae49
[mlir] Add plus, star and optional less/greater parsing

The tokens are already handled by the lexer. This revision exposes them
through the parser interface.

This revision also adds missing functions for question mark parsing and
completes the list of valid punctuation tokens in the documentation.

Differential Revision: https://reviews.llvm.org/D90907
mlir/docs/OpDefinitions.md
mlir/include/mlir/IR/OpImplementation.h
mlir/lib/Parser/Parser.cpp
mlir/test/lib/Dialect/Test/TestOps.td
mlir/test/mlir-tblgen/op-format-spec.td
mlir/test/mlir-tblgen/op-format.mlir
mlir/tools/mlir-tblgen/OpFormatGen.cpp