//===- RaggedArray.h - 2D array with different inner lengths ----*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "mlir/Support/LLVM.h" #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/SmallVector.h" #include <iterator> namespace mlir { /// A 2D array where each row may have different length. Elements of each row /// are stored contiguously, but rows don't have a fixed order in the storage. template <typename T> class RaggedArray { … }; } // namespace mlir