//===- MatrixUtils.h - Utilities to lower matrix intrinsics -----*- 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 // //===----------------------------------------------------------------------===// // // Utilities for generating tiled loops for matrix operations. // //===----------------------------------------------------------------------===// #ifndef LLVM_TRANSFORMS_UTILS_MATRIXUTILS_H #define LLVM_TRANSFORMS_UTILS_MATRIXUTILS_H #include "llvm/ADT/StringRef.h" namespace llvm { class DomTreeUpdater; class BasicBlock; class Value; class Loop; class LoopInfo; class IRBuilderBase; /// A helper struct to create IR loop nests for tiling in IR of the following /// form: /// for ColumnLoop.Index = 0..NumColumns /// for RowLoop.Index = 0..NumRows /// for KLoop.Index = 0..NumInner struct TileInfo { … }; } // namespace llvm #endif