Clean up container type names in OpBase
authorGeoffrey Martin-Noble <gcmn@google.com>
Tue, 21 May 2019 17:45:30 +0000 (10:45 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Sun, 2 Jun 2019 02:55:03 +0000 (19:55 -0700)
commitda37b0a536f8bf33121a8e219e1ca12036e538a8
tree0b2313d12697300be9acf46474dc53b2d384a374
parent6aae7b2e9ade69b6060586c438931258173b73b8
Clean up container type names in OpBase

    Establish the following convention:
    1. Container class types end in "Of" (e.g. TensorOf) and take a list of allowed types.
    2. An X container where only a single type is allowed is called TypeX (e.g. I32Tensor).
    3. An X container where any type is allowed is called AnyX (e.g. AnyTensor).

--

PiperOrigin-RevId: 249281018
mlir/g3doc/OpDefinitions.md
mlir/include/mlir/Dialect/QuantOps/QuantPredicates.td
mlir/include/mlir/IR/OpBase.td
mlir/include/mlir/StandardOps/Ops.td
mlir/test/mlir-tblgen/predicate.td