|
| | IMDCEPortReduction (MLIRContext *context) |
| |
| std::string | getName () const override |
| | Return a human-readable name for this reduction pattern.
|
| |
| | PassReduction (MLIRContext *context, std::unique_ptr< Pass > pass, bool canIncreaseSize=false, bool oneShot=false) |
| |
| uint64_t | match (Operation *op) override |
| | Check if the reduction can apply to a specific operation.
|
| |
| LogicalResult | rewrite (Operation *op) override |
| | Apply the reduction to a specific operation.
|
| |
| std::string | getName () const override |
| | Return a human-readable name for this reduction pattern.
|
| |
| bool | acceptSizeIncrease () const override |
| | Return true if the tool should accept the transformation this reduction performs on the module even if the overall size of the output increases.
|
| |
| bool | isOneShot () const override |
| | Return true if the tool should not try to reapply this reduction after it has been successful.
|
| |
| virtual | ~Reduction () |
| |
| virtual void | beforeReduction (mlir::ModuleOp) |
| | Called before the reduction is applied to a new subset of operations.
|
| |
| virtual void | afterReduction (mlir::ModuleOp) |
| | Called after the reduction has been applied to a subset of operations.
|
| |
| virtual void | matches (Operation *op, llvm::function_ref< void(uint64_t, uint64_t)> addMatch) |
| | Collect all ways how this reduction can apply to a specific operation.
|
| |
| virtual LogicalResult | rewriteMatches (Operation *op, ArrayRef< uint64_t > matches) |
| | Apply a set of matches of this reduction to a specific operation.
|
| |
| void | notifyOpErased (Operation *op) |
| |
Definition at line 2666 of file FIRRTLReductions.cpp.
◆ IMDCEPortReduction()
| IMDCEPortReduction::IMDCEPortReduction |
( |
MLIRContext * |
context | ) |
|
|
inline |
◆ getName()
| std::string IMDCEPortReduction::getName |
( |
| ) |
const |
|
inlineoverridevirtual |
The documentation for this struct was generated from the following file: