CIRCT 24.0.0git
Loading...
Searching...
No Matches
BankAffineLoadPattern Struct Reference
Inheritance diagram for BankAffineLoadPattern:
Collaboration diagram for BankAffineLoadPattern:

Public Member Functions

 BankAffineLoadPattern (MLIRContext *context, DenseMap< Value, SmallVector< Value > > &memoryToBanks, DenseSet< Value > &oldMemRefVals)
LogicalResult matchAndRewrite (mlir::affine::AffineLoadOp loadOp, PatternRewriter &rewriter) const override

Private Attributes

DenseMap< Value, SmallVector< Value > > & memoryToBanks
DenseSet< Value > & oldMemRefVals

Detailed Description

Definition at line 468 of file MemoryBanking.cpp.

Constructor & Destructor Documentation

◆ BankAffineLoadPattern()

BankAffineLoadPattern::BankAffineLoadPattern ( MLIRContext * context,
DenseMap< Value, SmallVector< Value > > & memoryToBanks,
DenseSet< Value > & oldMemRefVals )
inline

Definition at line 470 of file MemoryBanking.cpp.

References context, memoryToBanks, and oldMemRefVals.

Member Function Documentation

◆ matchAndRewrite()

LogicalResult BankAffineLoadPattern::matchAndRewrite ( mlir::affine::AffineLoadOp loadOp,
PatternRewriter & rewriter ) const
inlineoverride

Member Data Documentation

◆ memoryToBanks

DenseMap<Value, SmallVector<Value> >& BankAffineLoadPattern::memoryToBanks
private

Definition at line 552 of file MemoryBanking.cpp.

Referenced by BankAffineLoadPattern(), and matchAndRewrite().

◆ oldMemRefVals

DenseSet<Value>& BankAffineLoadPattern::oldMemRefVals
private

Definition at line 553 of file MemoryBanking.cpp.

Referenced by BankAffineLoadPattern(), and matchAndRewrite().


The documentation for this struct was generated from the following file: