MLIR  19.0.0git
Namespaces | Functions
Utils.cpp File Reference
#include "mlir/Dialect/ArmSME/Utils/Utils.h"
#include "mlir/Dialect/ArmSME/IR/ArmSME.h"

Go to the source code of this file.

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::arm_sme
 

Functions

unsigned mlir::arm_sme::getSMETileSliceMinNumElts (Type type)
 Return minimum number of elements for the given element type in a vector of SVL bits. More...
 
bool mlir::arm_sme::isValidSMETileElementType (Type type)
 Returns true if type is a valid element type for an SME tile or false otherwise. More...
 
bool mlir::arm_sme::isValidSMETileVectorType (VectorType vType)
 Returns true if vType is a valid vector type for an SME tile or false otherwise. More...
 
std::optional< ArmSMETileType > mlir::arm_sme::getSMETileType (VectorType)
 Returns the type of SME tile this vector type corresponds to, or none if the vector type does not fit within an SME tile. More...
 
LogicalResult mlir::arm_sme::verifyOperationHasValidTileId (Operation *)
 Verifies the tile ID (if set) on this tile operation is valid. More...
 
scf::ForOp mlir::arm_sme::createLoopOverTileSlices (PatternRewriter &rewriter, Location loc, Value initTile, std::function< Value(OpBuilder &, Location, Value, Value)> makeLoopBody)
 Generates a for loop over ZA tile slices where the induction variable is the tile slice index and each iteration yields a new tile. More...
 
bool mlir::arm_sme::isMultipleOfSMETileVectorType (VectorType vType)
 Returns true if vType is a multiple of an SME tile size. More...
 
VectorType mlir::arm_sme::getSMETileTypeForElement (Type elementType)
 Creates a vector type for the SME tile of elementType. More...