MLIR  22.0.0git
Classes | Namespaces | Macros | Functions
FoldMemRefsOps.cpp File Reference
#include "mlir/Dialect/AMDGPU/Transforms/Passes.h"
#include "mlir/Dialect/AMDGPU/IR/AMDGPUDialect.h"
#include "mlir/Dialect/Affine/ViewLikeInterfaceUtils.h"
#include "mlir/Dialect/MemRef/IR/MemRef.h"
#include "mlir/Dialect/MemRef/Utils/MemRefUtils.h"
#include "mlir/Transforms/WalkPatternRewriteDriver.h"
#include "llvm/ADT/TypeSwitch.h"
#include "mlir/Dialect/AMDGPU/Transforms/Passes.h.inc"

Go to the source code of this file.

Classes

struct  mlir::amdgpu::AmdgpuFoldMemRefOpsPass
 
struct  mlir::amdgpu::FoldMemRefOpsIntoGatherToLDSOp
 

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::amdgpu
 

Macros

#define GEN_PASS_DEF_AMDGPUFOLDMEMREFOPSPASS
 

Functions

static LogicalResult mlir::amdgpu::foldMemrefViewOp (PatternRewriter &rewriter, Location loc, Value view, mlir::OperandRange indices, SmallVectorImpl< Value > &resolvedIndices, Value &memrefBase, StringRef role)
 
void mlir::amdgpu::populateAmdgpuFoldMemRefOpsPatterns (RewritePatternSet &patterns, PatternBenefit benefit=1)
 

Macro Definition Documentation

◆ GEN_PASS_DEF_AMDGPUFOLDMEMREFOPSPASS

#define GEN_PASS_DEF_AMDGPUFOLDMEMREFOPSPASS

Definition at line 19 of file FoldMemRefsOps.cpp.