31 llvm::ArrayRef<int64_t> shape;
33 llvm::SmallVector<int64_t> strides;
40 ArrayIndexGen &operator=(ArrayIndexGen &&) noexcept = default;
41 ArrayIndexGen(const ArrayIndexGen &) = delete;
42 ArrayIndexGen &operator=(const ArrayIndexGen &) = delete;
47 std::optional<
llvm::SmallVector<
mlir::Value>>
52 template <typename InListType> std::optional<int64_t>
linearize(InListType multiDimIndex) const;
56 template <typename InListType>