//===- llvm/CodeGen/TileShapeInfo.h - ---------------------------*- 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 // //===----------------------------------------------------------------------===// // /// \file Shape utility for AMX. /// AMX hardware requires to config the shape of tile data register before use. /// The 2D shape includes row and column. In AMX intrinsics interface the shape /// is passed as 1st and 2nd parameter and they are lowered as the 1st and 2nd /// machine operand of AMX pseudo instructions. ShapeT class is to facilitate /// tile config and register allocator. The row and column are machine operand /// of AMX pseudo instructions. // //===----------------------------------------------------------------------===// #ifndef LLVM_CODEGEN_TILESHAPEINFO_H #define LLVM_CODEGEN_TILESHAPEINFO_H #include "llvm/CodeGen/MachineInstr.h" #include "llvm/CodeGen/MachineOperand.h" #include "llvm/CodeGen/MachineRegisterInfo.h" #include "llvm/CodeGen/Register.h" namespace llvm { class ShapeT { … }; } // namespace llvm #endif