LLVM 20.0.0git
Public Member Functions | List of all members
llvm::ShapeT Class Reference

#include "llvm/CodeGen/TileShapeInfo.h"

Public Member Functions

 ShapeT (MachineOperand *Row, MachineOperand *Col, const MachineRegisterInfo *MRI=nullptr)
 
 ShapeT (ArrayRef< MachineOperand * > ShapesOperands, const MachineRegisterInfo *MRI=nullptr)
 
 ShapeT ()
 
bool operator== (const ShapeT &Shape) const
 
bool operator!= (const ShapeT &Shape) const
 
MachineOperandgetRow (unsigned I=0) const
 
MachineOperandgetCol (unsigned I=0) const
 
int64_t getRowImm (unsigned I=0) const
 
int64_t getColImm (unsigned I=0) const
 
unsigned getShapeNum ()
 
bool isValid ()
 
void deduceImm (const MachineRegisterInfo *MRI)
 

Detailed Description

Definition at line 29 of file TileShapeInfo.h.

Constructor & Destructor Documentation

◆ ShapeT() [1/3]

llvm::ShapeT::ShapeT ( MachineOperand Row,
MachineOperand Col,
const MachineRegisterInfo MRI = nullptr 
)
inline

Definition at line 31 of file TileShapeInfo.h.

References deduceImm(), and MRI.

◆ ShapeT() [2/3]

llvm::ShapeT::ShapeT ( ArrayRef< MachineOperand * >  ShapesOperands,
const MachineRegisterInfo MRI = nullptr 
)
inline

Definition at line 45 of file TileShapeInfo.h.

References assert(), deduceImm(), MRI, and llvm::ArrayRef< T >::size().

◆ ShapeT() [3/3]

llvm::ShapeT::ShapeT ( )
inline

Definition at line 57 of file TileShapeInfo.h.

Member Function Documentation

◆ deduceImm()

void llvm::ShapeT::deduceImm ( const MachineRegisterInfo MRI)
inline

◆ getCol()

MachineOperand * llvm::ShapeT::getCol ( unsigned  I = 0) const
inline

Definition at line 85 of file TileShapeInfo.h.

References assert(), and I.

Referenced by canHintShape(), and collectVirtRegShapes().

◆ getColImm()

int64_t llvm::ShapeT::getColImm ( unsigned  I = 0) const
inline

◆ getRow()

MachineOperand * llvm::ShapeT::getRow ( unsigned  I = 0) const
inline

Definition at line 78 of file TileShapeInfo.h.

References assert(), and I.

Referenced by canHintShape(), and collectVirtRegShapes().

◆ getRowImm()

int64_t llvm::ShapeT::getRowImm ( unsigned  I = 0) const
inline

◆ getShapeNum()

unsigned llvm::ShapeT::getShapeNum ( )
inline

Definition at line 106 of file TileShapeInfo.h.

References isValid().

Referenced by canHintShape(), and collectVirtRegShapes().

◆ isValid()

bool llvm::ShapeT::isValid ( )
inline

Definition at line 113 of file TileShapeInfo.h.

Referenced by getShapeNum().

◆ operator!=()

bool llvm::ShapeT::operator!= ( const ShapeT Shape) const
inline

Definition at line 76 of file TileShapeInfo.h.

◆ operator==()

bool llvm::ShapeT::operator== ( const ShapeT Shape) const
inline

The documentation for this class was generated from the following file: