LLVM 20.0.0git
|
Public Member Functions | |
ShapeCalculator (TargetMachine *TargetM) | |
std::pair< Value *, Value * > | getShape (IntrinsicInst *II, unsigned OpNo) |
std::pair< Value *, Value * > | getShape (PHINode *Phi) |
Value * | getRowFromCol (Instruction *II, Value *V, unsigned Granularity) |
Value * | getColFromRow (Instruction *II, Value *V, unsigned Granularity) |
Definition at line 138 of file X86LowerAMXType.cpp.
|
inline |
Definition at line 148 of file X86LowerAMXType.cpp.
Value * ShapeCalculator::getColFromRow | ( | Instruction * | II, |
Value * | V, | ||
unsigned | Granularity | ||
) |
Definition at line 191 of file X86LowerAMXType.cpp.
References llvm::IRBuilderBase::CreateNUWMul(), getFirstNonAllocaInTheEntryBlock(), llvm::IRBuilderBase::getInt16(), II, and llvm::IRBuilderBase::SetInsertPoint().
Referenced by getShape().
Value * ShapeCalculator::getRowFromCol | ( | Instruction * | II, |
Value * | V, | ||
unsigned | Granularity | ||
) |
Definition at line 155 of file X86LowerAMXType.cpp.
References llvm::IRBuilderBase::CreateUDiv(), getFirstNonAllocaInTheEntryBlock(), llvm::IRBuilderBase::getInt16(), II, and llvm::IRBuilderBase::SetInsertPoint().
Referenced by getShape().
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().
Definition at line 313 of file X86LowerAMXType.cpp.
References getShape(), isAMXCast(), and isAMXIntrinsic().