River Riddle
e62a69561f
NFC: Replace ValuePtr with Value and remove it now that Value is value-typed.
...
ValuePtr was a temporary typedef during the transition to a value-typed Value.
PiperOrigin-RevId: 286945714
2019-12-23 16:36:53 -08:00
Mehdi Amini
56222a0694
Adjust License.txt file to use the LLVM license
...
PiperOrigin-RevId: 286906740
2019-12-23 15:33:37 -08:00
River Riddle
35807bc4c5
NFC: Introduce new ValuePtr/ValueRef typedefs to simplify the transition to Value being value-typed.
...
This is an initial step to refactoring the representation of OpResult as proposed in: https://groups.google.com/a/tensorflow.org/g/mlir/c/XXzzKhqqF_0/m/v6bKb08WCgAJ
This change will make it much simpler to incrementally transition all of the existing code to use value-typed semantics.
PiperOrigin-RevId: 286844725
2019-12-22 22:00:23 -08:00
River Riddle
4562e389a4
NFC: Remove unnecessary 'llvm::' prefix from uses of llvm symbols declared in mlir namespace.
...
Aside from being cleaner, this also makes the codebase more consistent.
PiperOrigin-RevId: 286206974
2019-12-18 09:29:20 -08:00
Andy Davis
6fa3bd5b3e
Add pattern rewrite which splits a vector TransferWriteOp into slices according to the unrolling/slicing scheme of its InsertSlicesOp operand.
...
PiperOrigin-RevId: 286042578
2019-12-17 13:17:10 -08:00
Andy Davis
d1fb285b32
Add pattern rewrite to forward vector tuple elements to their users.
...
User(TupleGetOp(ExtractSlicesOp(InsertSlicesOp(TupleOp(Producer))) -> User(Producer)
PiperOrigin-RevId: 286020249
2019-12-17 11:21:45 -08:00
Andy Davis
038ad1d856
Add pattern rewrite which splits a vector TransferReadOp into slices according to the unrolling/slicing scheme of its ExtractSlicesOp user.
...
PiperOrigin-RevId: 285975613
2019-12-17 07:29:06 -08:00
Andy Davis
4e825c59be
Update vector op unrolling transformation to generate ExtractSlicesOp and InsertSlicesOp (instead of less structured chain of StridedSliceOps and InsertStridedSliceOps).
...
PiperOrigin-RevId: 285968051
2019-12-17 06:27:01 -08:00
Andy Davis
4d8ba88610
Add VectorOp transform pattern which splits vector TransferReadOps to target vector unroll size.
...
PiperOrigin-RevId: 284880592
2019-12-10 17:02:51 -08:00
Nicolas Vasilache
ad38e49806
Uniformize Vector transforms as patterns on the model of Linalg - NFC
...
This reorganizes the vector transformations to be more easily testable as patterns and more easily composable into fused passes in the future.
PiperOrigin-RevId: 284817474
2019-12-10 11:54:33 -08:00