MLIR  20.0.0git
Public Attributes | List of all members
mlir::linalg::ElementwiseOpFusionResult Struct Reference

Fuse two linalg.generic operations that have a producer-consumer relationship captured through fusedOperand. More...

#include "mlir/Dialect/Linalg/Transforms/Transforms.h"

Public Attributes

OperationfusedOp
 
llvm::DenseMap< Value, Valuereplacements
 

Detailed Description

Fuse two linalg.generic operations that have a producer-consumer relationship captured through fusedOperand.

The method expects that areElementwiseOpsFusable returns true for the given fusedOperand.

Definition at line 502 of file Transforms.h.

Member Data Documentation

◆ fusedOp

Operation* mlir::linalg::ElementwiseOpFusionResult::fusedOp

Definition at line 503 of file Transforms.h.

Referenced by mlir::linalg::fuseElementwiseOps().

◆ replacements

llvm::DenseMap<Value, Value> mlir::linalg::ElementwiseOpFusionResult::replacements

Definition at line 504 of file Transforms.h.

Referenced by mlir::linalg::fuseElementwiseOps().


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