MLIR: lib/Dialect/AMDGPU/Transforms/FoldMemRefsOps.cpp File Reference (original) (raw)
#include "[mlir/Dialect/AMDGPU/Transforms/Passes.h](Dialect%5F2AMDGPU%5F2Transforms%5F2Passes%5F8h%5Fsource.html)"#include "[mlir/Dialect/AMDGPU/IR/AMDGPUDialect.h](AMDGPUDialect%5F8h%5Fsource.html)"#include "[mlir/Dialect/Affine/ViewLikeInterfaceUtils.h](ViewLikeInterfaceUtils%5F8h%5Fsource.html)"#include "[mlir/Dialect/MemRef/IR/MemRef.h](mlir%5F2Dialect%5F2MemRef%5F2IR%5F2MemRef%5F8h%5Fsource.html)"#include "[mlir/Dialect/MemRef/Utils/MemRefUtils.h](Dialect%5F2MemRef%5F2Utils%5F2MemRefUtils%5F8h%5Fsource.html)"#include "[mlir/Transforms/WalkPatternRewriteDriver.h](WalkPatternRewriteDriver%5F8h%5Fsource.html)"#include "llvm/ADT/TypeSwitch.h"#include "mlir/Dialect/AMDGPU/Transforms/Passes.h.inc"
Go to the source code of this file.
| Classes | |
|---|---|
| class | mlir::amdgpu::impl::AmdgpuFoldMemRefOpsPassBase< DerivedT > |
| struct | mlir::amdgpu::AmdgpuFoldMemRefOpsPass |
| struct | mlir::amdgpu::FoldMemRefOpsIntoGatherToLDSOp |
| Namespaces | |
|---|---|
| namespace | mlir |
| Include the generated interface declarations. | |
| namespace | mlir::amdgpu |
| namespace | mlir::amdgpu::impl |
| Macros | |
|---|---|
| #define | GEN_PASS_DEF_AMDGPUFOLDMEMREFOPSPASS |
| Functions | |
|---|---|
| std::unique_ptr<::mlir::Pass > | mlir::amdgpu::impl::createAmdgpuFoldMemRefOpsPass () |
| std::unique_ptr<::mlir::Pass > | mlir::amdgpu::createAmdgpuFoldMemRefOpsPass () |
| 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.