That would be linalg.reshape which is being refactored and split into memref.expand_reshape and memref.collapse_reshape
as per this RFC.
Depending on where allocation occurs, there is also the possibility to
alloc + memref.view + subview 2-D + subview 1-D
. This may need to evolve depending on what alias analysis looks like for OP’s transformations.