Enzyme main
Loading...
Searching...
No Matches
FwdInpOpt< SourceOp > Class Template Referencefinal

Modifies input activites for the FwdDiffOp The activity promotion flow is as follows (depending on variable use): More...

Inheritance diagram for FwdInpOpt< SourceOp >:
Collaboration diagram for FwdInpOpt< SourceOp >:

Public Member Functions

LogicalResult matchAndRewrite (SourceOp uop, PatternRewriter &rewriter) const override
 

Detailed Description

template<typename SourceOp>
class FwdInpOpt< SourceOp >

Modifies input activites for the FwdDiffOp The activity promotion flow is as follows (depending on variable use):

      -----> enzyme_dupnoneed
     /              /

enzyme_dup / \ v ------> enzyme_const

Definition at line 258 of file Ops.cpp.

Member Function Documentation

◆ matchAndRewrite()

template<typename SourceOp >
LogicalResult FwdInpOpt< SourceOp >::matchAndRewrite ( SourceOp uop,
PatternRewriter & rewriter ) const
inlineoverride

Definition at line 262 of file Ops.cpp.

References isMutable().


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