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

Public Member Functions

 BankReturnPattern (MLIRContext *context, DenseMap< Value, SmallVector< Value > > &memoryToBanks)
 
LogicalResult matchAndRewrite (func::ReturnOp returnOp, PatternRewriter &rewriter) const override
 

Private Attributes

DenseMap< Value, SmallVector< Value > > & memoryToBanks
 

Detailed Description

Definition at line 580 of file MemoryBanking.cpp.

Constructor & Destructor Documentation

◆ BankReturnPattern()

BankReturnPattern::BankReturnPattern ( MLIRContext *  context,
DenseMap< Value, SmallVector< Value > > &  memoryToBanks 
)
inline

Definition at line 581 of file MemoryBanking.cpp.

Member Function Documentation

◆ matchAndRewrite()

LogicalResult BankReturnPattern::matchAndRewrite ( func::ReturnOp  returnOp,
PatternRewriter &  rewriter 
) const
inlineoverride

Definition at line 586 of file MemoryBanking.cpp.

References memoryToBanks.

Member Data Documentation

◆ memoryToBanks

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

Definition at line 619 of file MemoryBanking.cpp.

Referenced by matchAndRewrite().


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