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

Public Member Functions

LogicalResult matchAndRewrite (PosPartialProductOp op, PatternRewriter &rewriter) const override
 

Detailed Description

Definition at line 307 of file DatapathFolds.cpp.

Member Function Documentation

◆ matchAndRewrite()

LogicalResult ReduceNumPosPartialProducts::matchAndRewrite ( PosPartialProductOp  op,
PatternRewriter &  rewriter 
) const
inlineoverride

Definition at line 312 of file DatapathFolds.cpp.

References calculateNonZeroBits(), and hw.ConstantOp::create().


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