LLVM 20.0.0git
Public Member Functions | List of all members
ShapeCalculator Class Reference

Public Member Functions

 ShapeCalculator (TargetMachine *TargetM)
 
std::pair< Value *, Value * > getShape (IntrinsicInst *II, unsigned OpNo)
 
std::pair< Value *, Value * > getShape (PHINode *Phi)
 
ValuegetRowFromCol (Instruction *II, Value *V, unsigned Granularity)
 
ValuegetColFromRow (Instruction *II, Value *V, unsigned Granularity)
 

Detailed Description

Definition at line 138 of file X86LowerAMXType.cpp.

Constructor & Destructor Documentation

◆ ShapeCalculator()

ShapeCalculator::ShapeCalculator ( TargetMachine TargetM)
inline

Definition at line 148 of file X86LowerAMXType.cpp.

Member Function Documentation

◆ getColFromRow()

Value * ShapeCalculator::getColFromRow ( Instruction II,
Value V,
unsigned  Granularity 
)

◆ getRowFromCol()

Value * ShapeCalculator::getRowFromCol ( Instruction II,
Value V,
unsigned  Granularity 
)

◆ getShape() [1/2]

std::pair< Value *, Value * > ShapeCalculator::getShape ( IntrinsicInst II,
unsigned  OpNo 
)

Definition at line 216 of file X86LowerAMXType.cpp.

References assert(), getColFromRow(), getRowFromCol(), II, and llvm_unreachable.

Referenced by getShape().

◆ getShape() [2/2]

std::pair< Value *, Value * > ShapeCalculator::getShape ( PHINode Phi)

Definition at line 313 of file X86LowerAMXType.cpp.

References getShape(), isAMXCast(), and isAMXIntrinsic().


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