MLIR  20.0.0git
Public Attributes | List of all members
mlir::scf::SCFTileAndFuseOptions::ControlFnResult Struct Reference

Control function to check if a slice needs to be fused or not, The control function receives 1) the slice along which fusion is to be done, 2) the producer value that is to be fused 3) a boolean value set to true if the fusion is from a destination operand. More...

#include "mlir/Dialect/SCF/Transforms/TileUsingInterface.h"

Public Attributes

bool yieldProducerReplacement = false
 Set to true if the loop nest has to return a replacement value for the fused producer. More...
 

Detailed Description

Control function to check if a slice needs to be fused or not, The control function receives 1) the slice along which fusion is to be done, 2) the producer value that is to be fused 3) a boolean value set to true if the fusion is from a destination operand.

The control function returns an std::optiona<ControlFnResult>. If the return value is std::nullopt, that implies no fusion is to be performed along that slice.

Definition at line 139 of file TileUsingInterface.h.

Member Data Documentation

◆ yieldProducerReplacement

bool mlir::scf::SCFTileAndFuseOptions::ControlFnResult::yieldProducerReplacement = false

Set to true if the loop nest has to return a replacement value for the fused producer.

Definition at line 142 of file TileUsingInterface.h.


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