CIRCT 21.0.0git
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
BankAffineLoadPattern Struct Reference
Inheritance diagram for BankAffineLoadPattern:
Inheritance graph
[legend]
Collaboration diagram for BankAffineLoadPattern:
Collaboration graph
[legend]

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.

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 matchAndRewrite().

◆ oldMemRefVals

DenseSet<Value>& BankAffineLoadPattern::oldMemRefVals
private

Definition at line 553 of file MemoryBanking.cpp.

Referenced by matchAndRewrite().


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