CIRCT
20.0.0git
|
This pass rewrites memory accesses that have a width mismatch. More...
#include <CalyxLoweringUtils.h>
Public Member Functions | |
RewriteMemoryAccesses (MLIRContext *context, LogicalResult &resRef, PatternApplicationState &patternState, calyx::CalyxLoweringState &cls) | |
LogicalResult | partiallyLower (calyx::AssignOp assignOp, PatternRewriter &rewriter) const override |
Public Member Functions inherited from circt::calyx::PartialLoweringPattern< calyx::AssignOp > | |
PartialLoweringPattern (MLIRContext *ctx, LogicalResult &resRef, PatternApplicationState &patternState) | |
LogicalResult | matchAndRewrite (calyx::AssignOp op, PatternRewriter &rewriter) const override |
Private Attributes | |
calyx::CalyxLoweringState & | cls |
This pass rewrites memory accesses that have a width mismatch.
Such mismatches are due to index types being assumed 32-bit wide due to the lack of a width inference pass.
Definition at line 775 of file CalyxLoweringUtils.h.
|
inline |
Definition at line 778 of file CalyxLoweringUtils.h.
|
overridevirtual |
Implements circt::calyx::PartialLoweringPattern< calyx::AssignOp >.
Definition at line 697 of file CalyxLoweringUtils.cpp.
References cls, and circt::calyx::CalyxLoweringState::getState().
|
private |
Definition at line 787 of file CalyxLoweringUtils.h.
Referenced by partiallyLower().