MLIR
20.0.0git
|
#include "mlir/Analysis/SliceAnalysis.h"
Public Types | |
using | TransitiveFilter = std::function< bool(Operation *)> |
Type of the condition to limit the propagation of transitive use-defs. More... | |
Public Member Functions | |
SliceOptions () | |
SliceOptions (TransitiveFilter filter) | |
Public Attributes | |
TransitiveFilter | filter = nullptr |
bool | inclusive = false |
Include the top level op in the slice. More... | |
Definition at line 24 of file SliceAnalysis.h.
using mlir::SliceOptions::TransitiveFilter = std::function<bool(Operation *)> |
Type of the condition to limit the propagation of transitive use-defs.
This can be used in particular to limit the propagation to a given Scope or to avoid passing through certain types of operation in a configurable manner.
Definition at line 29 of file SliceAnalysis.h.
|
inline |
Definition at line 36 of file SliceAnalysis.h.
|
inline |
Definition at line 37 of file SliceAnalysis.h.
TransitiveFilter mlir::SliceOptions::filter = nullptr |
Definition at line 30 of file SliceAnalysis.h.
Referenced by computeBackwardSlice(), dependsOnCarriedVals(), and getOpToConvert().
bool mlir::SliceOptions::inclusive = false |
Include the top level op in the slice.
Definition at line 33 of file SliceAnalysis.h.
Referenced by computeBackwardSlice().