| 156 | |
| 157 | ReformatEmitter::UnderlyingBuilders ReformatEmitter::analyze() const { |
| 158 | struct Dim { |
| 159 | Dimension dim; |
| 160 | int index; |
| 161 | Dim(Dimension dim_, int index_) : dim{dim_}, index{index_} {} |
| 162 | }; |
| 163 | SmallVector<Dim> src_dims; |
| 164 | SmallVector<Dim> dest_dims; |
| 165 | for (size_t i = 0; i < m_src.ndim; ++i) |