MLIR
21.0.0git
|
Functions | |
void | populateXeGPUFoldAliasOpsPatterns (RewritePatternSet &patterns) |
Appends patterns for folding aliasing ops into XeGPU ops into patterns . More... | |
static void | transpose (llvm::ArrayRef< int64_t > trans, SmallVector< int64_t > &shape) |
template<typename T > | |
static std::string | makeString (T array, bool breakline=false) |
static SmallVector< int64_t > | getShapeOf (Type type) |
static int64_t | getRankOf (Value val) |
static bool | isReadHintOrNone (const CachePolicyAttr &attr) |
static bool | isWriteHintOrNone (const CachePolicyAttr &attr) |
static bool | isEvenDistributed (llvm::ArrayRef< int64_t > shape, xegpu::LayoutAttr attr) |
static LogicalResult | isValidGatherScatterParams (Type maskTy, VectorType valueTy, TensorDescType tdescTy, UnitAttr transposeAttr, function_ref< InFlightDiagnostic()> emitError) |
|
static |
Definition at line 53 of file XeGPUOps.cpp.
References mlir::Value::getType().
|
static |
Definition at line 44 of file XeGPUOps.cpp.
Referenced by isValidGatherScatterParams().
|
static |
Definition at line 82 of file XeGPUOps.cpp.
|
static |
Definition at line 60 of file XeGPUOps.cpp.
References kind.
|
static |
Definition at line 105 of file XeGPUOps.cpp.
References mlir::emitError(), getShapeOf(), makeString(), and transpose().
|
static |
Definition at line 68 of file XeGPUOps.cpp.
References kind.
|
static |
Definition at line 30 of file XeGPUOps.cpp.
Referenced by isValidGatherScatterParams().
void mlir::xegpu::populateXeGPUFoldAliasOpsPatterns | ( | RewritePatternSet & | patterns | ) |
Appends patterns for folding aliasing ops into XeGPU ops into patterns
.
Definition at line 65 of file XeGPUFoldAliasOps.cpp.
References mlir::patterns.
|
static |
Definition at line 22 of file XeGPUOps.cpp.
Referenced by creatLdMatrixCompatibleLoads(), mlir::nvgpu::getLdMatrixParams(), isValidGatherScatterParams(), propagatesCapture(), and pruneNonTransposedDims().