Rename VectorOrTensorType to ShapedType
authorGeoffrey Martin-Noble <gcmn@google.com>
Thu, 16 May 2019 07:12:45 +0000 (00:12 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Mon, 20 May 2019 20:43:58 +0000 (13:43 -0700)
commit090662c5f3572c573cf249844748ecbf11d10dbe
treec3b040c726fb56de37f6fa80fcd40ff0ef16f2e3
parentb3888fa9cc46dc3607af2dc5cf840ef33d0fcd8d
Rename VectorOrTensorType to ShapedType

    This is in preparation for making it also support/be a parent class of MemRefType. MemRefs have similar shape/rank/element semantics and it would be useful to be able to use these same utilities for them.

    This CL should not change any semantics and only change variables, types, string literals, and comments. In follow-up CLs I will prepare all callers to handle MemRef types or remove their dependence on ShapedType.

    Discussion/Rationale in https://groups.google.com/a/tensorflow.org/forum/#!topic/mlir/cHLoyfGu8y8

--

PiperOrigin-RevId: 248476449
26 files changed:
mlir/include/mlir/IR/Attributes.h
mlir/include/mlir/IR/Builders.h
mlir/include/mlir/IR/Matchers.h
mlir/include/mlir/IR/OpBase.td
mlir/include/mlir/IR/OpDefinition.h
mlir/include/mlir/IR/StandardTypes.h
mlir/include/mlir/StandardOps/Ops.td
mlir/lib/Dialect/FxpMathOps/Transforms/UniformKernelUtils.h
mlir/lib/Dialect/QuantOps/IR/QuantTypes.cpp
mlir/lib/Dialect/QuantOps/Utils/QuantizeUtils.cpp
mlir/lib/Dialect/QuantOps/Utils/UniformSupport.cpp
mlir/lib/Dialect/Traits.cpp
mlir/lib/EDSC/Builders.cpp
mlir/lib/IR/AsmPrinter.cpp
mlir/lib/IR/Attributes.cpp
mlir/lib/IR/Builders.cpp
mlir/lib/IR/Operation.cpp
mlir/lib/IR/StandardTypes.cpp
mlir/lib/IR/TypeDetail.h
mlir/lib/Parser/Parser.cpp
mlir/lib/Quantizer/Support/Statistics.cpp
mlir/lib/Quantizer/Support/TypeUtils.cpp
mlir/lib/StandardOps/Ops.cpp
mlir/test/IR/invalid.mlir
mlir/test/mlir-tblgen/predicate.td
mlir/unittests/Dialect/QuantOps/QuantizationUtilsTest.cpp