Go to the source code of this file.
|
| template<typename LoadOrStoreOpTy > |
| static Value | getMemRefOperand (LoadOrStoreOpTy op) |
| | Helpers to access the memref operand for each op. More...
|
| |
| static Value | getMemRefOperand (vector::TransferReadOp op) |
| |
| static Value | getMemRefOperand (nvgpu::LdMatrixOp op) |
| |
| static Value | getMemRefOperand (vector::LoadOp op) |
| |
| static Value | getMemRefOperand (vector::StoreOp op) |
| |
| static Value | getMemRefOperand (vector::MaskedLoadOp op) |
| |
| static Value | getMemRefOperand (vector::MaskedStoreOp op) |
| |
| static Value | getMemRefOperand (vector::TransferWriteOp op) |
| |
| static Value | getMemRefOperand (gpu::SubgroupMmaLoadMatrixOp op) |
| |
| static Value | getMemRefOperand (gpu::SubgroupMmaStoreMatrixOp op) |
| |
| static SmallVector< Value > | calculateExpandedAccessIndices (AffineMap affineMap, const SmallVector< Value > &indices, Location loc, PatternRewriter &rewriter) |
| |
| template<typename XferOp > |
| static LogicalResult | preconditionsFoldSubViewOpImpl (RewriterBase &rewriter, XferOp xferOp, memref::SubViewOp subviewOp) |
| |
| static LogicalResult | preconditionsFoldSubViewOp (RewriterBase &rewriter, Operation *op, memref::SubViewOp subviewOp) |
| |
| static LogicalResult | preconditionsFoldSubViewOp (RewriterBase &rewriter, vector::TransferReadOp readOp, memref::SubViewOp subviewOp) |
| |
| static LogicalResult | preconditionsFoldSubViewOp (RewriterBase &rewriter, vector::TransferWriteOp writeOp, memref::SubViewOp subviewOp) |
| |
◆ DBGS
| #define DBGS |
( |
| ) |
(llvm::dbgs() << "[" DEBUG_TYPE "]: ") |
◆ DEBUG_TYPE
| #define DEBUG_TYPE "fold-memref-alias-ops" |
◆ GEN_PASS_DEF_FOLDMEMREFALIASOPSPASS
| #define GEN_PASS_DEF_FOLDMEMREFALIASOPSPASS |
◆ calculateExpandedAccessIndices()
◆ getMemRefOperand() [1/10]
| static Value getMemRefOperand |
( |
gpu::SubgroupMmaLoadMatrixOp |
op | ) |
|
|
static |
◆ getMemRefOperand() [2/10]
| static Value getMemRefOperand |
( |
gpu::SubgroupMmaStoreMatrixOp |
op | ) |
|
|
static |
◆ getMemRefOperand() [3/10]
template<typename LoadOrStoreOpTy >
| static Value getMemRefOperand |
( |
LoadOrStoreOpTy |
op | ) |
|
|
static |
◆ getMemRefOperand() [4/10]
| static Value getMemRefOperand |
( |
nvgpu::LdMatrixOp |
op | ) |
|
|
static |
◆ getMemRefOperand() [5/10]
| static Value getMemRefOperand |
( |
vector::LoadOp |
op | ) |
|
|
static |
◆ getMemRefOperand() [6/10]
| static Value getMemRefOperand |
( |
vector::MaskedLoadOp |
op | ) |
|
|
static |
◆ getMemRefOperand() [7/10]
| static Value getMemRefOperand |
( |
vector::MaskedStoreOp |
op | ) |
|
|
static |
◆ getMemRefOperand() [8/10]
| static Value getMemRefOperand |
( |
vector::StoreOp |
op | ) |
|
|
static |
◆ getMemRefOperand() [9/10]
| static Value getMemRefOperand |
( |
vector::TransferReadOp |
op | ) |
|
|
static |
◆ getMemRefOperand() [10/10]
| static Value getMemRefOperand |
( |
vector::TransferWriteOp |
op | ) |
|
|
static |
◆ preconditionsFoldSubViewOp() [1/3]
| static LogicalResult preconditionsFoldSubViewOp |
( |
RewriterBase & |
rewriter, |
|
|
Operation * |
op, |
|
|
memref::SubViewOp |
subviewOp |
|
) |
| |
|
static |
◆ preconditionsFoldSubViewOp() [2/3]
| static LogicalResult preconditionsFoldSubViewOp |
( |
RewriterBase & |
rewriter, |
|
|
vector::TransferReadOp |
readOp, |
|
|
memref::SubViewOp |
subviewOp |
|
) |
| |
|
static |
◆ preconditionsFoldSubViewOp() [3/3]
| static LogicalResult preconditionsFoldSubViewOp |
( |
RewriterBase & |
rewriter, |
|
|
vector::TransferWriteOp |
writeOp, |
|
|
memref::SubViewOp |
subviewOp |
|
) |
| |
|
static |
◆ preconditionsFoldSubViewOpImpl()
template<typename XferOp >
| static LogicalResult preconditionsFoldSubViewOpImpl |
( |
RewriterBase & |
rewriter, |
|
|
XferOp |
xferOp, |
|
|
memref::SubViewOp |
subviewOp |
|
) |
| |
|
static |